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

Delete a saved payment draft

payment drafts.jpg
Endpoint allows you to delete a saved draft payment that has been saved for later approval by the specified id.
1
Create a DELETE 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 DELETE request.
Path parameters
ParameterDescriptionTypeRequired
paymentIdunique draft idstring ($uuid)yes
💡
Example of JSON
2
Send the request
Send the DELETE 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 (204).
💡
Example response
no body
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:43
Previous
Get payment draft details
Next
Get payment history on account
Built with