POST
Transfer Batch Query
Query transfer records in batches with pagination.
Request
merchantNoMerchant number of the request initiator.
Example:
800699onBehalfOfMerchant number that the request is for. Include only when making a request on behalf of another merchant.
requestIdMerchant-generated business reference for the payout. Used to filter the results.
Constraints
- Rule
- Maximum length: 64. Empty string is treated as omitted.
payoutIdOnerway payout ID. Used to filter the results.
payoutStatusPayout status used to filter the results. See enum values.
Constraints
- Rule
- Supply an ID condition or a complete time range in addition to status or payout method filters.
payoutStartTimeCondition: Required when payoutEndTime is supplied. Supply at least one ID condition or a complete time range.
Start time of the payout window. Time zone: Beijing time (UTC+08:00).Constraints
- Rule
- Format: yyyy-MM-dd HH:mm:ss. Start must not exceed end; each range must not exceed 90 days.
payoutEndTimeCondition: Required when payoutStartTime is supplied. Supply at least one ID condition or a complete time range.
End time of the payout window. Time zone: Beijing time (UTC+08:00).Constraints
- Rule
- Format: yyyy-MM-dd HH:mm:ss. Start must not exceed end; each range must not exceed 90 days.
createTimeStartTimeCondition: Required when createTimeEndTime is supplied. Supply at least one ID condition or a complete time range.
Start time of the create-time window. Time zone: Beijing time (UTC+08:00).Constraints
- Rule
- Format: yyyy-MM-dd HH:mm:ss. Start must not exceed end; each range must not exceed 90 days.
createTimeEndTimeCondition: Required when createTimeStartTime is supplied. Supply at least one ID condition or a complete time range.
End time of the create-time window. Time zone: Beijing time (UTC+08:00).Constraints
- Rule
- Format: yyyy-MM-dd HH:mm:ss. Start must not exceed end; each range must not exceed 90 days.
payoutMethodPayout method used to filter the results. See enum values.
sizeNumber of records per page.
Constraints
- Rule
- Integer from 1 to 100. Omitted or null defaults to 10.
- Rule
- Omit to use 10.
currentPage number, starting at 1.
Constraints
- Rule
- Integer of at least 1. Omitted or null defaults to 1.
- Rule
- Omit to use 1.
payoutIdsPayout IDs encoded as a JSON array string. Use decimal positive-integer strings. Invalid items are skipped and duplicates removed; an empty or entirely invalid array returns an empty page.
Constraints
- Rule
- Serialized string: at most 6400 characters. Original array: at most 100 items, including duplicates and invalid items.
- Rule
- Each valid ID must fit a positive signed 64-bit integer.
- Rule
- ID conditions and other filters are combined with AND. Do not send an empty string or a native JSON array for this field.
requestIdsMerchant request IDs encoded as a JSON array string. Invalid or blank items are skipped and duplicates removed; an empty or entirely invalid array returns an empty page.
Constraints
- Rule
- Serialized string: at most 6400 characters. Original array: at most 100 items, including duplicates and invalid items.
- Rule
- Each valid request ID is at most 64 characters; matching preserves whitespace in non-blank values.
- Rule
- ID conditions and other filters are combined with AND. Do not send an empty string or a native JSON array for this field.
signRequest signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.
curl -X POST 'https://sandbox-api.onerway.com/payout/api/v1/txn/queryList' \
-H 'Content-Type: application/json' \
--data-raw '{
"createTimeEndTime": "2025-09-10 12:00:00",
"createTimeStartTime": "2025-09-01 12:00:00",
"current": 1,
"merchantNo": "800699",
"sign": "{{SIGN}}",
"size": 10
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ data }Query result wrapper. Read records from data.data.records and pagination from data.data.
{
"respCode": "20000",
"respMsg": null,
"data": {
"data": {
"records": [
{
"payoutId": "1965301538608513024",
"requestId": "DM202509090001",
"payoutStatus": "S",
"payoutMethod": "E_WALLET"
}
],
"total": 1,
"size": 10,
"current": 1,
"pages": 1
}
}
}No error responses are documented for this endpoint.