Integration guides
Three ways to accept payments with Xclusor — from zero code to a fully automated checkout.
1. No code: payment links
Create an invoice in the dashboard and send the checkout link by chat, email or social media. Ideal for freelancers, social sellers and one-off orders.
2. Redirect checkout (recommended)
- When the customer clicks "Pay with crypto", your server calls
POST /v1/invoiceswith their order total and yourorder_id. - Redirect the customer to the returned
checkout_url. - Xclusor shows the QR, amount and countdown and verifies the payment.
- Your webhook receives
invoice.paid; mark the order paid. - The customer returns to your
success_url.
Never trust the redirect alone to mark an order paid — always rely on the webhook or an API check.
3. Custom checkout
Build your own payment screen using the invoice's address, payable_amount, network and expires_at, then poll GET /v1/invoices/{id} or wait for the webhook. Show the exact amount and network prominently.
Testing
Create a test API key (xlr_test_…). Invoices made with it are marked "mode": "test", so you can build and test your flow without real funds. Switch to a live key (xlr_live_…) when you launch.
Go-live checklist
- Payout wallets added and tested with a small real payment.
- Webhook signature verification and duplicate handling in place.
Idempotency-Keysent on invoice creation.- API keys stored server-side only, never in browser code.
Next: Code examples · API reference
Ready to accept crypto the right way?
Set up your first invoice today. Your keys, your coins, your customers.