POST
/
api
/
payments
/
v3
/
bank-accounts
Create a formance bank account object. This object will not be forwarded to the connector until you called the forwardBankAccount method.
curl --request POST \
  --url http://localhost:55001/api/payments/v3/bank-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "accountNumber": "<string>",
  "iban": "<string>",
  "swiftBicCode": "<string>",
  "country": "<string>",
  "metadata": {}
}'
{
  "data": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json

Created

The response is of type object.