Title
Create new category
Edit page index title
Edit category
Edit link
Resolve a Recipient
Overview
This endpoint allows you to retrieve details of a specific Bre-B recipient within the Passport API using the recipient's unique ID. The response includes recipient key type, key value, and associated entity details.
Endpoint Details
Definition | Description |
|---|---|
Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/recipients/:recipient_id/resolve |
Method | POST |
Headers | Authorization |
Authentication | Access Token (Bearer Token) |
Replace recipient_id with the actual unique ID of the recipient.
Request Body
No request body
Example Request
Response Body
HTTP Status Code: 200 OK
The response contains the recipient metadata.
Example of Response
The response confirms the recipient details and its association with a specific Bre-B Key within the central directory of the Banco de la República.
The id you get back is the resolution_id, which you will use in other endpoints.
Make sure to re-use the resolution_id when you are re-trying a payment. This is crucial as we guarantee that only one payment will be created with the same resolution_id. In other words, it acts as an idempotency key, ensuring that duplicate payments are not processed.
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
Ensure the recipient
idis correctly provided in the request URL.Use the retrieved recipient details for initiating Bre-B payments - pass the
resolution_idwthin the Payment body.