POST
Transfer Method Query
Query the supported transfer methods for a country, currency, and entity type combination.
Request
merchantNoMerchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
801129destinationCountryDestination country or region of the payout.
Example:
USaccountCurrencySettlement or receiving currency used for the transfer.
Example:
USDentityTypeBeneficiary entity type.
0 for business and 1 for individual.Example:
0signRequest signature string. Generate it according to the Transfer request-signing rules with your merchant private key.
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": "801129",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code returned by Onerway.
respMsgResponse message returned by Onerway.
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.