Skip to main content

Onramp Widget

Overview​

Onramp Widget is a hosted Calypso page that lets customers pay with fiat while the merchant receives cryptocurrency through the onramp flow.

Use the widget when you want to generate a payment session through API and then open a ready-to-use Calypso onramp page by redirecting the customer or embedding it into the merchant website.

How it works​

StepDescription
Generate widget keyMerchant creates a widget session with POST /api/v1/fiat/deposit/key/generate.
Open widgetMerchant builds the widget URL with account, widgetKey, and idempotencyKey.
Customer paysCustomer selects payment details and completes fiat payment in the widget.
Track statusMerchant receives ONRAMP webhooks and can verify order state through Fiat Deposit API.

Test widget​

You can try the test ONRAMP widget here: https://pay.calypso.money/onramp?color=256eff&logo=true&radius=6&test=true&theme=light.

Guides​

GuideDescription
How to integrate the ONRAMP widgetGenerate widget key, build widget URL, open the widget, and track order status.
How to customize the ONRAMP widgetConfigure widget color, logo visibility, corner radius, and theme.
How to embed the ONRAMP widget to your siteEmbed the widget into the merchant website with iframe.
APILink
Webhook APIWebhook API reference