Onerway
POST

Beneficiary Required Fields Query

Query the field requirements for a specific country, currency, entity type, and transfer method.

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.
payoutCurrency
Payout currency.
Example:
bankCountry
Destination country of the beneficiary account.
Example:
entityType
Beneficiary entity type. See enum values.
Example:
paymentMethod
Payout method. See enum values.
Example:
walletType
Condition: Required when paymentMethod is E_WALLET.
Beneficiary wallet type, selected by wallet name and account identifier type. See wallet types and account formats.
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/queryPaymentFeild' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "bankCountry": "US",
  "entityType": "1",
  "merchantNo": "800699",
  "paymentMethod": "BANK_TRANSFER",
  "payoutCurrency": "USD",
  "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.
Requirement flags for the requested merchant, country, currency, entity type, payment method and wallet type. Values describe requirements, not actual beneficiary data.

Response example

{
  "respCode": "20000",
  "respMsg": null,
  "data": {
    "merchantNo": "800699",
    "accountInfomation": {
      "cardNumber": "Y",
      "accountType": "Y",
      "swiftCode": "C",
      "sortCode": "C",
      "branchCode": "N",
      "bankHolderName": "Y",
      "walletType": "N",
      "walletPhone": "N",
      "pickUpBankName": "N",
      "pickUpBankBranchName": "N",
      "pickUpBankBranchId": "N",
      "pickUpBankBranchAddress": "N"
    },
    "address": {
      "state": "Y",
      "city": "Y",
      "addressLine1": "Y",
      "addressLine2": "C",
      "addressLine3": "C",
      "postalCode": "Y"
    },
    "receiverInfo": {
      "nickName": "N",
      "companyName": "N",
      "lastName": "Y",
      "firstName": "Y",
      "areaCode": "C",
      "phone": "C",
      "vatNumber": "N",
      "birthDate": "C",
      "email": "C"
    }
  }
}
No error responses are documented for this endpoint.