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?
Retrieve Key
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint allows you to retrieve details of a specific Bre-B key within the Passport API using the key's unique ID. 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/:key_id |
| Method | GET |
| Headers | Content-Type: application/json, Authorization |
| Authentication | Access Token (Bearer Token) |
Request Body
- No request body
Example Request
JSON
2
1
curl --location --request GET 'https://api.paas.sandbox.co.passportfintech.com/v1/keys/3184cbfd-73bd-4910-bd03-f8461e724247' \2
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \Response Body
- HTTP Status Code: 200 OK.
- The response will contain the key details along with its unique identifier.
Example of Response
JSON
11
11
1
{2
"status": "ACTIVE",3
"key": {4
"key_type": "BCODE",5
"key_value": "0016027228"6
},7
"account_id": "6c23f053-0e1a-46b4-b902-97ba47e351bc",8
"created_at": "2025-10-09T10:42:39.710Z",9
"updated_at": "2025-10-09T10:42:39.710Z",10
"id": "3184cbfd-73bd-4910-bd03-f8461e724247"11
}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 retrieve a Key. |
| 500 Internal Server Error | Server Error | An unexpected error occurred while retrieving the Key. |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
List KeysDiscard 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