Create internal account
Use case
Here we will review how to set up an bank technical account - internal account.
Internal account type
"accountTypeCode": "INTERNAL"
The name of the account holder is Trevor Harry Tuum
"personName": "Trevor Harry Tuum"
For the internal accounts, use the internal customer group
"customerGroupCode": "INTERNAL"
For the internal accounts, use the internal pricelist
"priceListTypeCode": "INTERNAL"
Trevor's residency country is the Great Britain
"residencyCountryCode": "GB"
The internal account currency is euro
"currencyCode": "EUR"
Sample API call
To create an internal account, make the following API call.
https://account-api.sandbox.tuumplatform.com/api/v4/persons/{personId}/accounts
Sample request
Below is an example request body of the API call for creating an internal account.
{
"accountTypeCode": "INTERNAL",
"personName": "Trevor Harry Tuum",
"residencyCountryCode": "GB",
"customerGroupCode": "INTERNAL",
"priceListTypeCode": "INTERNAL",
"currencyCode": "EUR"
}
Sample response
Below you find an example response body to the API call above.
Result
The outcome of the API call is the complete set of account data. Including the parameters generated by the Tuum system:
accountId": "ID-1282
A unique identifier is assigned to the new account.
"statusCode": "ACTIVE"
The new account is created and activated.
"iban": "XX54XXXX99999000000000000001257"
The IBAN assigned to the new account.
"bic": "ICECLOUDXXX"
The BIC assigned to the new account.
Last updated
Was this helpful?