Skip to main content

Getting transaction information

Once transactions have been processed, you can retrieve information about them at different levels of detail, including:

  • Details on a specific transaction within an order.
  • Information about all transactions associated with a specific order.
  • Information about all transactions that took place during a specific time period.
  • A transaction register in JSON format.
  • Synchronous transaction export (including breakdown by sub merchants of split payments).

Details about a specific transaction​

To obtain information about a specific transaction within an order, you need to send a request with the GET HTTP method and include the following set of parameters:

ParameterTypeRequiredDescription
POS_IDUUID✅Merchant's identifier (POS_ID)
ORDER_IDString✅Merchant's order identifier
OPERATIONString✅Payment method, e.g. purchase, void, etc.

Here's an example of a request to obtain information about a transaction:

$ curl "https://cpay.tranzzo.com/api/v1/pos/${POS_ID}/orders/${ORDER_ID}/${OPERATION}" \
-H "X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:${SIGNATURE}"
caution

If an information request is made for a transaction with the Auth method, followed by an increase in the authorized amount through additional reservation (Incremental Auth), the response will include an additional parameter total_auth_amount containing information about the total amount of reservations made for this order.

total_auth_amount contains:

ParameterTypeRequiredDescription
original_amountNumberYesTotal amount (Auth amount plus all Incremental Auths amounts) without fees applied
processed_amountNumberTotal processed by PS amount (Auth amount plus all Incremental Auths amounts) with fees applied

Order and subscription information​

If you want to receive information about all transactions associated with a specific order (ORDER_ID), you need to send a request with the GET HTTP method and include the following set of parameters:

ParameterTypeRequiredDescription
POS_IDString✅Merchant's identifier (POS_ID)
ORDER_IDString✅Merchant's order identifier

Here's an example of a request to obtain information about all transactions of an order:

$ curl "https://cpay.tranzzo.com/api/v1/pos/${POS_ID}/orders/${ORDER_ID}" \
-H "X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:${SIGNATURE}"

When you send a request for transaction information associated with a specific order, the corresponding response will include an array of transactions linked to that order.

Here is an example response for two-step payments:

[
{
"payment_id": "c4939398-1dad-4b92-1c34-7f6802379180",
"order_id": "111999991",
"gateway_order_id": "6320ac9a-aaaa-4912-adb3-5bca2dd560fe",
"billing_order_id": "123",
"transaction_id": "4f98dc46-ffff-4ba7-a267-286fe7669894",
"pos_id": "6eb070d5-7fbe-1176-9488-c152b60dd346",
"mode": "direct",
"method": "auth",
"amount": 0.28,
"currency": "UAH",
"payway": "privat24",
"eci": "7",
"status": "success",
"status_code": "1000",
"status_description": "Transaction is successful.",
"cc_mask": "424242******4242",
"cc_token": "N2U0ZWExZjU5ZDEzNDqkZjg2YjBaOGYdN2VgZWFcOTYaT2FBaFBUekt6R3hzeDBPU2hO",
"cc_token_expiration": "2020-10-10T10:10:22",
"customer_id": "123",
"customer_phone": "+380999999999",
"created_at": "2018-10-10T10:10:10.100",
"processing_time": "2018-10-10T10:10:22.100",
"payload": "",
"bank_short_name": "Bank name"
},
{
"operation_id": "edf7605c-99a8-43be-a1a5-2e96ebac8512",
"payment_id": "c4939398-1dad-4b92-1c34-7f6802379180",
"order_id": "123",
"transaction_id": "4f98dc46-ffff-4ba7-a267-286fe7669894",
"pos_id": "6eb070d5-7fbe-1176-9488-c152b60dd346",
"mode": "direct",
"method": "capture",
"amount": 100,
"currency": "UAH",
"status": "success",
"status_code": "1000",
"status_description": "Transaction is successful.",
"created_at": "2018-10-10T10:11:11.100",
"processing_time": "2018-10-10T10:11:12.000"
}
]

Response example for recurring payments

