accepted status.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.| Field | Type | Description |
|---|---|---|
request-id | string | A unique identifier generated by requesting Merchant. |
| Field | Type | Description |
|---|---|---|
amount | String | Amount of the Transaction. |
transactionId | String | Transaction Id generated during create purchase Transaction process. |
currency | String | Currency code in ISO 4217 alphabetic code. Currency code should be the same as in purchase Transaction. |
merchantTransactionId | String | Origin Id of the transaction provided by Merchant. |
source.channel | String | Default to PTS_ZEN_API |
{
"comment":"Product failure",
"amount":"123.45",
"transactionId":"43d435a2-1abc-4321-8fd1-432148712345",
"currency":"USD",
"merchantTransactionId":"99beb187-f8a3-99b8-9ef8-b31180358dd3",
"originMerchantTransactionId":"99beb187-f8a3-99b8-9ef8-b31180358dd3",
"source":{
"channel":"PTS_ZEN_API"
}
}{
"id":"497f6eca-6276-4993-bfeb-53cbbbba6f08",
"parentTransactionId":"43d435a2-1abc-4321-8fd1-432148712345",
"merchantTransactionId":"99beb187-f8a3-99b8-9ef8-b31180358dd3",
"originMerchantTransactionId":"99beb187-f8a3-99b8-9ef8-b31180358dd3",
"amount":"123.45",
"currency":"USD",
"authorization":{
"amount":"123.45",
"currency":"USD"
},
"createdAt":"2024-12-30T20:48:22.123Z",
"modifiedAt":"2024-12-30T20:48:22.123Z",
"type":"TRT_REFUND",
"status":"ACCEPTED",
"paymentChannel":"PCL_CARD"
}