Title
Create new category
Edit page index title
Edit category
Edit link
List Customers
Overview
This endpoint retrieves a paginated list of customers registered under an entity. It returns customer identifiers, contact information, business details, and creation/update timestamps.
Endpoint Details
Definition | Description |
|---|---|
Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/customers |
Method | GET |
Headers | Content-Type: application/json, Authorization |
Authentication | Access Token (Bearer Token) |
Query Parameters
Pagination Parameters
Parameter | Description |
|---|---|
page_params.page_size | Number of records to return per page. |
page_params.page_number | Page number to retrieve. |
page_params.first_request_timestamp.seconds | UTC seconds since Unix epoch ( |
page_params.first_request_timestamp.nanos | Nanosecond fraction (0 to 999,999,999). Must be a non-negative value and represents fractional seconds at nanosecond resolution. |
Ordering Parameters
Parameter | Description |
|---|---|
| Field used to sort the results. |
| Sort direction. Allowed values: |
Customer Filters
Parameter | Description |
|---|---|
identification_number | Filters by the customer’s identification number. |
customer_id | Filters by the unique customer identifier. |
identification_type | Filters by the customer’s identification type (for example, |
Request Body
This endpoint does not require a request body.
Example Request
Response
HTTP Status Code: 200 OK.
Example of Response
Common Errors and Handling
HTTP Status Code | Meaning | Description |
|---|---|---|
400 | Bad Request | Invalid request format |
401 | Unauthorized | Missing/expired bearer token, or token lacks |
403 | Forbidden | Caller does not have permission to list customers |
404 | Not Found | No customers exist for the entity |
500 | Server Error | Unexpected error; retry or contact support |
Best Practices
Use
pagination_infoto retrieve all customers when many exist.Pair with Retrieve Customer (GET
/customers/{id}) to access detailed information when needed.