ZEN transfers API
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • API reference
  • Merchant panel
  • Brandbook
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • API reference
  • Merchant panel
  • Brandbook
  1. Manage payment drafts
  • Overview
  • Dictionary
  • Environments
  • Authentication
    • mTLS
    • API key
  • Notifications
    • About
  • Information about accounts
    • Get the list of accounts
    • Get account details
  • Payment management
    • About
    • Calculation of available channels, fees and payment limits
    • Get the list of purpose codes
    • Create a payment
    • Get payment details
  • Manage payment drafts
    • About
    • Create a draft payment
    • Get the draft list
    • Get payment draft details
    • Delete a saved payment draft
  • Transaction History Management
    • Get payment history on account
    • Get payment confirmation
  1. Manage payment drafts

Get payment draft details

payment drafts.jpg
Endpoint is used to get draft payment details by its id.
1
Create a GET request
WARNING
Request header with Authorization parameter is obliged for all requests sent to ZEN.COM API. Authorization value is the apiKey parameter which is generated and provided by ZEN.COM to the Client. This key is unique to each Customer and should not be shared or used by third parties.
Create a GET request.
Path parameters
ParameterDescriptionTypeRequired
paymentIdunique draft idstring ($uuid)yes
💡
Example of JSON
2
Send the request
Send the GET request to:
1.
test environment: https://api-services.zen-test.com/payments/v1.0/{paymentId}/drafts
2.
production environment: https://api-services.zen.com/payments/v1.0/{paymentId}/drafts
3
Receive the ZEN.COM response
Receive the ZEN.COM response.
Parameters
ParameterDescriptionTypeNullable
iddraft idstring ($uuid)no
amount.valuepayment amountnumber ($double)no
amount.currencypayment currencystring (ISO 4217 standard)no
fees.amount.valuepayment fee amountnumber ($double)no
fees.amount.currencypayment fee currencystring (ISO 4217 standard)no
fees.namefee nameenum STANDARD_FEE, ADDITIONAL_FEEno
fees.typefee typestring
chargeTypecharge typeenum SHA, OUR, LOCAL, STANDARD, INSTANTyes
titletitlestringno
channelchannelenum SWIFT, SEPA, LOCALno
purposeCodethe purpose for which the payment is made, required for BH, AE, CN countriesrequired for payments to AE, BH, CN countriesyes
createdAtcreation datestring ($datetime) yyyy-MM-dd'T'HH:mm:ssXno
receiver.firstNamereceiver's first namestringyes if exists then companyName empty
receiver.lastNamereceiver's last namestringyes if exists then companyName empty
receiver.companyNamereceiver's company namestringyes if exists then firstName and lastName empty
receiver.typereceiver typeenum INDIVIDUAL, BUSINESSno
receiver.accountNumberreceiver's account numberstringno
receiver.bicbicstringyes
receiver.routingCoderouting codestringyes
receiver.routingCodeTyperouting code typeenum SORT_CODEyes
receiver.address.cityreceiver's citystringno
receiver.address.postCodereceiver's post codestringno
receiver.address.addressLinereceiver's addressstringno
receiver.address.countryreceiver's countystring (two-letter ISO country code)no
senderAccountIdid of the sender's account from which the payment is ordered`string ($uuid)no
💡
Example response
{
   "id":"31aa86e4-7303-4d1c-b18e-227993501148",
   "amount":{
      "value":"1.490000",
      "currency":"GBP"
   },
   "fees":[
      {
         "amount":{
            "value":"0.420000",
            "currency":"GBP"
         },
         "name":"STANDARD_FEE",
         "type":"STANDARD",
         "chargeType":"STANDARD"
      }
   ],
   "chargeType":null,
   "title":"ZlkcdLkb7A",
   "channel":"LOCAL",
   "purposeCode":null,
   "createdAt":"2024-07-01T11:38:31Z",
   "receiver":{
      "firstName":"OBRlw5wPCP",
      "lastName":"30V3yqlW1I",
      "companyName":null,
      "type":"INDIVIDUAL",
      "accountNumber":"13205093",
      "bic":null,
      "routingCodeType":"SORT_CODE",
      "routingCode":"406885",
      "address":{
         "city":"fkT7q6jUqN",
         "postCode":"p6tFES6RnU",
         "addressLine":"WucBE6K9Ot",
         "country":"GB"
      }
   },
   "senderAccountId":"26681bc6-7888-4c0b-a7da-e29c60aa7c46"
}
Errors
HTTP codeBusiness codeDescription
400VALIDATION_ERRORthe data has not been validated
403FORBIDDENno access to the resource
500INTERNAL_SERVER_ERRORserver error, please contact ZEN
💡
Example error response
{
   "error":{
      "code":"INTERNAL_SERVER_ERROR",
      "message":"Unexpected error. Contact ZEN"
   }
}
Modified at 2026-03-17 14:26:30
Previous
Get the draft list
Next
Delete a saved payment draft
Built with