Files
payments/internal/api/services/payment_service_users_update_link.go
Paul NicolasandGitHub 64118f2efa feat(*): add powens bank bridge (#509)
* feat(*): add powens bank bridge

* fix tests+tidy

* fixes after code rabbit review

* fix build

* fix tests

* fix connection state

* fix complete user link in case of update link

* fixes after review

* fix precom

* fix tests
2025-08-12 08:07:22 +00:00

18 lines
608 B
Go

package services
import (
"context"
"github.com/formancehq/payments/internal/models"
"github.com/google/uuid"
)
func (s *Service) PaymentServiceUsersUpdateLink(ctx context.Context, applicationName string, psuID uuid.UUID, connectorID models.ConnectorID, connectionID string, idempotencyKey *uuid.UUID, ClientRedirectURL *string) (string, string, error) {
attemptID, link, err := s.engine.UpdatePaymentServiceUserLink(ctx, applicationName, psuID, connectorID, connectionID, idempotencyKey, ClientRedirectURL)
if err != nil {
return "", "", handleEngineErrors(err)
}
return attemptID, link, nil
}