{
"payment_id": "9b1392a5-d030-4e85-b02d-9b7191ea2a5e",
"order_id": "123",
"gateway_order_id": "9B39A076243EB3EBB0925EAA981763AC:158545961",
"billing_order_id": "11231231231",
"transaction_id": "a8d80c86-0c7b-41bc-b63d-1e78f80edcd9",
"pos_id": "dc728de1-51ef-4ef1-80f7-3b44b07b5667",
"mode": "direct",
"method": "purchase",
"amount": 1,
"currency": "UAH",
"description": "Order description",
"status": "success",
"status_code": "1000",
"status_description": "Transaction is successful",
"user_action_required": true,
"user_action_url": "http://secure.secure3d.net/s3st?a=start_3ds&tid=a8d81c860c7b41bcb65d1e78f80edcd923ac18d5dd1d4a37e6c7df7d5e4bec74ab5d790b",
"eci": "7",
"mcc": "4900",
"options_3ds": "supported",
"cc_mask": "424242******4242",
"cc_token": "ODJkZjBhNmY2OTMyNDJlN2wjMjFjfTQzOXU3ZDFhYzI6cWJmWHFmMHlzM3hYaXJMWEZv",
"cc_token_expiration": "2020-10-10T10:10:22",
"customer_id": "123",
"customer_ip": "194.183.171.239",
"customer_fname": "Tom",
"customer_lname": "Hanks",
"customer_email": "[email protected]",
"customer_phone": "+380999999999",
"customer_country": "UA",
"recurring": {
"id": "r7dAMIRmS~3nCiHVFpSC8",
"status": "init"
},
"result_url": "https://example.com/result",
"created_at": "2023-09-14T14:08:13.509",
"processed_at": "2023-09-14T14:08:16.112",
"payload": "sale=true",
"bank_short_name": "Bank name"
}

Similarly, you can get information about transactions of a subscription for recurring payments. In order to do so, send a GET request to the /api/v1/pos/:posId/recurring/:recurringId endpoint, where the value of the recurringId parameter should be the unique ID associated with the corresponding recurring payment subscription.

ParameterRequiredDescription
method✅Payment methods (only purchase or refund value is accepted)
status✅Transaction status

Information on all transactions over a specific time period​

To obtain information about all transactions carried out within a specific time frame, you need to create a request with the GET HTTP method and the following set of parameters:

Path parameters:

ParameterTypeRequiredDescription
POS_IDUUID✅Merchant's identifier (POS_ID)

Query parameters:

ParameterTypeRequiredDescription
startDateNumber✅Time from - UNIX timestamp
enddateNumber✅Time to - UNIX timestamp

Request example:

$ curl "https://cpay.tranzzo.com/api/v1/pos/${POS_ID}/transactions?startDate=${startDate}&enddate=${enddate}" \
-H "X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:${SIGNATURE}"

The date included in the request should be in Unix time format, for instance:

/api/v1/pos/${POS_ID}/transactions?startDate=1670120382000&enddate=1683721382000

The server will return an array of transactions that occurred during the requested period.

Response example:

{"projectId":"2a810802-d3ac-4aad-b4c7-74c54cba628e","orderId":"630428489","paymentId":"84f32e8c-6919-49c5-8353-25f6f7c4f371","amount":"1.00","currency":"UAH","method":"purchase","status":"pending","dateTime":"","authCode":"","rrnCode":"","description":"test description","payload":"","customerFee":"0.00","merchantFee":"1.07","paymentSystem":"","recipientCardMask":""}
{"projectId":"2a810802-d3ac-4aad-b4c7-74c54cba628e","orderId":"288558688","paymentId":"620694b9-8e49-42b7-b3cb-950b80529861","amount":"1.00","currency":"UAH","method":"purchase","status":"failure","dateTime":1683646963767,"authCode":"","rrnCode":"","description":"test description","payload":"","customerFee":"0.00","merchantFee":"1.07","paymentSystem":"VISA","recipientCardMask":""}
{"projectId":"2a810802-d3ac-4aad-b4c7-74c54cba628e","orderId":"1369031473","paymentId":"5ee8fb17-f0ec-4e2f-823f-8ffa205f0d7b","amount":"1.00","currency":"UAH","method":"purchase","status":"success","dateTime":1683646725585,"authCode":"","rrnCode":"4428573","description":"test description","payload":"","customerFee":"0.00","merchantFee":"1.07","paymentSystem":"DISCOVER","recipientCardMask":""}

