Payments List

Queries on Transactions

Payments List


8. payments_list

Description:
Retrieve a paginated list of previously created payments, including both pay-ins and payouts. This endpoint supports filters for date ranges and pagination to provide detailed transaction histories.
URL:

Request Parameters:

Parameter
Type
Description
service_code
String
Service code, e.g., BT_ARS.
page
Integer
Page number for paginated results.
page_qty
Integer
Number of results per page.
date_from
String
Start date for filtering transactions.
date_to
String
End date for filtering transactions.

Expected Response:

Field
Type
Description
status
String
Status of the request (success, error).
data.pay_type
String
Type of payment (payin, payout).
data.transaction_id
String
Unique transaction identifier.
data.reference_merchant
String
Merchant-provided reference ID.
data.status
String
Current transaction status, e.g., PENDING.
data.amount
Float
Amount associated with the transaction.

Example Request:

{ "service_code": "BT_ARS", "page": 1, "page_qty": 3, "date_from": "2024-11-20T03:11:26.512Z", "date_to": "2024-11-30T22:10:16.135Z" }

Example Response:

{ "status": "success", "data": [ { "pay_type": "payin", "transaction_id": "e7f8002c-98f1-48ae-8aa5-c5c6066cee65", "reference_merchant": "ECOM-T00000001", "status": "PENDING", "amount": 212.12 }, { "pay_type": "payin", "transaction_id": "dc146143-d5c3-4226-b8dd-b38497c4611d", "reference_merchant": "ECOM-T00000005", "status": "PENDING", "amount": 99998.0 }, { "pay_type": "payin", "transaction_id": "cf31a204-84ba-4e52-86c7-da38be47f713", "reference_merchant": "ECOM-T00000006", "status": "PENDING", "amount": 99999.0 } ] }