country/currency Bolivia (BOB) is assumed; for Brazil send
country: "BR" and currency: "BRL".
1. Scan the QR (free)
- Bolivia
- Brazil (PIX QR)
2. Confirm the payment (charged here)
- Bolivia
- Brazil (PIX QR)
- the account-default balance equivalent plus the fixed fee is debited at your rate, just like a
bank_transfer. - The result is synchronous: the response already carries the final
state (
completed, orfailedwith an automatic refund) — no waiting. - Retries with the same
idempotency_keyreturn the original payout. In Bolivia the scan reference is single-use (a scanned QR can only be paid once); in Brazil a static PIX QR is reusable and each payment carries its own key. The confirm request also acceptssettlement_asset(USDT,USDC,BTC,GOLD,SILVERorPLATINUM) to select the virtual balance to debit. If it is omitted, the account’s default settlement asset is used. The server generates the payment’s internal identifiers: the integrator sends only the reference returned byscanand the amount with two decimals.
Selecting a BO/BOB banking source
For a BO/BOB payout,source_instrument_id is the explicit origin selector
for an active purpose: "banking" deposit instrument. It is valid only when
the effective settlement is BOB. If you send the field while the payout
settles in USD (or another non-BOB asset), the API returns
422 invalid_source_instrument before any debit; it never silently falls
back to the mother account.
settlement_asset is USD and source_instrument_id is omitted, the
payout uses the mother account’s settlement balance even if several active
BO/BOB banking instruments exist. The response is the normal payout resource
with settlement_asset: "USD" and its final status; no ambiguity error is
returned. Select a banking source explicitly only for a BOB-settled payout.
Status reconciliation
If the synchronous response cannot prove a terminal status, the payout remainsprocessing. Read the existing resource:
completed or failed; a confirmation failed result means the debit
has already been refunded. If the client repeats confirm with the same key,
it receives the original payout with idempotency_hit: true.
Brazil PIX keys that need a document
For a Brazil PIX QR,POST /v1/payouts/qr/scan returns key_type with one
of tax_id, email, phone or evp, plus requires_document. A tax_id
key is the CPF/CNPJ itself and can be confirmed without another document.
For an email, phone or EVP key, confirm with both document_type (CPF or
CNPJ) and document_id:
tax_id and must be supplied
together for every other key type. If a non-tax_id QR is confirmed without
them, the API returns 422 core_rejected with instructions to repeat the
confirm with the beneficiary document. A document that does not match a
tax_id key is rejected. Reusing the same idempotency key with a different
document returns 409 idempotency_conflict; keep the original key and
payload when reconciling an ambiguous response.
Errors
The general error catalog lives in Errors.
FAQ
Does scanning a QR cost anything?
Does scanning a QR cost anything?
No — the scan is a free local read. You are only charged when the confirm
creates the payout.
Can I pay the same QR twice?
Can I pay the same QR twice?
One-time QRs (fixed reference) admit a single payment. Reusable static QRs
can be paid legitimately more than once — that is why the confirm requires
an explicit
idempotency_key per payment.Are dynamic QRs supported?
Are dynamic QRs supported?
Not yet — a dynamic QR answers
invalid_qr_payload (400) with guidance.
Ask the payer for the static QR of the destination.Which FX rate applies?
Which FX rate applies?
The same as a regular payout: the rate quoted at confirm, frozen for that
operation, with your spread already inside.
What if the scanned amount differs from what I want to pay?
What if the scanned amount differs from what I want to pay?
Fixed-amount QRs must be paid exactly; a mismatch fails the payout with an
automatic refund. Open-amount QRs accept the amount you pass on confirm.
Why did my payout with a source fail when I used USD?
Why did my payout with a source fail when I used USD?
source_instrument_id selects a BO/BOB banking origin only for BOB settlement.
With settlement_asset: "USD" it is rejected with
422 invalid_source_instrument before any debit. Remove the field to pay from
the mother account; even with several active BO/BOB banking instruments, an
omitted source does not produce an ambiguity error for USD.How do I retry a failed confirm safely?
How do I retry a failed confirm safely?
Retry with the same
idempotency_key — the QR never gets “burned” by
validation errors: nothing is created until the payload validates.