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 Payment
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint retrieves detailed information about a specific Bre-B payment by its unique identifier. It includes metadata such as status, direction, amount, recipient, and timestamps.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/payments/:payment_id |
| Method | GET |
| Headers | Content-Type: application/json, Authorization |
| Authentication | Access Token (Bearer Token) |
Request Body
This endpoint does not require a request body.
Example Request
JSON
2
2
1
curl --location 'https://api.paas.sandbox.co.passportfintech.com/v1/payments/0d9f17a1-af37-4e4d-831d-3520b5797aa1' \2
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \Response
- HTTP Status Code: 200 OK.
Example of Response
JSON
52
52
1
{2
"receiver": {3
"account": {4
"account_number": "88509775041",5
"account_type": "ORDINARY"6
},7
"key": {8
"key_type": "PHONE",9
"key_value": "3975999158"10
},11
"participant": {12
"identification_number": "123456789"13
},14
"owner": {15
"identification_number": "862886878",16
"identification_type": "NIT",17
"type": "BUSINESS",18
"name": "Merchant CWSPZ"19
}20
},21
"direction": "OUTBOUND",22
"error": {23
"error_description": "B002",24
"error_code": "B002"25
},26
"qr_code_reference": "",27
"sender": {28
"account": {29
"account_number": "88509775041",30
"account_type": "ORDINARY"31
},32
"participant": {33
"identification_number": "123456789"34
},35
"owner": {36
"identification_number": "862886878",37
"identification_type": "NIT",38
"type": "BUSINESS",39
"name": "Merchant CWSPZ"40
}41
},42
"amount": {43
"value": "100000",44
"currency": "COP"45
},46
"account_id": "a9a0e0f7-0263-44ee-911e-d66910f9f5c7",47
"created_at": "2025-10-10T08:52:05.171Z",48
"resolution_id": "9e5cd615-d2da-43eb-866e-c0026b177c01",49
"updated_at": "2025-10-10T08:52:13.570Z",50
"status": "REJECTED",51
"id": "0d9f17a1-af37-4e4d-831d-3520b5797aa1"52
}Common Errors and Handling
| HTTP Status Code | Meaning | Description |
|---|---|---|
| 400 | Bad Request | Malformed id or invalid request |
| 401 | Unauthorized | Missing/expired bearer token, or token lacks paas.core.breb_payments.get scope |
| 403 | Forbidden | Caller not permitted to retrieve this payment |
| 404 | Not Found | Payment with the given id does not exist |
| 500 | Server Error | Unexpected error; retry or contact support |
Best Practices
- Always log the
id, status, and reference when retrieving a payment for reconciliation. - Pair with List Payments to monitor batch operations or multiple customer transactions.
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 PaymentsDiscard 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