Group multiple vouchers in a session for multi-payment flows.A session groups multiple vouchers together under a single context. Each voucher within the session is treated independently — with its own code, lifecycle, and settlement — but they share the same session for tracking and coordination. Each voucher in a session has the same capabilities as a standalone payment: SIMPLE vouchers support FX, network auto-detection, and straightforward token transfers.
Why use sessions?
- Multi-payment checkout: A customer pays for multiple items as separate transactions but tracked together.
- Split payments: Pay different recipients from a single user session.
- Multi-currency: Accept EURC for one item and USDC for another, both in the same session.
Flow overview
- Payer opens their wallet, authenticates, and opens a context — shares the context code with you.
- You authenticate using the context code.
- You open a session using the context code.
- Payer joins the session in their wallet.
- You reserve and redeem each voucher independently within the session.
- Payer resolves each voucher independently in their wallet.
- You close the session when done.
Example: Two payments (EURC + USDC) in one session
The payer has already opened their wallet and shared a context code with you.1. Authenticate and open a session
{ "id": "ses_xyz", "code": "D4E5F6", "status": "OPEN" }
The payer joins the session in their wallet.
2. Reserve and redeem first voucher (EURC)
{ "id": "vch_482916", "code": "482916", "status": "RESERVED" }
3. Reserve and redeem second voucher (USDC)
{ "id": "vch_739104", "code": "739104", "status": "RESERVED" }
4. Payer resolves, you close
The payer signs and submits receipts for each voucher in their wallet. Once all are resolved, close the session:Diagram
Key points
- Each voucher in a session is independent — status, lifecycle, and settlement are tracked per-voucher.
- Each voucher has the same capabilities as a standalone SIMPLE payment (FX, auto-network, etc.).
- The session groups them for coordination but does not couple their fates.
- Close the session once all vouchers are resolved.
Next steps
- Simple Payments — single voucher payments.
- Smart Contracts — CUSTOM voucher for contract interactions.