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?
Initiate a Payment
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Overview
This endpoint allows you to initiate a Bre-B payment within the Passport API. A successful request processes the payment and returns the transaction details, including status and recipient information.
Endpoint Details
| Definition | Description |
|---|---|
| Endpoint | https://api.paas.sandbox.co.passportfintech.com/v1/payments/breb |
| Method | POST |
| Headers | Content-Type: application/json, Authorization |
| Authentication | Access Token (Bearer Token) |
Request Body
| Parameter | Type | Constraints | Required | Description |
|---|---|---|---|---|
| account_id | String | Yes | The unique identifier of the account from which the payment will be made. | |
| resolution_id | String | Yes | The unique identifier from the resolution of the Bre-B recipient for sending the Payment. | |
| amount | Object | Yes | Defines the value and currency of the transaction. | |
| value | String | Yes | The amount to be transferred. | |
| currency | String | ENUM: COP | Yes | The currency of the transaction. |
For notation amount.value, it stats the object.field name.
Example Request
JSON
11
11
1
curl --location --request POST'https://api.paas-sandbox.co.passportfintech.com/v1/payments/breb' \2
--header 'Content-Type: application/json' \3
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \4
--data '{5
"account_id": "a9a0e0f7-0263-44ee-911e-d66910f9f5c7", 6
"resolution_id": "1bc138e3-74fc-4b47-a07c-34c197ee53ff",7
"amount": { 8
"value": "100000",9
"currency": "COP"10
}11
}'Response Body
- HTTP Status Code: 200 OK.
- Returns the newly created payment and its associated metadata.
Example of Response
JSON
48
48
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
"qr_code_reference": "",23
"sender": {24
"account": {25
"account_number": "88509775041",26
"account_type": "ORDINARY"27
},28
"participant": {29
"identification_number": "123456789"30
},31
"owner": {32
"identification_number": "862886878",33
"identification_type": "NIT",34
"type": "BUSINESS",35
"name": "Merchant CWSPZ"36
}37
},38
"amount": {39
"value": "100000",40
"currency": "COP"41
},42
"account_id": "a9a0e0f7-0263-44ee-911e-d66910f9f5c7",43
"created_at": "2025-10-10T08:52:05.171Z",44
"resolution_id": "9e5cd615-d2da-43eb-866e-c0026b177c01",45
"updated_at": "2025-10-10T08:52:05.171Z",46
"status": "PROCESSING",47
"id": "0d9f17a1-af37-4e4d-831d-3520b5797aa1"48
}- The payment status will first be
PENDING. Once the payment is processed, it will change toSETTLED.You can use the Webhooks to check the payment statuses. - The
idyou get back is thepayment_id, which you will use in other endpoints.
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 create a payment. |
| 500 Internal Server Error | Server Error | An unexpected error occurred while processing the payment. |
Best Practices
- Ensure the
account_idandrecipient_idare correct before making the request. - Monitor the payment status (
PENDING,SETTLED, etc.) to track progress. - Implement error handling to manage failed or delayed payments.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
Retrieve PaymentDiscard 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