Paginated query of merchant transaction records, filterable by transaction type, status, and time range.
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/queryTxnList |
| Field | Type | Required | Description |
|---|---|---|---|
| String(20) | — | Transaction type: |
| String(20) | — | Push status: |
| Long | — | Query start time, timestamp in seconds (UTC) |
| Long | — | Query end time, timestamp in seconds (UTC) |
| Integer | ✅ | Page number, minimum 1 |
| Integer | ✅ | Page size, range 1–100 |
{
"txnType": "AUTHORIZATION",
"pageNum": 1,
"pageSize": 10
}
| Field | Type | Description |
|---|---|---|
respCode | String | Response code |
respMsg | String | Response message |
data | Object | Paginated data |
data.totalRecords | Long | Total records |
data.pageSize | Long | Page size |
data.current | Long | Current page (synonym of pageNum) |
data.pageNum | Long | Current page number |
data.totalPages | Long | Total pages |
data.records[] | Array | Transaction record list for current page |
data.records[].txnType | String | Transaction type |
data.records[].txnStatus | String | Transaction status (F Failed / S Success / P Processing) |
data.records[].txnOrderNo | String | Transaction order number |
data.records[].originTxnOrderNo | String | Original transaction order number |
data.records[].originTxnOrderNoForRefund | String | Original payment order number for refund |
data.records[].cardId | String | Card ID |
data.records[].authTime | Long | Authorization time (timestamp, milliseconds) |
data.records[].authorizationCode | String | Authorization code |
data.records[].authMessageDesc | String | Authorization description |
data.records[].transactionAmount | BigDecimal | Transaction amount |
data.records[].transactionCurrency | String | Transaction currency |
data.records[].transactionTime | Long | Transaction time (timestamp, milliseconds) |
data.records[].cardAmount | BigDecimal | Card amount |
data.records[].cardCurrency | String | Card currency |
data.records[].settleAmount | BigDecimal | Settlement amount |
data.records[].settleCurrency | String | Settlement currency |
data.records[].settleTime | Long | Settlement time (timestamp, milliseconds) |
data.records[].transactionFee | BigDecimal | Transaction fee |
data.records[].transactionFeeCurrency | String | Transaction fee currency |
data.records[].crossBorderFee | BigDecimal | Cross-border fee |
data.records[].crossBorderFeeCurrency | String | Cross-border fee currency |
data.records[].exchangeFee | BigDecimal | Exchange fee |
data.records[].exchangeFeeCurrency | String | Exchange fee currency |
data.records[].merchantId | String | Merchant ID |
data.records[].merchantName | String | Merchant name |
data.records[].merchantCountry | String | Merchant country |
data.records[].merchantCountryCode | String | Merchant country code |
data.records[].merchantStateProvince | String | Merchant state/province |
data.records[].merchantCity | String | Merchant city |
data.records[].merchantPostalCode | String | Merchant postal code |
data.records[].merchantMccCode | String | Merchant MCC code |
{
"respCode": "20000",
"respMsg": "success",
"data": {
"totalRecords": 1,
"pageSize": 10,
"current": 1,
"pageNum": 1,
"totalPages": 1,
"records": [
{
"txnType": "CHARGE",
"txnStatus": "S",
"txnOrderNo": "TXN20260101001",
"originTxnOrderNo": null,
"originTxnOrderNoForRefund": null,
"cardId": "411111******1111",
"authTime": 1735689600000,
"authorizationCode": "AUTH001",
"authMessageDesc": "Approved",
"transactionAmount": 50.00,
"transactionCurrency": "USD",
"transactionTime": 1735689600000,
"cardAmount": 50.00,
"cardCurrency": "USD",
"settleAmount": 50.00,
"settleCurrency": "USD",
"settleTime": 1735776000000,
"transactionFee": 0.50,
"transactionFeeCurrency": "USD",
"crossBorderFee": null,
"crossBorderFeeCurrency": null,
"exchangeFee": null,
"exchangeFeeCurrency": null,
"merchantId": "MCH001",
"merchantName": "Amazon",
"merchantCountry": "United States",
"merchantCountryCode": "US",
"merchantStateProvince": "WA",
"merchantCity": "Seattle",
"merchantPostalCode": "98101",
"merchantMccCode": "5411"
}
]
}
}