Skip to main content

Hosted Checkout

The simplest integration path. Create an invoice via the API and redirect your customer to the Settlx-hosted checkout page. No frontend work required.

How it works

  1. Your backend creates an invoice via API
  2. You redirect the customer to invoice.paymentUrl
  3. The customer selects token + chain on the Settlx checkout page
  4. A unique payment address is shown with a QR code
  5. The customer pays from their wallet
  6. Settlx sends webhooks to your backend as the payment progresses

Step 1 — Create the invoice

When your customer clicks “Pay with Crypto” in your checkout:

Step 2 — Handle webhooks

Set up your webhook endpoint to receive payment events:

Step 3 — Handle the return (optional)

After payment, you can redirect customers back to your site. Add a success/cancel URL as metadata:
Then in your webhook handler, redirect based on payment status.

Complete integration checklist

1

Create invoice via API

Use the POST /api/v1/invoices endpoint with amount, currency, and webhook URL.
2

Redirect to paymentUrl

Send the customer to invoice.paymentUrl (can be a redirect or an iframe).
3

Receive webhooks

Handle invoice.settled to fulfill the order and invoice.expired for timeouts.
4

Verify webhook signatures

Set a webhook secret in the dashboard and verify the X-Webhook-Signature header on every delivery.

Customising the checkout page

Branding options — including your logo, primary colour, and post-payment return URL — can be configured via the Settlx Dashboard under Settings → Checkout.