Receive the ZEN.COM response
Receive the
ZEN.COM response. The
accountId returned in the response is used as the identifier of the account from which the payment is made.
| Parameter | Description | Type | Nullable |
|---|
accountId | unique account id | string ($uuid) | no |
productName | account type (related to its purpose) | string | no |
currencyCode | account currency | string (ISO 4217 standard) | no |
balance | accounting balance (not including account blockages) | number ($double) | no |
avaliableBalance | available balance (including account blockages) | number ($double) | no |
alias | account alias | string | yes |
accountNumbers.accountNumber | account number | string | yes |
accountNumbers.accountType | account type | string | yes |
accountNumbers.bic | bic | string | yes |
accountNumbers.routingCode | routing code | string | yes |
accountNumbers.routingCodeType | routing code type | string | yes |
[
{
"accountId":"db29ac40-f2ab-4e60-a311-5171ed8f42f1",
"productName":"Accounts for IND",
"currencyCode":"EUR",
"balance":"0.00",
"availableBalance":"0.00",
"alias":"ABCDE"
},
{
"accountId":"f19d2114-63ea-482b-b531-86b12deff6a9",
"productName":"Accounts for IND",
"currencyCode":"USD",
"balance":"0.00",
"availableBalance":"0.00",
"alias":null
},
{
"accountId":"3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productName":"string",
"currencyCode":"string",
"balance":0,
"availableBalance":0,
"alias":"string",
"accountNumbers":[
{
"accountNumber":"string",
"accountType":"string",
"bic":"string",
"routingCode":"string",
"routingCodeType":"string"
}
]
}
]
| HTTP code | Business code | Description |
|---|
| 400 | VALIDATION_ERROR | the data has not been validated |
| 403 | FORBIDDEN | no access to the resource |
| 500 | INTERNAL_SERVER_ERROR | server error, please contact ZEN |
{
"error":{
"code":"INTERNAL_SERVER_ERROR",
"message":"Unexpected error. Contact ZEN"
}
}