Documentation Index
Fetch the complete documentation index at: https://docs.tumipay.co/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Bre-B PayIn lets Colombian customers initiate instant transfers to your business using their registered Bre-B key or interoperable QR. Transactions settle in real time and TumiPay sends webhook updates so you can confirm funds immediately. Review the Bre-B overview before configuring the PayIn-specific steps outlined here.Flow Summary
- Your application creates a PayIn request with
payment_method: "BREB". - TumiPay responds with a hosted
payment_urland the Bre-B transaction metadata (data.account_number) that the customer must use. - You redirect or show the
payment_url, where the user retrieves the Bre-B key and completes the transfer from their bank or wallet app. - TumiPay sends webhook notifications once the network settles the instruction and reports the definitive status and amount.
Request Essentials
| Parameter | Value / Requirement | Notes |
|---|---|---|
| Endpoint | POST /api/v1/payin | Same endpoint as other PayIn methods. |
| Currency | COP | Amount sent in minor units. |
| Country | CO | Indicates Colombia. |
| Payment Method | "BREB" | Restricts the experience to Bre-B flows. |
| redirect_url | Required | Customers return here after completing the flow. |
| ipn_url | Required | Receives asynchronous updates. |
| expiration_time | Optional (recommended) | Time in minutes that the Bre-B key remains valid on the hosted page. Default is 15. |
| customer_data | Must include legal_doc, legal_doc_type, phone_code, phone_number, email, full_name | Enables compliance validation and contact. |
For Bre-B payments, the customer must complete the payment in their institutionβs channel and can modify the amount before authorizing it, so make sure your application handles this case appropriately.
Example Request
Response Snapshot
A successful Bre-B PayIn request responds with HTTP200 and provides:
code:"01"indicating the instruction was accepted.status:"SUCCESS"confirming the Bre-B charge was created.data.payment_url: Hosted link that displays the payment instructions and Bre-B key.data.transaction: Echo of the request metadata.data.account_number: The Bre-B key the customer must enter in their bank or wallet.
Example Response
Webhook Notifications
Bre-B PayIn shares the same webhook contract as other PayIn methods. Expect the following statuses:| Status | Description |
|---|---|
PENDING | Waiting for the customer to authorize the payment. |
APPROVED | Funds settled successfully through Bre-B. |
REJECTED | Customer cancelled the authorization or the institution declined it. |