Skip to main content
Widget Mode keeps users on your platform throughout the entire transaction flow via iframe or redirect.

Overview

Widget Mode allows you to embed Rampnow’s on-ramp and off-ramp services directly into your application. Users complete transactions within an overlay or iframe without ever leaving your platform.

iFrame or Redirect

Choose between iFrame (embedded) or Redirect mode

Quick Setup

Get started in minutes with URL parameters

All Payment Methods

Support for all available Rampnow payment modes

Customizable

Pre-fill amounts, currencies and wallet addresses
Want programmatic control with event handling and TypeScript support? Use the Rampnow SDK instead — it wraps Widget Mode with a developer-friendly API and a React hook.

URL Parameters

Configure the widget by passing parameters in the URL:

iFrame Mode

Embed the widget directly on your page for a seamless experience.
1

Create Container

Add a container element in your HTML:
2

Construct Widget URL

Build your URL with the required parameters:
3

Initialize iFrame

Embed the widget using an iframe:
The widget will be embedded inside your container, providing an in-page experience for users.

Redirect Mode

Redirect users to Rampnow’s hosted page for a simpler integration.
1

Construct Widget URL

Build your URL with the required parameters:
2

Redirect User

Redirect the user to the constructed URL:
In this example, the user buys 250 EUR worth of BTC on the Bitcoin chain, with crypto sent to 0xYourWalletAddress.

Webhook Integration

Track transaction status in real-time by configuring webhooks in your Rampnow Partner Dashboard.
Set up webhooks to receive notifications when users start or complete transactions.

When to Use Widget Mode

  • Platforms wanting a deeply integrated user experience
  • Partners looking for quick integration with minimal code
  • Applications needing all available payment modes
  • Teams wanting consistent, pre-built UI
  • Fastest integration method — no custom UI needed
  • All payment methods supported out of the box
  • Pre-fill user data for convenience
  • Automatic updates without code changes

Next Steps

Rampnow SDK

Upgrade to the SDK for event handling, TypeScript support, and a React hook

Webhooks

Set up server-side transaction notifications

Supported Assets

View supported cryptocurrencies and fiat currencies

API Reference

Explore the complete API documentation