Onerway
POST

Beneficiary List Query

Query beneficiary records with pagination.

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.
payeeStatus
Beneficiary status used to filter the results. Use lowercase enum values. See enum values.
Allowed values
pass
Review passed
unnecessary
Review not required
disable
Disabled
beneficiaryId
Onerway beneficiary ID. Used to filter the results.
merchantRefId
User ID in the merchant system, used to associate the beneficiary with the merchant user. Used to filter the results.
cardNumber
Beneficiary bank account number or IBAN. Used to filter the results.
walletPhone
Beneficiary wallet account identifier, used to filter the results by partial match.
size
Number of records per page.
Constraints
Rule
Omit to use 10.
current
Page number, starting at 1.
Constraints
Rule
Omit to use 1.
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/beneficiary/queryList' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "merchantNo": "800699",
  "payeeStatus": "pass",
  "size": 10,
  "current": 1,
  "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.
Paged beneficiary list result.

Response example

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