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.Two Integration Options
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 Rampnow Partner Dashboard Example: apiKey=YOUR_API_KEY |
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) Example: srcCurrency=ETH |
srcAmount | Optional | 100 | Amount in srcCurrency Example: srcAmount=100 |
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 | Payment mode with Lowest fee | Payment method: card, google_pay, apple_pay, open_banking, sepa, etc |
walletAddress | Optional | - | User’s crypto wallet address Example: walletAddress=0xYourWalletAddress |
walletAddressTag | Optional | - | Optional wallet tag/memo for supported chains |
externalOrderId | Optional | - | Your internal order ID for tracking |
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:
Redirect Mode
Redirect users to Rampnow’s hosted page for a simpler integration.1
Construct Widget URL
Build your URL with the required parameters.
Example of a full URL with all the parameters:
2
Redirect User
Redirect the user to the constructed URL:
This example:
- User buys 250 EUR worth of BTC
- Crypto sent to wallet:
0xYourWalletAddress - Uses Bitcoin chain for destination
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 deeply integrated user experience
- Partners looking for quick integration
- Applications needing all available payment modes
- Teams wanting consistent branding
⚡ Benefits
⚡ Benefits
- Fastest integration method
- No custom UI development required
- All payment methods supported
- Pre-fill user data for convenience