Skip to main content
Accept USDC in your app with a hosted checkout page and a React component. Locus handles wallet connections, payment confirmation, and webhooks. The same checkout works for people and AI agents. A person connects a wallet; an agent reads the checkout details and pays through the API.

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.
Start with the integration example. The React SDK is @withlocus/checkout-react.

Payment methods

Locus checkout with wallet and agent payment options

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 calls onSuccess 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.
Revenue, sessions, conversion rate, and payment methods

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.