POST
Transfer Method Query
Query the supported transfer methods for a country, currency, and entity type combination.
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.
destinationCountryDestination country or region of the payout.
Example:
USaccountCurrencyAccount currency used to query supported payout methods.
Example:
USDentityTypeBeneficiary entity type. See enum values.
Example:
0Constraints
- Rule
- Maximum length: 1. Values: 0 business; 1 individual.
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/acct/queryPaymentMethods' \
-H 'Content-Type: application/json' \
--data-raw '{
"accountCurrency": "USD",
"destinationCountry": "US",
"entityType": "0",
"merchantNo": "800699",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ destinationCountry, accountCurrency, ... }Supported transfer methods for the requested country, currency, and entity type.
{
"respCode": "20000",
"respMsg": null,
"data": {
"destinationCountry": "US",
"accountCurrency": "USD",
"entityType": "0",
"paymentMethods": [
"E_WALLET",
"SWIFT",
"BANK_TRANSFER",
"CASH_PICKUP"
]
}
}No error responses are documented for this endpoint.