Skip to content

Add accounts to a client

Request

Path
clientIdstring, (uuid)required

The id of the client

Body

The list of clients to add

Array [
accountNumberstringrequired

The account number, must be unique for the client.

currencystringrequired

The currency of the account. 3-letter ISO currency code.

descriptionstringrequired

Description of the account.

bankAccountNumberstring

Optional bank account number associated with the account.

]
[ { "accountNumber": "string", "currency": "string", "description": "string", "bankAccountNumber": "string" } ]

Responses

OK

Bodyapplication/json
successbooleanrequired

Indicates whether the request was successful

errorstring or null

Error message, if the request was not successful

accountsArray of objects or null(AccountDto)

List of the added accounts

Response
{ "success": true, "error": "string", "accounts": [ { … } ] }