Resolve Bre-B Key
Overview
This endpoint allows you to retrieve details of a specific Bre-B Key within the Passport API using the base information of the Key: key type and key value.
This will be best used when the Customer is making a one time, or irregular, Payment to the Key owner, such as at a Point of Sale (PoS) point in a restaurant, or online purchase. The Recipient is not needed to be stored so fewer API calls are needed to complete a Payment.
Endpoint Details
Definition | Description |
---|---|
Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/key-resolution |
Method | POST |
Headers | Authorization |
Authentication | Access Token (Bearer Token) |
Request Body
Parameter | Type | Constraints | Required | Description |
---|---|---|---|---|
customer_id | UUID | - | Mandatory | The unique id of the Customer making the erquest |
key | Object | Mandatory | An object that stores the Key information. | |
key_type | ENUM | PHONE , EMAIL , ID , ALPHA , BCODE | Mandatory | The type of Bre-B Key that is to be resolved. Required to be one of: Type of key. Accepted values:
|
key_value | String | Various | Mandatory | The Bre-B Key that is to be resolved. |
Example Request
curl --location --request POST 'https://api.paas.sandbox.co.passportfintech.com/v1/keyresolution' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data '{
"customer_id": "133009ae-cf5d-4140-a4e2-3f950aa5550f",
"key": {
"key_type": "M",
"key_value": "3975999158"
}
}'
Response Body
- HTTP Status Code: 200 OK
- The response contains the Bre-B Key metadata.
Example of Response
{
"created_at": "2025-10-04T01:06:32.991Z",
"updated_at": "2025-10-04T01:06:32.991Z",
"participant": {
"identification_number": "123456789"
},
"receptor_node": "VIS",
"id": "f6940447-15e2-46bf-9143-0700840aa465",
"account": {
"account_type": "ORDINARY",
"account_number": "88758829529"
},
"owner": {
"identification_type": "NIT",
"type": "BUSINESS",
"business_name": "Merchant G60PG",
"identification_number": "642349532"
},
"last_resolved_at": "2025-10-04T01:28:36.408Z",
"key": {
"key_type": "M",
"key_value": "3975999158"
},
"customer_id": "3c613868-aa8b-4457-be8a-8f036551d797"
}
The response confirms the translation of the Bre-B Key to the financial information that needs to be presented to the Customer, as well as to ensure a potential Payment is routed accordingly.
Common Errors and Handling
HTTP Status Code | Meaning | Description |
---|---|---|
400 Bad Request | Invalid Request | The recipient ID is missing or incorrectly formatted. |
401 Unauthorized | Expired Token | The access token is invalid or has expired. |
403 Forbidden | Access Denied | The request is not authorized to retrieve this recipient. |
404 Not Found | Recipient Not Found | No recipient was found with the given ID. |
500 Internal Server Error | Server Error | An unexpected error occurred while retrieving the recipient. |
Best Practices
- Use the retrieved recipient details for initiating Bre-B payments - use the
id
from the above response to pass as theresolution_id
within the Payment body.