Customers
Customers
Fetch Customers
Retrieve a list of customers with pagination and filtering support.
GET
Customers
Overview
This endpoint retrieves a list of customers with pagination and optional filtering bygender, email, bvn, or phone.
Request
Method:GET
URL: /v1/customers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
page | Query | integer | No | Page number for pagination. |
limit | Query | integer | No | Number of customers per page. |
gender | Query | string | No | Filter by gender (e.g. MALE, FEMALE). |
email | Query | string | No | Filter by customer email address. |
bvn | Query | string | No | Filter by Bank Verification Number. |
phone | Query | string | No | Filter by phone number. |
Response
Status Code:200 OK
Content-Type: application/json
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Request status (success) |
message | string | Human-readable result message |
data | array | List of customer objects |
data[].gender | string | Customer gender (MALE, FEMALE) |
data[].dob | string | Date of birth (ISO 8601) |
data[].address | object | Customer address details |
total | integer | Total number of matching customers |
page | integer | Current page number |
limit | integer | Number of results per page |
filters_applied | object | Active filters used in the query |
Authorizations
Provide your API key in the 'apikey' header.
Headers
Query Parameters
Filter by gender (e.g. MALE, FEMALE)
Filter by customer email address
Filter by Bank Verification Number
Filter by phone number
Response
200 - application/json
OK
The response is of type object.