Receive the ZEN.COM response
Receive the
ZEN.COM response.
| Parameter | Description | Type | Nullable |
|---|
data.id | draft id | string ($uuid) | no |
data.amount.value | payment amount | number ($double) | no |
data.amount.currency | currency amount | string (ISO 4217 standard) | no |
title | title | string | no |
createdAt | creation date | string ($datetime) yyyy-MM-dd'T'HH:mm:ssX | no |
receiver.firstName | receiver's first name | string | yes |
receiver.lastName | receiver's last name | string | yes |
receiver.companyName | receiver's company name | string | yes |
receiver.type | receiver's type | enum INDIVIDUAL, BUSINESS | no |
receiver.accountNumber | receiver's account number | string | no |
receiver.bic | bic | string | yes |
receiver.routingCode | routing code | string | yes |
receiver.routingCodeType | routing code type | enum SORT_CODE | yes |
senderAccountId | id of the sender's account from which the payment is ordered | string ($uuid) | no |
meta.lastEntryId | the last id returned in the response | string ($uuid) | yes |
meta.hasNext | the field informs whether it is possible to get further entries | boolean | no |
meta.direction | direction | enum DESC, ASC | no |
meta.sortedBy | sorting | string | no |
{
"drafts":[
{
"id":"16606098-a231-493d-ac06-dee54e030095",
"amount":{
"value":"0.350000",
"currency":"EUR"
},
"title":"V8wxz1LncY",
"createdAt":"2024-06-27T12:27:30Z",
"receiver":{
"firstName":"7d03lsOQno",
"lastName":"pom3RCQfky",
"companyName":null,
"type":"INDIVIDUAL",
"accountNumber":"PL09518547941553423933476296",
"bic":"BPKOPLPW",
"routingCodeType":null,
"routingCode":null
},
"senderAccountId":"db29ac40-f2ab-4e60-a311-5171ed8f42f1"
}
]
}
| 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"
}
}