Online Checkout
Server-side payment creation flow. Your backend calls createPayment() to generate a unique payment ID, then passes it to the SDK. This separates order creation from the payment UI, making it suitable for e-commerce and invoicing.
- 1Set destination chain, token, address & amount
- 2Click "Create Payment" to call createPayment() API
- 3API returns a paymentId tied to this order
- 4SDK opens with payId; user pays against that order
In production, createPayment() runs on your server so users can't tamper with the amount or destination.
Fill in all fields to create a payment.
Events
Events will appear here as you complete payment steps.