Resource Guides
Endpoints
Token Management
Customer Management
Account Management
Bre-B Key Management
Recipient Management
Payment Management
QR codes
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
List Keys
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint allows you to retrieve a list of all Bre-B key associated with your customers within the Passport API. The response includes key value, type, status, and associated entity details.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/keys |
| 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 (1970-01-01T00:00:00Z). Must be between 0001-01-01T00:00:00Z and 9999-12-31T23:59:59Z (inclusive). |
| 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 |
|---|---|
| order_params.order_key | Field used to sort the results. |
| order_params.order_direction | Sort direction. Allowed values: ORDER_DIRECTION_ENUM_UNSPECIFIED, ASC, DESC. |
Key Filters
| Parameter | Description |
|---|---|
| customer_id | Filters by the customer identifier associated with the key. |
| account_id | Filters by the account identifier associated with the key. |
| key_type | Filters by key type. |
| key_id | Filters by the unique key identifier. |
| status | Filters by key status (for example, active or suspended) |
| key_value | Filters by the key value. |
Request Body
- No request body
Example Request
JSON
2
2
1
curl --location --request GET 'https://api.paas.sandbox.co.passportfintech.com/v1/keys' \2
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \Response Body
- HTTP Status Code: 200 OK.
- The response will contain the list of keys, along with its unique identifiers and details.
Example of Response
JSON
21
21
1
{2
"keys": [3
{4
"status": "ACTIVE",5
"key": {6
"key_type": "BCODE",7
"key_value": "0016027228"8
},9
"account_id": "6c23f053-0e1a-46b4-b902-97ba47e351bc",10
"created_at": "2025-10-09T10:42:39.710Z",11
"updated_at": "2025-10-09T10:42:39.710Z",12
"id": "3184cbfd-73bd-4910-bd03-f8461e724247"13
}14
],15
"pagination_info": {16
"first_request_timestamp": "2025-10-09T18:02:18.706Z",17
"current_page": 1,18
"total_pages": 1,19
"total_elements": 120
}21
}Common Errors and Handling
| HTTP Status Code | Meaning | Description |
|---|---|---|
| 400 Bad Request | Invalid Data | Required fields are missing or contain incorrect values. |
| 401 Unauthorized | Expired Token | The access token is invalid or has expired. |
| 403 Forbidden | Access Denied | The request is not authorized to list the Keys. |
| 500 Internal Server Error | Server Error | An unexpected error occurred sending the request. |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Delete KeyDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message