POST
Beneficiary List Query
Query beneficiary records with pagination.
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.
payeeStatusBeneficiary status used to filter the results. Use lowercase enum values. See enum values.
Allowed values
pass- Review passed
unnecessary- Review not required
disable- Disabled
beneficiaryIdOnerway beneficiary ID. Used to filter the results.
merchantRefIdUser ID in the merchant system, used to associate the beneficiary with the merchant user. Used to filter the results.
cardNumberBeneficiary bank account number or IBAN. Used to filter the results.
walletPhoneBeneficiary wallet account identifier, used to filter the results by partial match.
sizeNumber of records per page.
Constraints
- Rule
- Omit to use 10.
currentPage number, starting at 1.
Constraints
- Rule
- Omit to use 1.
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/beneficiary/queryList' \
-H 'Content-Type: application/json' \
--data-raw '{
"merchantNo": "800699",
"payeeStatus": "pass",
"size": 10,
"current": 1,
"sign": "{{SIGN}}"
}'Response
respCodeResponse code;
20000 indicates successful request processing. All other values are error codes.respMsgHuman-readable description of the response code.
data{ records, total, ... }Paged beneficiary list result.
{
"respCode": "20000",
"respMsg": null,
"data": {
"records": [
{
"beneficiaryId": "1984102812163112960",
"merchantRefId": "beneficiary_demo_001",
"createTime": "2024-01-15 10:30:00",
"updateTime": "2024-01-20 14:45:00",
"merchantNo": "800699",
"nationality": "US",
"remark": "Primary beneficiary account",
"payoutCurrency": "USD",
"expireDate": "2024-12-31",
"bankName": "Demo Bank",
"accountName": "John Smith",
"bankAddress": "123 Main Street, New York, NY 10001",
"payeeStatus": "pass",
"bankCountry": "US",
"entityType": "1",
"payeeAddress": "456 Oak Avenue, Los Angeles, CA 90210",
"paymentMethod": "BANK_TRANSFER",
"payeeCountry": "US",
"receiverInfo": "{\"firstName\":\"John\",\"lastName\":\"Smith\",\"email\":null,\"identityType\":null}",
"address": "{\"addressLine1\":\"456 Oak Avenue\",\"city\":\"Los Angeles\",\"state\":\"CA\",\"postalCode\":\"90210\",\"countryCode\":null}",
"accountInfomation": "{\"cardNumber\":\"demo_bank_account\",\"accountType\":\"CHECKING\",\"bankName\":\"Demo Bank\",\"pickUpBankBranchAddress\":null}"
}
],
"total": 1,
"size": 10,
"current": 1
}
}No error responses are documented for this endpoint.