Transaction register in JSON format​

You can also obtain a transaction register in JSON format filtered by time, status, and method, which includes the details of each payment specified in the request.

To generate a transaction register, you need to send a request using the POST HTTP method and the following set of parameters:

ParameterRequiredDescription
project_id✅Merchant's identifier (POS_ID)
start_date✅The start date of the period for which the data is required
end_date✅Period end date. The maximum period is 31 days
statusesArray of Transaction status
methodsPayment methods (auth, purchase, capture, void, p2p, credit, lookup, refund, dispute, recurrent)
transaction_detailsArray field with the parameters that are received for each of the transactions in report

Furthermore, you can specify a particular set of payment detail parameters that you want to include in the registry:

ParameterDefaultDescription
orderId✅Merchant's order identifier to be captured
paymentId✅Tranzzo payment identifier of primary operation
amount✅Transaction amount with fees applied
currency✅Transaction currency
method✅Payment methods
status✅Transaction status
dateTime✅Transaction date
cardMask✅Card mask
payway✅Payway name
customerFee✅Customer fee
merchantFee✅Merchant fee
entityNameEntity name
projectNameProject name
originalAmountTransaction amount with no fees applied
exchangeAmountExchange amount
exchangeCurrencyExchange currency
exchangeRateExchange rate
tokenizationKindTokenization kind
authCodeTransaction authentication code
rrnCodeRRN code
descriptionTransaction description
payloadField for custom data
paymentSystemPayment system
recipientCardMaskRecipient's card mask
reserveAmountRolling reserve amount
receiverNameName of sub merchant in split transaction
receiverAmountAmount paid to sub merchant in split transaction
receiverFeeFee amount paid by sub merchant in split transaction
info

Note: if you do not include a list of parameters that should be in the transaction register, the register will be created with default parameters.

Obtaining the transaction register involves two stages:

  1. Send a request to obtain the identifier of the generated registry.
  2. Send another request to obtain the transaction register itself in JSON format using the previously obtained identifier.

Here's an example request to create a transaction register:

$ curl --location --request POST 'https://api.tranzzo.com/streaming-report/start' \
--header 'X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:${SIGNATURE}' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_id": "064ec3f8-8abb-414b-9eb3-49d977213967",
"start_date": "2022-09-01T12:00:03.007+00:00",
"end_date": "2022-09-30T23:58:03.007+00:00",
"statuses": [ "success", "pending", "failure", "init" ],
"methods": [
"purchase",
"auth",
"capture",
"void",
"p2p",
"credit",
"lookup",
"refund",
"dispute"
],
"transaction_details": [
"projectId",
"orderId",
"paymentId",
"amount",
"currency",
"method",
"status",
"dateTime",
"cardMask",
"payway",
"entityName",
"projectName",
"originalAmount",
"exchangeAmount",
"exchangeCurrency",
"exchangeRate",
"tokenizationKind",
"authCode",
"rrnCode",
"description",
"payload",
"customerFee",
"merchantFee",
"paymentSystem",
"recipientCardMask"
]
}'

Response parameters:

ParameterDescription
report_idJSON file identifier
countnumber of records (transactions)

Response example:

{"report_id":"57e79df2-b374-4998-9b0e-ac7848760bed","count":384}

An example of a response in a case when the register has not yet been generated:

{
"message": "Report not ready",
"code": "report_not_ready"
}

To retrieve the generated transaction registry in JSON format, you need to submit a request using the GET HTTP method with the report_id parameter containing the received registry identifier.

Request example:

$ curl --location --request GET 'https://api.tranzzo.com/streaming-report/fetch/57e79df2-b374-4998-9b0e-ac7848760bed'
--header 'X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:${SIGNATURE}'

The JSON response to the request will include the number of records specified in the count parameter. Each record will contain a set of parameters that were defined when the transaction register was generated, or default parameters if none were specified.

Response example:

