Recipients

List recipients

Paginated list of the business's saved recipients.

GET
/api/v1/recipients
AuthorizationBearer <token>

In: header

Query Parameters

limit?number

Limit on fetching records

page?number

Page number

searchTerm?string

String to search for

sort?string

Comma separated list of fieldnames to order by. -date for DESC, date for ASC

all?boolean

Checks if to get all results in the business

id?string

Id of the recipient

recipientType?string

Type of the recipient

currency?string

Currency of the recipient

isActive?boolean

If recipient is active

Response Body

application/json

curl -X GET "https://example.com/api/v1/recipients"
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "recipientReference": "RECIPIENT12345678",
      "createdAt": "2025-04-28T08:03:51.752Z",
      "updatedAt": "2025-04-28T08:03:51.752Z",
      "recipientType": "individual",
      "profileDetails": {
        "email": "example@example.com",
        "phoneNumber": "08012345678",
        "firstName": "John",
        "lastName": "Doe"
      },
      "bankDetails": {},
      "foreignBank": {},
      "shippingAddress": {},
      "billingAddress": {},
      "currency": "NGN",
      "companyDetails": {},
      "isActive": true,
      "businessId": "6912ee7a-8ce3-4ef8-9b86-0a8f8f6cc8f7",
      "profileId": "2ea2ea57-1ac0-4c37-9476-cda91580fda8",
      "businessState": "live",
      "accountNumber": "0987654321",
      "accountName": "David Malan",
      "bankName": "David Malan",
      "bankCode": "David Malan",
      "businessName": "Acme Ltd",
      "phoneNumber": "+2348012345678",
      "firstName": "John",
      "lastName": "Doe",
      "middleName": "Gaga",
      "email": "Gaga",
      "title": "Mr."
    }
  ],
  "meta": {
    "total": 0,
    "page": 0,
    "limit": 0,
    "count": 0,
    "previousPage": 0,
    "nextPage": 0,
    "pageCount": 0,
    "totalRecords": 0
  }
}
Empty
Empty

How is this guide?

Last updated on