Using a SIMPLE voucher to create a single token payment with built-in FX.A SIMPLE voucher is the easiest way to accept a payment. You specify what currency you want, how much, and where to send it — Bleepay handles everything else including network selection, gas, and FX (foreign exchange). Using a SIMPLE voucher enables the payer to take advantage of FX out of the box. You request payment in one currency (e.g. EURC), and the payer can pay with a different currency they hold (e.g. USDC on the same network). The system automatically calculates the exchange rate and handles the conversion.
Flow
- Payer opens their Bleepay-compatible wallet, authenticates, and opens a context — the wallet displays a context code.
- Payer shares the context code with you (QR, link, NFC, etc.).
- You authenticate using the context code as a resource.
- You reserve a voucher using the context code → receive a 6-digit voucher code.
- You redeem the voucher with
expectedPaymentspecifying what you want to receive. - (Optional) Payer negotiates — if they don’t hold the requested currency, their wallet proposes an alternative. Bleepay calculates the FX rate automatically.
- Payer reviews the transaction in their wallet, signs, and submits the receipt — the wallet resolves the voucher.
- Settlement — funds arrive at your address.
Example: Single EURC payment
The payer has already opened their wallet and shared a context code with you.1. Authenticate
{ "authorization": { "token": "<payee_token>" } }
2. Reserve a voucher
{ "id": "vch_482916", "code": "482916", "status": "RESERVED" }
3. Redeem with expectedPayment
networks, payments, or extras were provided, so it automatically creates a SIMPLE voucher. The network is derived from the currency.
4. Payer resolves
The payer reviews the transaction in their wallet, signs it, and the wallet submits the receipt. Poll until the status reachesRESOLVED:
(Optional) FX negotiation
If the payer doesn’t hold EURC, their wallet can negotiate by proposing a different currency they do hold (e.g. USDC). Bleepay calculates the exchange rate automatically and fills in the required amount, accounting for fees and slippage. This happens on the payer’s side — no action needed from you beyond handling the updatedsuppliedPayment in the voucher response.
Diagram
When to use SIMPLE
- Basic token transfers
- Payments where you want a specific currency and amount
- Scenarios where FX flexibility is desired
- Any straightforward “send me X of token Y” use case
Next steps
- Sessions — group multiple vouchers in a session.
- Smart Contracts — complex interactions with CUSTOM vouchers.
- Integration overview — full parameter reference.