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. Payment management
  • 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. Payment management

Get payment details

payments_management.jpg
Endpoint is used to get payment or refund details using the specified payment 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 payment 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}
2.
production environment: https://api-services.zen.com/payments/v1.0/{paymentId}
3
Receive the ZEN.COM response
Receive the ZEN.COM response.
Parameters
ParameterDescriptionTypeNullable
idpayment idstring ($uuid)no
titletitlestringno
createdAtcreation datestring ($datetime) mask yyyy-MM-dd'T'HH:mm:ssXno
lastModifiedAtmodification datestring ($datetime) mask yyyy-MM-dd'T'HH:mm:ssXno
bookedAtbooked datestring ($datetime) mask yyyy-MM-dd'T'HH:mm:ssXyes
statusstatusenum IN_PROGRESS, SETTLED, REJECTEDno
directiondirectionenum INCOMING, OUTGOINGno
transactionTypetransaction typestringno
amount.valuepayment amountnumber ($double)no
amount.currencypayment currencystring (ISO 4217 standard)no
senderFees.amount.valuefee amountnumber ($double)no
senderFees.amount.currencycurrencystring (ISO 4217 standard)no
`senderFees.namefee name`enum STANDARD_FEE, ADDITIONAL_FEEno
`senderFees.typefee type`stringno
receiverFees.amount.valuefee amountnumber ($double)no
receiverFees.amount.currencycurrency amountstring (ISO 4217 standard)no
receiverFees.namefee nameenum STANDARD_FEE, ADDITIONAL_FEEno
receiverFees.typefee typestringno
relatedTransactionoriginal transaction IDstringyes
channelchannelenum SWIFT, SEPA, LOCALno
chargeTypecharge typeenum SHA, OUT, LOCAL, STANDARD, INSTANTyes
purposeCodethe purpose for which the payment is made, required for BH, AE, CN countriesstringyes
sender.namesender's namestringno
sender.countrysender's countrystring (two-letter ISO country code)no
sender.addresssender's addressstringyes
sender.accountNumbersender's account numberstringno
sender.bicbic the senderstringyes
sender.routingCodesender's routing codestringyes
sender.routingCodeTypesender's code routing typeenum SORT_CODEyes
receiver.namereceiver's namestringno
receiver.countryreceiver's countrystring (two-letter ISO country code)no
receiver.addressreceiver's addressstringyes
receiver.accountNumberreceiver's account numberstringno
receiver.bicbic the receiverstringyes
receiver.routingCodereceiver's routing codestringyes
receiver.routingCodeTypereceiver's code routing typeenum SORT_CODEyes
relatedTransactionID of related transactionstringno
💡
Example response
{
   "id":"e7688140-657c-44dc-9139-b3602893bed6",
   "title":"2wA5ZyrFFV",
   "createdAt":"2024-07-22T08:39:46Z",
   "lastModifiedAt":"2024-07-22T08:39:47Z",
   "bookedAt":null,
   "status":"IN_PROGRESS",
   "direction":"OUTGOING",
   "transactionType":"PAYMENT",
   "amount":{
      "value":"1.000000",
      "currency":"GBP"
   },
   "senderFees":[
      {
         "amount":{
            "value":"0.420000",
            "currency":"GBP"
         },
         "name":"STANDARD_FEE",
         "type":"STANDARD"
      }
   ],
   "receiverFees":[
      {
         "amount":{
            "value":"0.000000",
            "currency":"GBP"
         },
         "name":"STANDARD_FEE",
         "type":"STANDARD"
      }
   ],
   "channel":"LOCAL",
   "chargeType":"STANDARD",
   "purposeCode":null,
   "sender":{
      "name":"Jacques Stoltenberg",
      "country":"AU",
      "address":"3583 Rex Neck Apt. 268 8316 West Robby",
      "accountNumber":"LT833130010196284123",
      "bic":"BZENLT22XXX",
      "routingCode":null,
      "routingCodeType":null
   },
   "receiver":{
      "name":"M2gIqhc9gN pJ91VIcY60",
      "country":"GB",
      "address":"2iN9vVrt00",
      "accountNumber":"53060604",
      "bic":null,
      "routingCode":"922469",
      "routingCodeType":"SORT_CODE"
   }
}
Errors
HTTP codeBusiness codeDescription
400VALIDATION_ERRORthe data has not been validated
403FORBIDDENno access to the resource
404ACCOUNT_NOT_FOUNDno account with the specified accountId was found
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:25:12
Previous
Create a payment
Next
About
Built with