Onerway
POST

List transfers

Retrieve a page of transfers in the current merchant scope. Multiple supplied filters apply together.

Request

ApiKey
Account service API key assigned by Onerway, supplied in the request header. Use the key for the same environment as the request domain.
Example:
Content-Type
Request media type.
Example:
current
Page number, starting at 1
Constraints
Rule
≥1
size
Records per page
Constraints
Rule
1–100
transferId
Onerway payment identifier.
Constraints
Rule
Results must match all supplied filters.
transferIds
Transfer identifiers; decimal strings are recommended for items
Constraints
Rule
At most 100 items.
requestIds
Merchant request identifiers
Constraints
Rule
At most 100 items.
requestId
Merchant-generated business reference for the payout.
Constraints
Rule
Maximum length: 64.
Rule
Supply at least one nonempty requestId, transferId, transferIds, requestIds, complete creation-time pair or complete payout-time pair. status/paymentMethod alone is insufficient.
status
Transfer status filter: F selects failures only; RETURNED selects returned transfers only. See transfer query statuses.
paymentMethod
Payment method. See enum values.
Allowed values
BANK_TRANSFER
Bank transfer
SWIFT
SWIFT transfer
E_WALLET
E-wallet
startTime
Start of the creation-time range; time zone: Beijing time (UTC+8).
Constraints
Rule
yyyy-MM-dd HH:mm:ss
Rule
startTime/endTime and payoutStartTime/payoutEndTime must each be supplied as a pair. Each start must be no later than its end, with a range of at most 90 days, inclusive. Supplied time conditions are validated even when identifiers are present.
endTime
End of the creation-time range; time zone: Beijing time (UTC+8).
Constraints
Rule
yyyy-MM-dd HH:mm:ss
payoutStartTime
Start of the payout-time range; time zone: Beijing time (UTC+8).
Constraints
Rule
yyyy-MM-dd HH:mm:ss
payoutEndTime
End of the payout-time range; time zone: Beijing time (UTC+8).
Constraints
Rule
yyyy-MM-dd HH:mm:ss
onBehalfOf
Merchant number that the request applies to. Supply it only when making a request on behalf of another merchant.

Request example

curl -X POST 'https://sandbox-transfer-api.onerway.com/api/v3/txn/queryList' \
  -H 'ApiKey: replace_with_account_service_apikey' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "current": 1,
  "size": 10,
  "requestIds": [
    "demo_transfer_001",
    "demo_transfer_002"
  ],
  "startTime": "2026-01-01 00:00:00",
  "endTime": "2026-01-31 23:59:59"
}'

Response

respCode
Response code; 20000 indicates successful request processing. All other values are error codes.
respMsg
Human-readable description of the response code.
Business data on success; do not consume as valid business data on failure
Constraints
Rule
Consume business data only when respCode=20000. Unset transaction fields are omitted.
Rule
Returned statuses are A (created), P (processing), S (successful), F (failed) and RETURNED (returned). Returned transfers use RETURNED; see payoutStatusReason. Amount fields use their stated currencies.
Structured failure information; not present for every failure path

Response example

{
  "respCode": "20000",
  "respMsg": "Success",
  "data": {
    "current": 1,
    "size": 10,
    "total": 1,
    "records": [
      {
        "merchantNo": "800699",
        "requestId": "demo_transfer_001",
        "transferId": "1000001",
        "status": "P",
        "payoutStatusReason": "",
        "beneficiary": {
          "beneficiaryId": "10001"
        },
        "createTime": "2026-10-19 13:45:10",
        "updateTime": "2026-10-19 13:45:11"
      }
    ]
  }
}
20040004

Sending more than 100 raw items in requestIds.

Trigger: Sending more than 100 raw items in requestIds.

Example

{
  "respCode": "40004",
  "respMsg": "Illegal parameter [requestIds]",
  "error": {
    "type": "validation_error",
    "code": "40004",
    "message": "Illegal parameter [requestIds]",
    "requestId": "req_00000000000000000000000000000001",
    "errorDetails": [
      {
        "errorCode": "40004",
        "message": "Illegal parameter [requestIds]"
      }
    ],
    "param": "requestIds"
  }
}