{"projectId":"064ec3f8-8abb-414b-9eb1-49d977213999","orderId":"1456649508235","paymentId":"b2dc0fb9-2de4-4a30-9447-088ce415fb58","amount":"3","currency":"UAH","method":"void","status":"success","dateTime":1662033684016,"cardMask":"414141******2284","payway":"applepay","entityName":"","projectName":"Project","originalAmount":"3","exchangeAmount":"0.00","exchangeCurrency":"","exchangeRate":"0.00","tokenizationKind":"","authCode":"238530","rrnCode":"003561423521","description":"description","payload":"","customerFee":"0.00","merchantFee":"0.00","paymentSystem":"MASTERCARD","recipientCardMask":""}
{"projectId":"064ec3f8-8abb-414b-9eb1-49d977213988","orderId":"1456649508236","paymentId":"b2dc0fb9-2de4-4a30-9447-088ce415fb51","amount":"2","currency":"UAH","method":"auth","status":"success","dateTime":1662033684916,"cardMask":"537541******2284","payway":"gpay","entityName":"","projectName":"Project","originalAmount":"2","exchangeAmount":"0.00","exchangeCurrency":"","exchangeRate":"0.00","tokenizationKind":"","authCode":"238530","rrnCode":"003561423521","description":"description","payload":"","customerFee":"0.00","merchantFee":"0.00","paymentSystem":"MASTERCARD","recipientCardMask":""}
{"projectId":"064ec3f8-8abb-414b-9eb2-49d977213967","orderId":"1456649508238","paymentId":"b2dc0fb9-2de4-4a30-9447-088ce415fb50","amount":"1","currency":"UAH","method":"purchase","status":"success","dateTime":1662033680916,"cardMask":"537541******1184","payway":"cc","entityName":"","projectName":"Test Project","originalAmount":"1","exchangeAmount":"0.00","exchangeCurrency":"","exchangeRate":"0.00","tokenizationKind":"","authCode":"238530","rrnCode":"003561423521","description":"test qa","payload":"","customerFee":"0.00","merchantFee":"0.00","paymentSystem":"MASTERCARD","recipientCardMask":""}

Synchronous transaction export​

The endpoint returns transactions directly in the response to the request, which is suitable for regular (e.g. daily) synchronization of transactions with the merchant's accounting system. In particular, marketplaces can export paid-out payments broken down by sub merchants.

info

To enable the endpoint, please contact the Tranzzo team.

Send a POST request with the following parameters:

ParameterTypeRequiredDescription
project_idsArray[UUID]✅Array of merchant's identifiers (POS_ID). Maximum 20
payout_date_fromString (YYYY-MM-DD)✅Start of the payout date range, inclusive. Returns payments with a payout date on or after this date
payout_date_toString (YYYY-MM-DD)✅End of the payout date range, inclusive. Returns payments with a payout date on or before this date
created_at_fromString (ISO 8601 with time zone)✅Start of the payment creation date range, inclusive. Returns payments created at or after this date and time
created_at_toString (ISO 8601 with time zone)✅End of the payment creation date range, exclusive. Returns payments created before this date and time
sub_merchant_idsArray[UUID]Array of unique sub merchant identifiers (sub_merchant_id). Maximum 100
statusesArray[String]Array of transaction statuses: success, pending, failure, init. Default: all
methodsArray[String]Payment methods: purchase, auth, capture, void, refund, credit, lookup, dispute, funds_deposit, reserve_replenishment, settlement. Default: all
transaction_detailsArray[String]Array of fields returned for each transaction in the report (see Register fields). Default: all
formatStringResponse format: csv or json (NDJSON). Default: json
info

At least one period is required: payout_date_from + payout_date_to or created_at_from + created_at_to. Each period must be specified in full and cannot be longer than 31 days; if both periods are specified, the report contains payments matching both conditions.

Payout date period (payout_date_from + payout_date_to). The report contains payments paid out on these days. For a split payment, each sub merchant is paid out separately, so a sub merchant's line gets into the report for the day of its payout, and only payments created no earlier than 15 days before payout_date_from are searched. Payments paid out later than 15 days after creation are not included in the report.

Request example:

BODY='{"project_ids":["<MARKETPLACE_POS_1>","<MARKETPLACE_POS_2>"],"payout_date_from":"2026-11-24","payout_date_to":"2026-11-24","statuses":["success"],"format":"csv"}'
SIGNATURE=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "${API_SECRET}" | awk '{print $NF}')

