ZEN API documentation
Go to zen.comGo to myZEN.com
Documentation
  • Plugin integration
  • Checkout integration
  • API reference
  • Merchant panel
  • Brandbook
Go to zen.comGo to myZEN.com
Documentation
  • Plugin integration
  • Checkout integration
  • API reference
  • Merchant panel
  • Brandbook
  1. Integration
  • About ZEN
    • First steps with ZEN
    • Who we are
    • What we provide
    • How we provide
  • Introduction
    • Definitions
    • About API integration
    • Revenue strams
    • Environments
    • Authorization & Authentication
    • Payment methods
    • Payment process
    • Currencies
    • Languages
  • Account registration & configuration
    • Before you begin
    • Registration
    • Configuration
    • Merchant's panel
    • Payments setup
    • Locating Transactions in my.zen.com
    • Finding settlements
  • Features
    • Available features
    • 3-Domain Secure (3DS)
    • Account Funding Transactions (AFT)
    • Address Verification Service
    • Authorization fee
    • Card widget
    • Cashback
    • Currency Conversion Service
    • Fraud collector (fingerPrintId)
    • Instant Payment Notification (IPN)
    • Payment Link
    • Shop logo on ZEN.COM checkout
    • Reports
  • Integration
    • Response codes
    • Error codes
    • Prepare the communication
    • Available Payment methods
    • Purchase Transaction
    • Refund Transaction
    • Payout Transaction
    • Transaction status check
    • Saving and tokenizing cards
    • One-click card Payments
    • One-click Google Pay Payments
    • One-click Apple Pay Payments
    • Customers and cards management
  1. Integration

Prepare the communication

integration code.jpg
Before sending your first API request to us, please familiarize yourself with the communication guidelines for ZEN.COM, which we have outlined below. Adhering to the rules specified will ensure a quick and smooth integration with our Payment system and its individual features.
Key principles of communication with ZEN.COM API:
1
JSON format
All request should be prepared as JSON and send with application/json header. Mandatory parameters that you must send to ZEN.COM when initiating a API call varies depending on type of request and endpoint address. We recommend that all parameters listed in our API reference documentation be sent in API call.
WARNING
The API is case-sensitive at every level, both in parameter names and parameter values. Spaces in parameter names and special characters are not allowed.
WARNING
The values of the transmitted parameters should be encoded in UTF-8, along with handling the transport protocol in compliance with standard HTTPs service calls.
2
Allowed HTTPs requests
Communication with the ZEN.COM API is based on sending (for requests) and receiving (for responses) messages in a properly formatted structure to and from predefined endpoints. Allowed HTTPs requests:
TypeDescription
POSTTo create a resource
PATCHTo update a resource
GETTo get a resource or a list of resources
DELETETo delete a resource
3
Available endpoints
Each functionality available within the ZEN.COM API is assigned to a specific endpoint with its unique address. Note that endpoints may require different types of HTTPS requests and can include specific, unique IDs that must be passed in the PATH.
INFO
You can find the full list of functionalities (endpoints) available for Merchants in our API Reference documentation.
4
Required parameters
Depending on the HTTPs request type and the specific functionality (endpoint), various parameters and methods of data transmission may be required. Before sending a request to the ZEN.COM API, ensure that it includes all required parameters, uses the correct HTTP request type, and follows the appropriate syntax.
Request header with Authorization parameter is obliged for all requests sent to ZEN.COM API. Authorization value is the Terminal API key parameter you can find in your my.zen.com Merchant portal.
The address of each endpoint, the type of HTTPS request, and the designation of all required parameters in the request are detailed in our API Reference documentation.
INFO
Note that some required parameters may vary depending on the values provided in the objects. For example, different parameters are required for Card OneClick Transactions, others for BLIK Transactions, and others for Card Recurring Data Transactions. Please refer to paymentSpecificData parameter used in https://api.zen.com/v1/transactions to get all required parameters depending on Payment channel / Payment method.
Certain Payment methods / Payment channels necessitate the provision of additional parameters at the initiation of the Transaction, beyond those specified above. Please consult the list of Payment methods / Payment channels that require these additional parameters in order for the Transaction to be successfully registered. Failure to provide the required parameters at the start of the transaction will result in an error being returned by our system due to the absence of the necessary parameters.
Polish Pay-by-link (PBL)
PayPo Poland
PayPo Romania
5
Correct actions order
It is important to maintain the correct sequence when sending requests to the ZEN.COM API. For example, for a one click Payments, or recurring card Transaction, you must first create a Customer, save a card assigned to the Customer, and tokenize it before sending a request to the Create Transaction endpoint.
Similarly, to execute a Capture Transaction, it is necessary to first send a request to the Create Transaction endpoint and get the valid confirmation status.
6
Mandatory features
API integration requires some mandatory features, some of them depends on the country context, type of Transaction or type of Payment method / Payment channel. For example, for all types of Transactions Fraud collector feature is mandatory. Full list of mandatory / optional features can be found here
Modified at 2025-05-05 07:14:00
Previous
Error codes
Next
Available Payment methods