Account Detail Query
API Information
- Path:
api/v1/acct/queryAcctDetail - Method: POST
- Content-Type: application/json
Business Description
- Suitable for daily reconciliation, transaction record queries, exception verification, and fee calculation.
- Allows querying account transaction details for a specified currency.
- Supports filtering by multiple transaction types, such as deposit credit, payment submission debit, fee collection, fund freeze/unfreeze, etc.
- Note: To avoid excessive data volume, do not set the query time range too large.
- You can filter specific transaction types using the
txnTypeparameter.
Request Parameters
Request Body
| Parameter | Type | Description | Required |
|---|---|---|---|
| merchantNo | string | Merchant Number | M |
| currency | string(20) | Currency, e.g.: USD | M |
| beginTime | string | Start time, format: "2024-06-11 00:00:00" | M |
| endTime | string | End time, format: "2024-07-13 12:12:12" | M |
| size | integer | Records per page, e.g.: 10 | M |
| current | integer | Current page, default 1 | M |
| txnType | string | Transaction type | N |
| sign | string | Signature | M |
Transaction Type Description
- Fee Adjustment: 0036
- Monthly Fee: 0034
- Deposit: 0043
- Credit Freeze: 1024
- Credit Fee: 1025
- Deposit Credit: 1026
- Withdrawal: 0032
- Submit payment: 1030
- Withdrawal/Submit payment Fee: 1031
- Withdrawal/Submit payment Fee Reversal: 1038
Request Example
json
{
"merchantNo": "800181",
"currency": "USD",
"beginTime": "2024-09-25 00:00:00",
"endTime": "2024-10-13 12:12:12",
"size": "10",
"current": "1",
"txnType": "AVAIL",
"sign": "a1b2c3d4e5f6789012345678901234567890abcd"
}Response Result
Response Body
| Parameter | Type | Description |
|---|---|---|
| respCode | string | Response Code |
| respMsg | string | Response Message |
| data | object | Response Data |
| └─currency | string | Currency |
| └─availBalance | string | Available Balance |
| └─freezeBalance | string | Frozen Balance |
| └─accountTransactionDetails | array | Transaction Detail List |
Transaction Detail Fields
| Parameter | Type | Description |
|---|---|---|
| serviceId | integer | Transaction ID |
| txnType | string | Transaction Type |
| currency | string | Currency |
| accountBalanceBefore | number | Opening Balance |
| moveAmount | number | Change in Balance |
| accountBalanceAfter | number | Closing Balance |
| remark | string | Remark |
| balanceUpdDate | string | Account Balance Update Time |