curl -sS -N -X POST "https://${API_HOST}/api/v1/streaming-report/sync" \
-H 'Content-Type: application/json' \
-H "X-API-AUTH: CPAY-HMAC-SHA256 ${API_KEY}:$SIGNATURE" \
--data-binary "$BODY" \
-o payouts-2026-11-24.csv

Request body example for a daily export of payouts in CSV:

{
"project_ids": ["<MARKETPLACE_POS_1>", "<MARKETPLACE_POS_2>"],
"payout_date_from": "2026-11-24",
"payout_date_to": "2026-11-24",
"statuses": ["success"],
"transaction_details": ["projectId", "orderId", "paymentId", "amount", "currency", "status", "dateTime",
"receiverId", "receiverName", "receiverBusinessRegNo", "receiverAmount", "receiverFee",
"settlementDate"],
"format": "csv"
}

Response body example (CSV):

PROJECT ID,ORDER ID,PAYMENT ID,AMOUNT,CURRENCY,STATUS,DATE TIME,RECEIVER NAME,RECEIVER AMOUNT,RECEIVER FEE,RECEIVER ID,RECEIVER EDRPOU,SETTLEMENT DATE
<MARKETPLACE_POS_1>,order-10045,${PAYMENT_ID},1000.00,UAH,success,2026-11-23 14:05:31,"Demo Market ""LLC""",700.00,14.00,${SUB_MERCHANT_ID_1},12345678,2026-11-24
<MARKETPLACE_POS_1>,order-10045,${PAYMENT_ID},1000.00,UAH,success,2026-11-23 14:05:31,FOP Ivanenko,300.00,6.00,${SUB_MERCHANT_ID_2},1234567890,2026-11-24

Request body example: one sub merchant for a creation period (NDJSON):

{
"project_ids": ["<MARKETPLACE_POS_1>", "<MARKETPLACE_POS_2>"],
"created_at_from": "2026-11-01T00:00:00+02:00",
"created_at_to": "2026-11-25T00:00:00+02:00",
"sub_merchant_ids": ["${SUB_MERCHANT_ID_1}"],
"transaction_details": ["orderId", "amount", "status", "dateTime", "receiverId", "receiverAmount", "receiverFee", "settlementDate"]
}

Response body example (NDJSON):

{"orderId":"order-10045","amount":"1000.00","status":"success","dateTime":1795435531000,"receiverId":"${SUB_MERCHANT_ID_1}","receiverAmount":"700.00","receiverFee":"14.00","settlementDate":"2026-11-24"}
{"orderId":"order-10051","amount":"250.00","status":"success","dateTime":1795522012000,"receiverId":"${SUB_MERCHANT_ID_1}","receiverAmount":"250.00","receiverFee":"5.00","settlementDate":""}

Response format​

format: "csv" — Content-Type: text/csv; charset=utf-8

  • The first line is a header with column names, followed by each transaction.
  • The delimiter is a comma, lines are separated by \n. Values containing a comma, quotes or a line break are enclosed in quotes, quotes inside are doubled (RFC 4180).
  • dateTime is in yyyy-MM-dd HH:mm:ss format in the time zone of created_at_from; if it is not passed — Europe/Kyiv.
  • If there are no transactions, only the header line is returned.

format: "json" (default) — Content-Type: application/x-ndjson

  • Each line is a separate JSON object of one transaction.
  • Values are strings, except dateTime (a number, milliseconds since 1970-01-01 UTC).
  • If there are no transactions, the response body is empty.
info

Split payments. A split payment is returned as a separate line for each sub merchant. The receiverId, receiverName, receiverBusinessRegNo, receiverAmount, receiverFee, settlementDate fields belong to that particular sub merchant. Other fields (payment amount, status, etc.) are the same in such lines.

