Onerway
POST

Transfer Method Query

Query the supported transfer methods for a country, currency, and entity type combination.

Request

merchantNo
Merchant number assigned by Onerway. Retrieve it from the merchant portal or onboarding material after your sandbox or production account is created.
Example:
destinationCountry
Destination country or region of the payout.
Example:
accountCurrency
Settlement or receiving currency used for the transfer.
Example:
entityType
Beneficiary entity type. 0 for business and 1 for individual.
Example:
sign
Request signature string. Generate it according to the Transfer request-signing rules with your merchant private key.

Request example

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

respCode
Response code returned by Onerway.
respMsg
Response message returned by Onerway.
Supported transfer methods for the requested country, currency, and entity type.

Response example

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