mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
12 lines
294 B
Go
12 lines
294 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/models"
|
|
)
|
|
|
|
func (s *Service) BankAccountsCreate(ctx context.Context, bankAccount models.BankAccount) error {
|
|
return newStorageError(s.storage.BankAccountsUpsert(ctx, bankAccount), "cannot create bank account")
|
|
}
|