KashierDevelopersKashier Developers

List beneficiaries

curl -X GET "https://test-api.kashier.io/v2/parties?type=beneficiary"
{  "body": {    "customers": [      {        "_id": "67ba0311bf4f31001203c6c2",        "type": "beneficiary",        "name": "Jhon Doe",        "phoneNumber": "01555539512",        "countryCode": "+20",        "emailAddress": "",        "customerId": "B-1740243729820",        "merchantId": "MID-XXXXX-XXX",        "transferMethod": "bank",        "credentials": {          "bank": {            "recipientFullName": "Jhon Doe",            "bank": "CIB",            "accountNumber": "010001000"          }        },        "labels": [          "vip"        ],        "createdByUserId": "612cdca034b3a9001f38879d",        "createdAt": "2025-02-22T17:02:10.098Z",        "updatedAt": "2025-02-25T12:31:40.474Z"      }    ],    "totalCustomers": 42,    "limit": 20,    "totalPages": 3,    "page": 1,    "pagingCounter": 1,    "hasPrevPage": false,    "hasNextPage": true,    "prevPage": null,    "nextPage": 2  },  "message": "success"}

Retrieves your saved beneficiaries, paginated. type=beneficiary is required — the same route serves customers, and the parameter is what separates them.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Query Parameters

type*"beneficiary"

Must be beneficiary.

Value in

  • "beneficiary"
search?string

Search beneficiaries by name, phone number, or email address.

page?integer

Current page number. Default 1.

limit?integer

Number of records per page. Default 20.

sortBy?string

Field to sort by. Default createdAt.

Value in

  • "name"
  • "createdAt"
sortType?integer

Sorting direction: 1 = ascending, -1 = descending. Default -1.

Value in

  • 1
  • -1
startDate?string

Only return beneficiaries created after this date.

endDate?string

Only return beneficiaries created before this date.

labels?string

Comma-separated label names to filter by.

branchIds?string

Comma-separated branch ids to filter by, for branch-scoped merchants.

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v2/parties