POST
Transfer Single Query
Query a single transfer by merchant request ID or Onerway payout ID.
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.
requestIdCondition: Required when
Merchant-generated business reference for the payout.payoutId is not provided.Constraints
- Rule
- Maximum length: 64.
- Rule
- If both requestId and payoutId are provided, they must identify the same payout.
payoutIdCondition: Required when
Onerway payout ID.requestId is not provided.Constraints
- Rule
- Supply it as a string to preserve integer precision. If both requestId and payoutId are provided, they must identify the same payout.
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/query' \
-H 'Content-Type: application/json' \
--data-raw '{
"merchantNo": "800699",
"payoutId": "1808783413957234688",
"requestId": "REQ20240101123456789012345678901",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ merchantNo, onBehalfOf, ... }Single transfer detail result.
{
"respCode": "20000",
"respMsg": null,
"data": {
"requestId": "DM20250888804123",
"payoutId": "1954374604177408000",
"status": "P",
"merchantNo": "800699",
"onBehalfOf": null,
"settleCurrency": "USD",
"settleSumAmount": 102,
"serviceFee": 2,
"convRate": 1,
"payoutStatusReason": null
}
}No error responses are documented for this endpoint.