Skip to main content
The deposit widget embeds Swapped’s checkout so users can buy crypto without leaving your app. The purchased asset lands in the user’s deposit account, then follows the same routing and settlement pipeline as any other deposit.

Start here

  1. Complete the shared widget quickstart.
  2. Deploy the required backend proxy. Fiat onramps require Swapped routes on your backend.
  3. Accept fiat payments and choose whether to use regional payment methods.
Use the shared guides for widget configuration, theming, mobile apps, callbacks and error handling, analytics, history and recovery, and migration.

How it works

  1. The widget registers the service-managed deposit account for your configured destination.
  2. Your backend mints a signed Swapped checkout URL.
  3. The widget opens the checkout and the user completes payment and any required KYC.
  4. Swapped sends the purchased crypto to the deposit account.
  5. Rhinestone routes it to your configured target chain, token, and recipient.
Track backend completion with webhooks. An onramp provider order only reports the purchase; it is not proof that funds settled at your configured destination. Follow the shared order and deposit tracking flow, including the same-chain exception.