Skip to main content

Set up your checkout

Add a settlement wallet and create a checkout in the dashboard. Copy the embed from Checkout, then paste it into your site’s HTML. Replace YOUR_BUTTON_ID with the checkout’s public button ID.
This example targets sandbox. For production, use a button from the production dashboard and data-api="https://api.gochameleon.xyz". An embed does not require a secret API key.

Allowed sites

If you configure allowed sites for a checkout, enter origins such as https://shop.example.com, one per line, without paths or query strings. Include the origin serving your embed.

What the widget handles

The widget connects a wallet, switches to Arc, submits the payment, and polls for its verified status. Watch the payment move from Awaiting payment to Completed in your dashboard. Fulfill orders from a verified server-side event or authenticated payment status. A browser redirect or client-only success message is not sufficient proof of payment. For server-created orders with a unique hosted checkout URL, use the payment creation quickstart.