How it works
Add checkout to your app
1
Create a session
On your server, create a session with the amount, description, and optional receipt.
2
Show checkout
Show it inline, in a popup, or on the hosted page.
3
Confirm and fulfill
Verify the signed webhook, then fulfill the order.
@withlocus/checkout-react.
Payment methods

Choose a payment method
Receipts and payment confirmation
Attach line items, tax, seller details, and support information to a session. The checkout page shows the receipt, and the buyer can find it later in Purchases. When a payment confirms on-chain, Locus sends your server a webhook, and the React component callsonSuccess so your page can show confirmation. Verify the webhook before fulfilling an order.
Merchant dashboard
Track revenue, session conversion, and payment methods on the Merchant page of the dashboard. Group sessions by checkout instance to compare integration points.
Checkout analytics
Sessions
Locus creates the session ID and checkout URL for you. Sessions expire after 30 minutes by default, and only pending sessions can be changed.Next steps
Integration example
Create a session and show checkout.
Merchant integration
Display modes, callbacks, and the dashboard.
Payment webhooks
Confirm payments on your server.
Buyer and agent guide
Pay with a wallet or your agent.