You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
What are widgets?
The buy and sell flow, embedded in your own pages with one script.
A widget is the whole trading flow on your own page. You add a script and a target element; the customer never leaves your site, and you do not build any of the screens: amount entry, payment, verification and delivery all happen inside it.
The live widget is not configured on this deployment.
That is not a picture: it is the buy widget, running live.
Available widgets
- Buyfiat-to-coin
- The customer buys crypto with fiat: amount, payment method, wallet address and payment.
- Sellcoin-to-fiat
- The customer sells crypto for fiat, paid out to their account. Your app can send the crypto for them.
- Transaction historytransaction-history
- The customer’s orders, after they sign in.
- Onboardingonboarding
- Registration and identity verification, on its own.
- DCAdollar-cost-average
- Recurring purchases: the customer sets up a savings plan funded by bank transfer.
Widget or Unified Checkout?
- Unified CheckoutA link
- You send the customer to a page we host. Least work, and nothing to maintain when a payment method changes. The customer leaves your site.
- WidgetA script
- The flow renders inside your page. The customer stays with you, and you own the surrounding layout.
Both drive the same orders, the same verification and the same webhooks. The choice is about where the customer is standing, not about what they can do.
How it works
- Add the widget's script to your page.
- Initialise it with your api-key.
- The widget renders in a target element on your page.
- The customer completes their order inside the widget.
- You follow the order through its webhooks and the widget's events.
Getting started walks through each step.