Onerway
POST

Transfer Batch Query

Query transfer records in batches with pagination.

Request

merchantNo
Merchant number of the request initiator.
Example:
onBehalfOf
Merchant number that the request is for. Include only when making a request on behalf of another merchant.
requestId
Merchant-generated business reference for the payout. Used to filter the results.
Constraints
Rule
Maximum length: 64. Empty string is treated as omitted.
payoutId
Onerway payout ID. Used to filter the results.
payoutStatus
Payout 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.
payoutStartTime
Condition: 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.
payoutEndTime
Condition: 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.
createTimeStartTime
Condition: 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.
createTimeEndTime
Condition: 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.
payoutMethod
Payout method used to filter the results. See enum values.
size
Number of records per page.
Constraints
Rule
Integer from 1 to 100. Omitted or null defaults to 10.
Rule
Omit to use 10.
current
Page number, starting at 1.
Constraints
Rule
Integer of at least 1. Omitted or null defaults to 1.
Rule
Omit to use 1.
payoutIds
Payout 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.
requestIds
Merchant 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.
sign
Request signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.

Request example

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

respCode
Response code; 20000 indicates successful request processing. All other values are error codes.
respMsg
Human-readable description of the response code.
Query result wrapper. Read records from data.data.records and pagination from data.data.

Response example

{
  "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.