POST
Beneficiary Required Fields Query
Query the field requirements for a specific country, currency, entity type, and transfer method.
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.
payoutCurrencyPayout currency.
Example:
NGNbankCountryDestination country of the beneficiary account.
Example:
USwalletTypeCondition: Required when paymentMethod is E_WALLET.
Beneficiary wallet type, selected by wallet name and account identifier type. See wallet types and account formats.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/queryPaymentFeild' \
-H 'Content-Type: application/json' \
--data-raw '{
"bankCountry": "US",
"entityType": "1",
"merchantNo": "800699",
"paymentMethod": "BANK_TRANSFER",
"payoutCurrency": "USD",
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ merchantNo, accountInfomation, ... }Requirement flags for the requested merchant, country, currency, entity type, payment method and wallet type. Values describe requirements, not actual beneficiary data.
{
"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.