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
URL Parameters
Configure the widget by passing parameters in the URL:| Parameter | Required | Default | Description |
|---|---|---|---|
apiKey | Required | — | Your unique API key from the Partner Dashboard |
orderType | Optional | buy | Transaction type: buy or sell |
srcChain | Required | buy: fiatsell: ethereum | Source chain for the asset user is spending |
srcCurrency | Optional | buy: EURsell: ETH | Currency user is spending (fiat for buy, crypto for sell) |
srcAmount | Optional | 100 | Amount in source currency |
dstCurrency | Optional | buy: ETHsell: EUR | Currency user receives (crypto for buy, fiat for sell) |
dstChain | Required | buy: ethereumsell: fiat | Destination chain for received currency |
paymentMode | Optional | Lowest fee | Payment method: card, google_pay, apple_pay, open_banking, sepa, etc. |
walletAddress | Optional | — | User’s crypto wallet address |
walletAddressTag | Optional | — | Wallet tag/memo for supported chains (XRP, XLM, etc.) |
externalOrderId | Optional | — | Your internal order ID for tracking |
iFrame Mode
Embed the widget directly on your page for a seamless experience.Redirect Mode
Redirect users to Rampnow’s hosted page for a simpler integration.
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.When to Use Widget Mode
Ideal For
Ideal For
- 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
Benefits
Benefits
- 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