Pay-in
Receive over Bre-B
Register alphanumeric Bre-B keys so people transfer straight into your COP balance, instantly and at any hour.
Bre-B is Colombia's instant payment system. With a key (@yourcompany) your customers transfer from their bank's app and the money lands in your COP balance within seconds, any day at any hour.
Register a key
POST/v1/bre-b/keysCreate a Bre-B keySandbox · coming soon
POST /v1/bre-b/keys
curl https://sandbox.zulu.com.co/v1/bre-b/keys \
-H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
-H "X-API-Key: $ZULU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "@acmepagos"
}'- The key is
@followed by 1 to 30 letters or digits. - Keys starting with
@zuluand the sandbox's test data are reserved. - A workspace holds up to 5 keys. To create another, delete one you do not use.
You can use several keys to split your collection channels (@acmestore, @acmebilling): every deposit carries the key that received it.
Key statuses
| Status | Receives payments | What it means |
|---|---|---|
ACTIVE | Yes | Active. |
ACTIVE_BY_CLIENT | Yes | Active, reactivated by its holder after a suspension. |
BLOCKED_BY_ZULU | No | Blocked by zulu. |
BLOCKED_BY_CLIENT | No | Suspended by its holder. |
/v1/bre-b/keysList your Bre-B keysSandbox · coming soon
DELETE/v1/bre-b/keys/{key}Delete a Bre-B keySandbox · coming soon
To delete a key, send it URL-encoded: @acmepagos → %40acmepagos. QR codes tied to that key stop taking payments.
Receive a transfer
Every transfer to your key creates a deposit with method: BRE_B and reference equal to the key, and sends the DEPOSITS webhook. Bre-B accepts up to 12,110,000 COP per transfer.
In the sandbox, simulate the incoming transfer:
POST/v1/sandbox/bre-b/transfers/inSimulate an incoming Bre-B transferSandbox only
POST /v1/sandbox/bre-b/transfers/in
curl https://sandbox.zulu.com.co/v1/sandbox/bre-b/transfers/in \
-H "Authorization: Bearer $ZULU_ACCESS_TOKEN" \
-H "X-API-Key: $ZULU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "@acmepagos",
"amount": 250000,
"payer": {
"fullName": "Marta Ruiz",
"documentType": "CC",
"documentNumber": "52123456",
"bankName": "Banco Davivienda"
}
}'Errors
| HTTP | error | cause | Description |
|---|---|---|---|
| 404 | NotFoundApiError | bre-b key "%s" not found | The key does not exist (in your workspace, or in the Bre-B directory when resolving it). Test data: @notfound. |
| 409 | ResourceConflictApiError | bre-b key "%s" already exists | You already registered that key. |
| 422 | UnprocessableEntityApiError | the workspace already has %d bre-b keys | You reached the workspace maximum of keys. Delete one to create another. |
| 422 | UnprocessableEntityApiError | bre-b key "%s" is reserved | Keys starting with @zulu and the sandbox test data are reserved. |
| 422 | UnprocessableEntityApiError | bre-b key "%s" is blocked | The key is blocked and does not receive payments. |
| 422 | UnprocessableEntityApiError | amount %d is above the bre-b maximum of %d | Bre-B accepts up to 12,110,000 COP per transfer. |