Skip to content
developers

Getting started

Test data and simulators

Values that force a documented outcome, the sandbox simulators and the settings you can simulate, to test every branch of your integration.

Sandbox only

The sandbox answers like production, but it lets you reach every branch of a flow —rejections, fallbacks, errors— without waiting for them to happen for real.

Magic values

Send these values in a normal request and you get the documented outcome. They are deliberately implausible as real data and never collide with each other.

FieldValueEffectOperations
destination.bankAccount.accountNumber0000000001The withdrawal goes out by ACH (IN_PROGRESS), reaches SENT and ends REJECTED; the debit is reversed and a webhook is sent for each change.createTransfergetTransactionadvanceTransaction
destination.bankAccount.accountNumber0000000002The ACH dispatch does not queue: the withdrawal continues as a manual payment and answers {status: IN_PROGRESS, method: MANUAL}.createTransfer
destination.breBKey.key@failbrebThe Bre-B transfer fails: the withdrawal is left for manual payment and answers {status: CREATED, method: MANUAL}, as in production.createTransfer
destination.documentNumber1111111111The beneficiary is registered but not verified: 422 the beneficiary with document "1111111111" is not verified.createTransfer
destination.documentNumber2222222222The beneficiary is already registered as "Ana Pérez". A name sharing a word (regardless of accents, case or order) passes; any other answers 422 the name does not match the beneficiary registered with document "2222222222".createTransfer
destination.bankAccount.bankCode9999The bank is not in the catalog: 422 bank with code "9999" is not supported.createTransfer
{key}@notfoundThe key does not exist in the directory: 404 bre-b key "@notfound" not found.resolveBreBKey
{key}@bloqueadaThe key exists but is blocked: the resolution answers status: BLOCKED_BY_ZULU.resolveBreBKey

Simulators

Third-party payments and the passing of time are simulated with endpoints that only exist in the sandbox:

POST/v1/sandbox/recharge-links/{slug}/paySimulate a PSE link paymentSandbox only POST/v1/sandbox/bre-b/transfers/inSimulate an incoming Bre-B transferSandbox only POST/v1/sandbox/bre-b/qr-codes/{id}/paySimulate a QR code paymentSandbox only POST/v1/sandbox/transactions/{transactionId}/advanceAdvance a transactionSandbox only POST/v1/sandbox/balances/top-upTop up the simulated balanceSandbox only

Payer data you do not send is filled with deterministic synthetic data: the same input always gives the same outcome.

The rules every outcome follows

They are not tricks: they are production's rules, plus the simulated timings.

RuleOperations
Bre-B accepts up to 12,110,000 COP per transfer: a withdrawal with breBKey and an amount up to 12,110,000 goes Bre-B; above it, ACH and manual payment are evaluated.createQrCodecreateTransfersimulateBreBTransferIn
Online ACH only with whole pesos: an amount with decimals (for example 150000.50) goes MANUAL.createTransfer
Online ACH requires canUseAchDispersion, a bank with a 4-digit ACH code, a savings or checking account, up to 250,000,000 COP and room in the daily caps (count and sum). If anything fails, or the dispatch does not queue, the withdrawal goes MANUAL.createTransfer
A withdrawal amount is rounded to cents (2 decimals), like production's round2.createTransfer
Dispersion fee = round(fixed + amount × rate / 100). The balance must cover amount + fee, and that total is what insufficient COP balance to withdraw shows.createTransfer
Validation order: verified user (403) → origin entity (422) → verified beneficiary and name (422) → method → balance with the fee (422) → COP account (422) → bank and account type (422) → order and debit → dispatch. The first failure answers; nothing is recorded.createTransfer
Initial status: Bre-B CREATED; ACH and manual IN_PROGRESS.createTransfer
Simulated timings: Bre-B COMPLETED after 3 s; ACH SENT after 30 s and COMPLETED after 60 s; manual SENT at the next 15:30 business cutoff and COMPLETED at 09:00 of the next business day (with Colombian holidays). advanceTransaction skips the wait.createTransferlistTransactionsgetTransactionadvanceTransaction
A REJECTED withdrawal returns the debit to the balance in the sandbox. In production operations performs the reversal.getTransactionadvanceTransaction
Any key that is not test data resolves to a deterministic synthetic holder (the same key always gives the same data), never to another workspace's data.resolveBreBKey
The rate is synthetic and deterministic: the workspace mid rate (3,950.00) plus the term's spread when buying USD, or minus it when selling. Not a real quote.getQuotecreateFxTransaction
With f₂ = factor × 100: COP→USD, cents = round(pesos × 10⁴ / f₂); USD→COP, pesos = round(cents × f₂ / 10⁴). With destinationAmount, the origin rounds up. Both sides must stay within the limits.createFxTransaction
A quote lives 30 seconds and serves a single conversion.getQuotecreateFxTransaction
The settlement date counts days on which both Colombia and the United States are open: SAME_DAY is the first from today on, NEXT_DAY and SECOND_DAY one and two more. A US holiday (Thanksgiving) is not a settlement day even though the Colombian market opens.getQuotecreateFxTransaction
A conversion stays IN_PROGRESS and becomes COMPLETED at 15:30 (Bogotá) on its settlement date, or 30 s after it was created when that time has passed; the destination is credited then. advanceTransaction settles it at once and REJECTED gives the origin back.createFxTransactiongetTransactionadvanceTransaction

Workspace settings

From the dashboard you can simulate the state of your user and account, as production would see them:

SettingDefaultEffect
verifiedtrueWhether the user is verified. Off, POST /v1/transfer answers 403 the user is not verified.
copAccounttrueWhether the COP balance account exists. Off, withdrawals answer 422 the user does not have a COP balance account.
canUseAchDispersiontrueWhether the user may disperse by online ACH (on by default, as in production). Off, everything that is not Bre-B goes MANUAL.
dispersionFee{ fixed: 0, rate: 0, includeOwnAccounts: false }Dispersion fee: round(fixed + amount × rate / 100), added to the amount when the balance is checked. 0 by default; own accounts are exempt unless includeOwnAccounts.
achDailyCount10000How many online ACH withdrawals fit in a day (10,000 by default, as in production). Beyond it, the withdrawal goes MANUAL.
achDailyAmount999999999999999Daily sum of online ACH withdrawals (999,999,999,999,999 COP by default, as in production). Beyond it, the withdrawal goes MANUAL.
marketHours"ALWAYS_OPEN"ALWAYS_OPEN (default, like production's test users) or REAL: 08:05–15:30 on business days and SAME_DAY only before 13:00.
midRate3950Synthetic COP/USD mid rate (3,950.00 by default). Not a real quote.
spreadBps{ SAME_DAY: 60, NEXT_DAY: 45, SECOND_DAY: 35 }Spread in basis points per settlement term, added when buying USD and subtracted when selling: SAME_DAY 60, NEXT_DAY 45, SECOND_DAY 35.