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:
| Parameter | Type | Required | Description |
|---|---|---|---|
POS_ID | UUID | ✅ | Merchant's identifier (POS_ID) |
ORDER_ID | String | ✅ | Merchant's order identifier |
OPERATION | String | ✅ | 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}"
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:
| Parameter | Type | Required | Description |
|---|---|---|---|
original_amount | Number | Yes | Total amount (Auth amount plus all Incremental Auths amounts) without fees applied |
processed_amount | Number | Total 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:
| Parameter | Type | Required | Description |
|---|---|---|---|
POS_ID | String | ✅ | Merchant's identifier (POS_ID) |
ORDER_ID | String | ✅ | 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_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.
| Parameter | Required | Description |
|---|---|---|
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:
| Parameter | Type | Required | Description |
|---|---|---|---|
POS_ID | UUID | ✅ | Merchant's identifier (POS_ID) |
Query parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | Number | ✅ | Time from - UNIX timestamp |
enddate | Number | ✅ | 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:
| Parameter | Required | Description |
|---|---|---|
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 |
statuses | Array of Transaction status | |
methods | Payment methods (auth, purchase, capture, void, p2p, credit, lookup, refund, dispute, recurrent) | |
transaction_details | Array 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:
| Parameter | Default | Description |
|---|---|---|
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 |
entityName | Entity name | |
projectName | Project name | |
originalAmount | Transaction amount with no fees applied | |
exchangeAmount | Exchange amount | |
exchangeCurrency | Exchange currency | |
exchangeRate | Exchange rate | |
tokenizationKind | Tokenization kind | |
authCode | Transaction authentication code | |
rrnCode | RRN code | |
description | Transaction description | |
payload | Field for custom data | |
paymentSystem | Payment system | |
recipientCardMask | Recipient's card mask | |
reserveAmount | Rolling reserve amount | |
receiverName | Name of sub merchant in split transaction | |
receiverAmount | Amount paid to sub merchant in split transaction | |
receiverFee | Fee amount paid by sub merchant in split transaction |
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:
- Send a request to obtain the identifier of the generated registry.
- 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:
| Parameter | Description |
|---|---|
report_id | JSON file identifier |
count | number 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.
To enable the endpoint, please contact the Tranzzo team.
Send a POST request with the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
project_ids | Array[UUID] | ✅ | Array of merchant's identifiers (POS_ID). Maximum 20 |
payout_date_from | String (YYYY-MM-DD) | ✅ | Start of the payout date range, inclusive. Returns payments with a payout date on or after this date |
payout_date_to | String (YYYY-MM-DD) | ✅ | End of the payout date range, inclusive. Returns payments with a payout date on or before this date |
created_at_from | String (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_to | String (ISO 8601 with time zone) | ✅ | End of the payment creation date range, exclusive. Returns payments created before this date and time |
sub_merchant_ids | Array[UUID] | Array of unique sub merchant identifiers (sub_merchant_id). Maximum 100 | |
statuses | Array[String] | Array of transaction statuses: success, pending, failure, init. Default: all | |
methods | Array[String] | Payment methods: purchase, auth, capture, void, refund, credit, lookup, dispute, funds_deposit, reserve_replenishment, settlement. Default: all | |
transaction_details | Array[String] | Array of fields returned for each transaction in the report (see Register fields). Default: all | |
format | String | Response format: csv or json (NDJSON). Default: json |
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). dateTimeis inyyyy-MM-dd HH:mm:ssformat in the time zone ofcreated_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.
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.
| Parameter | CSV column | Description |
|---|---|---|
projectId | PROJECT ID | Merchant's identifier (POS_ID) |
orderId | ORDER ID | Merchant's order identifier |
paymentId | PAYMENT ID | Tranzzo payment identifier of primary operation |
amount | AMOUNT | Transaction amount with fees applied |
currency | CURRENCY | Transaction currency |
method | METHOD | Payment method |
status | STATUS | Transaction status |
dateTime | DATE TIME | Transaction date and time |
cardMask | CARD MASK | Card mask |
payway | PAYWAY | Payway name |
entityName | ENTITY NAME | Entity name |
merchantAccountName | ACCOUNT NAME | Merchant account name |
projectName | PROJECT NAME | Merchant's name |
originalAmount | ORIGINAL AMOUNT | Transaction amount with no fees applied |
exchangeAmount | EXCHANGE AMOUNT | Exchange amount |
exchangeCurrency | EXCHANGE CURRENCY | Exchange currency |
exchangeRate | EXCHANGE RATE | Exchange rate |
authCode | AUTH CODE | Transaction authentication code |
rrnCode | RNN CODE | RRN code |
bankTransactionId | BANK TRANSACTION ID | Transaction identifier in the bank |
description | DESCRIPTION | Transaction description |
payload | PAYLOAD | Field for custom data |
customerFee | CUSTOMER FEE | Customer fee |
merchantFee | MERCHANT FEE | Merchant fee |
recipientCardMask | RECIPIENT CARD MASK | Recipient's card mask |
recurringId | RECURRING ID | Recurring payment identifier |
reserveAmount | RESERVE AMOUNT | Rolling reserve amount |
receiverName | RECEIVER NAME | Name of sub merchant in split transaction |
receiverAmount | RECEIVER AMOUNT | Amount paid to sub merchant in split transaction |
receiverFee | RECEIVER FEE | Fee amount paid by sub merchant in split transaction |
createdAt | CREATED AT | Order creation time, milliseconds since 1970-01-01 UTC |
paymentMode | PAYMENT_MODE | Payment mode |
refundFee | REFUND FEE | Refund fee |
phone | PHONE | Payer's phone number |
payerCardHolder | PAYER NAME | Cardholder name |
statusProcessedAmount | PROCESSED AMOUNT | Processed amount |
terminalBankMerchantId | TERMINAL BANK MERCHANT ID | Terminal merchant ID in the bank |
receiverId | RECEIVER ID | Unique sub merchant identifier (sub_merchant_id) |
receiverBusinessRegNo | RECEIVER EDRPOU | Sub merchant EDRPOU code |
settlementDate | SETTLEMENT DATE | Payout date of the sub merchant's part, YYYY-MM-DD |
transactionId | TRANSACTION ID | Transaction identifier |
responseCode | RESPONSE CODE | Response code |
responseDescription | RESPONSE DESCRIPTION | Response code description |
customerId | CUSTOMER ID | Merchant's customer identifier |
terminalName | TERMINAL NAME | Terminal name |
bankName | BANK NAME | Card issuing bank |
bankCountry | BANK COUNTRY | Card issuing bank country |
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
| Parameter | Limit |
|---|---|
POS_IDs in project_ids | 20 |
Sub-merchants in sub_merchant_ids | 100 |
| Period | 31 days |
| Transactions in one report | 1,000 (a split payment counts as one transaction) |
| Paid payments in the payout period | 10,000 (counted after applying the sub_merchant_ids filter) |
Possible response codes
| Code | Description |
|---|---|
200 | Success. The response body is streamed and must be read to completion |
400 | Invalid 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 |
401 | Missing X-API-AUTH header, invalid key or secret, or invalid signature. Check the key and signature generation |
403 | The API key does not have access to the specified project_id or POS_ID. Check the project_ids and API key |
429 | Too 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"
}
If an error occurs while the body is already being transferred, the connection is dropped and the request must be repeated.