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 |
{
"accountId":"db29ac40-f2ab-4e60-a311-5171ed8f42f1",
"productName":"Accounts for IND",
"currencyCode":"EUR",
"balance":"0.00",
"availableBalance":"0.00",
"alias":"ABCDE"
}
| HTTP code | Business code | Description |
|---|
| 400 | VALIDATION_ERROR | the data has not been validated |
| 403 | FORBIDDEN | no access to the resource |
| 404 | ACCOUNT_NOT_FOUND | no account with the specified accountId was found |
| 500 | INTERNAL_SERVER_ERROR | server error, please contact ZEN |
{
"error":{
"code":"INTERNAL_SERVER_ERROR",
"message":"Unexpected error. Contact ZEN"
}
}