Onerway
POST

Transfer Method Query

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

Request

merchantNo
Merchant number of the request initiator.
Example:
onBehalfOf
Merchant number that the request is for. Include only when making a request on behalf of another merchant.
destinationCountry
Destination country or region of the payout.
Example:
accountCurrency
Account currency used to query supported payout methods.
Example:
entityType
Beneficiary entity type. See enum values.
Example:
Constraints
Rule
Maximum length: 1. Values: 0 business; 1 individual.
sign
Request signature. Generate it using the signing method and credentials configured for the initiating merchant, following the request-signing rules.

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": "800699",
  "sign": "{{SIGN}}"
}'

Response

respCode
Response code; 20000 indicates successful request processing. All other values are error codes.
respMsg
Human-readable description of the response code.
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.