POST
Account Detail Query
Query account balances and transaction details for a specific currency.
Request
merchantNoMerchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
801129currencyCurrency to query.
Example:
USDbeginTimeStart time of the query window.
Example:
2025-06-15 00:00:00endTimeEnd time of the query window.
Example:
2025-09-10 12:12:12sizePage size.
Example:
10currentCurrent page number.
Example:
1txnTypeOptional transaction-type filter.
signRequest signature string. Generate it according to the Transfer request-signing rules with your merchant private key.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/acct/queryAcctDetail' \
-H 'Content-Type: application/json' \
--data-raw '{
"beginTime": "2025-06-15 00:00:00",
"currency": "USD",
"current": 1,
"endTime": "2025-09-10 12:12:12",
"merchantNo": "801129",
"sign": "{{SIGN}}",
"size": 10
}'Response
respCodeResponse code returned by Onerway.
respMsgResponse message returned by Onerway.
data{ currency, availBalance, ... }Account detail and transaction ledger result.
{
"respCode": "20000",
"respMsg": null,
"data": {
"currency": "USD",
"availBalance": "989734.42",
"freezeBalance": "128.00",
"accountTransactionDetails": [
{
"serviceId": "1965301543088029696",
"txnType": "0107",
"subAcntType": "AVAIL",
"currency": "USD",
"accountBalanceBefore": 989996.92,
"moveAmount": -5,
"accountBalanceAfter": 989991.92,
"remark": "jiaoyiRemark",
"balanceUpdDate": "2025-09-09 14:29:36"
},
{
"serviceId": "1965301540898603008",
"txnType": "0035",
"subAcntType": "AVAIL",
"currency": "USD",
"accountBalanceBefore": 989997.98,
"moveAmount": -1.06,
"accountBalanceAfter": 989996.92,
"remark": null,
"balanceUpdDate": "2025-09-09 14:29:35"
}
]
}
}No error responses are documented for this endpoint.