Empty values. If a field is missing in the transaction, an empty string is returned, and 0.00 for amounts. settlementDate is empty until the payment (sub merchant's line) is paid out.

Register fields​

In CSV, columns follow the order given in the table, regardless of the order in the request.

ParameterCSV columnDescription
projectIdPROJECT IDMerchant's identifier (POS_ID)
orderIdORDER IDMerchant's order identifier
paymentIdPAYMENT IDTranzzo payment identifier of primary operation
amountAMOUNTTransaction amount with fees applied
currencyCURRENCYTransaction currency
methodMETHODPayment method
statusSTATUSTransaction status
dateTimeDATE TIMETransaction date and time
cardMaskCARD MASKCard mask
paywayPAYWAYPayway name
entityNameENTITY NAMEEntity name
merchantAccountNameACCOUNT NAMEMerchant account name
projectNamePROJECT NAMEMerchant's name
originalAmountORIGINAL AMOUNTTransaction amount with no fees applied
exchangeAmountEXCHANGE AMOUNTExchange amount
exchangeCurrencyEXCHANGE CURRENCYExchange currency
exchangeRateEXCHANGE RATEExchange rate
authCodeAUTH CODETransaction authentication code
rrnCodeRNN CODERRN code
bankTransactionIdBANK TRANSACTION IDTransaction identifier in the bank
descriptionDESCRIPTIONTransaction description
payloadPAYLOADField for custom data
customerFeeCUSTOMER FEECustomer fee
merchantFeeMERCHANT FEEMerchant fee
recipientCardMaskRECIPIENT CARD MASKRecipient's card mask
recurringIdRECURRING IDRecurring payment identifier
reserveAmountRESERVE AMOUNTRolling reserve amount
receiverNameRECEIVER NAMEName of sub merchant in split transaction
receiverAmountRECEIVER AMOUNTAmount paid to sub merchant in split transaction
receiverFeeRECEIVER FEEFee amount paid by sub merchant in split transaction
createdAtCREATED ATOrder creation time, milliseconds since 1970-01-01 UTC
paymentModePAYMENT_MODEPayment mode
refundFeeREFUND FEERefund fee
phonePHONEPayer's phone number
payerCardHolderPAYER NAMECardholder name
statusProcessedAmountPROCESSED AMOUNTProcessed amount
terminalBankMerchantIdTERMINAL BANK MERCHANT IDTerminal merchant ID in the bank
receiverIdRECEIVER IDUnique sub merchant identifier (sub_merchant_id)
receiverBusinessRegNoRECEIVER EDRPOUSub merchant EDRPOU code
settlementDateSETTLEMENT DATEPayout date of the sub merchant's part, YYYY-MM-DD
transactionIdTRANSACTION IDTransaction identifier
responseCodeRESPONSE CODEResponse code
responseDescriptionRESPONSE DESCRIPTIONResponse code description
customerIdCUSTOMER IDMerchant's customer identifier
terminalNameTERMINAL NAMETerminal name
bankNameBANK NAMECard issuing bank
bankCountryBANK COUNTRYCard issuing bank country
info

For a sub merchant payout report, the following set of fields is sufficient:

["projectId", "orderId", "paymentId", "amount", "currency", "status", "dateTime", "receiverId", "receiverName", "receiverBusinessRegNo", "receiverAmount", "receiverFee", "settlementDate"]

Limits​

ParameterLimit
POS_IDs in project_ids20
Sub-merchants in sub_merchant_ids100
Period31 days
Transactions in one report1,000 (a split payment counts as one transaction)
Paid payments in the payout period10,000 (counted after applying the sub_merchant_ids filter)

Possible response codes​

CodeDescription
200Success. The response body is streamed and must be read to completion
400Invalid request body. Possible causes include a missing period, a period longer than 31 days, more than 20 POS_IDs, more than 100 sub-merchants, more than 1,000 transactions in the result, or more than 10,000 paid payments in the payout period. The reason is provided in the message field. Narrow the request — for example, retrieve data by day or split project_ids or sub_merchant_ids across multiple requests
401Missing X-API-AUTH header, invalid key or secret, or invalid signature. Check the key and signature generation
403The API key does not have access to the specified project_id or POS_ID. Check the project_ids and API key
429Too many concurrent requests. Retry later and send requests sequentially

Error response body example:

{
"message": "created_at range is too long for a synchronous report (max 31 days). Narrow it down or use POST /api/v1/report",
"code": "bad_request_error"
}
info

If an error occurs while the body is already being transferred, the connection is dropped and the request must be repeated.