Breb Payment Flow
Breb enables payments via bank transfer using a QR code or transfer key. The buyer scans the QR or enters the key in their banking app to complete the payment.How it works
Display QR code and key
The response includes a
qr_code (base64-encoded image) and a key (text string). Display both to the buyer — the QR code for scanning, and the key as a fallback for manual entry.Buyer completes transfer
The buyer opens their banking app, scans the QR code or enters the transfer key, and confirms the payment.
Required fields
| Field | Required | Description |
|---|---|---|
shopper.id_number | Yes | Buyer’s national ID (cedula) |
shopper.id_type | Yes | Document type ID from Document Types |
shopper.email | Yes | Buyer’s email |
shopper.phone_number | Yes | Buyer’s phone number |
shopper.country | Yes | CO |
Example request
Example response
Displaying the QR code
Theqr_code field contains a base64-encoded PNG image. To display it in HTML:
key value as text alongside the QR code so the buyer can copy and paste it if they prefer not to scan.
Important notes
- The buyer completes payment asynchronously (like Nequi), so you must rely on webhooks or polling for confirmation.
- Breb requires the same national ID fields as Daviplata, and only accepts CC, CE, and TI document types.
- The QR code and key have a limited validity window. If expired, cancel the order and create a new one.