Accept Bre-B payments
Problem
Merchants need instant payments with a local user experience and real-time confirmation.
Architecture
Bre-B flow
Customer
Merchant Checkout
Orangepill Bre-B Gateway
Dynamic QR / Dynamic Key
Banking App
Bre-B Network
Payment Confirmation
Implementation
Implementation
- 1Create a checkout session for the purchase amount.
- 2Render Bre-B QR or dynamic key in the checkout UI.
- 3Confirm payment via webhook or status polling.
- 4Reconcile the payment in treasury.
API example
Create checkout session
const session = await orangepill.checkout.sessions.create({
amount: 50000,
currency: "COP"
})Production considerations
- Validate webhook signatures before fulfilling orders.
- Use idempotency keys for checkout creation.
- Monitor provider latency and enable routing failover.
- Reconcile Bre-B settlements into the ledger.