Integrate NowRamp in Minutes
Choose the integration path that fits your stack. All three approaches use the same Onramp API — they differ in how much UI NowRamp handles for you.Prerequisites
- A partner account with a project ID
- Optional: a public key (
pk_live_...) for higher rate limits
The Onramp API is public — no API key is required. Pass your
projectId as a query parameter.Option 1: React Components
The fastest path. The@nowramp/form package provides a complete checkout form that handles currency selection, quote comparison, wallet input, and provider checkout.
Option 2: JavaScript SDK
For non-React apps or when you want full UI control. The@nowramp/sdk package provides a RampApi client for all onramp endpoints.
Option 3: Session-Based Checkout (Hosted)
The most secure integration. Create a checkout session server-side with your secret key (sk_), then redirect users to our hosted checkout page. No frontend code required — we handle the full checkout UI.
This is ideal for:
- Gaming platforms — redirect players to buy crypto without building a checkout UI
- Backend-only integrations — mobile apps, game servers, API-first flows
- Maximum security — wallet address and amount are locked server-side
redirectUrl on completion.
You can also skip hosted checkout and build your own UI using the session endpoints. See the full Session-Based Checkout guide for both variants, field locks, error handling, and more.
Option 4: Raw API
No SDK needed — call the endpoints directly withfetch or curl.
Get Supported Configuration
Get Quotes
Create Checkout Intent
Get Transaction Status
JavaScript (fetch)
Configure Webhooks (Recommended)
Webhooks notify your server when transactions complete, fail, or change status. Don’t rely solely on polling.Test Your Integration
Use the sandbox environment for testing:Next Steps
Session-Based Checkout
Secure server-side sessions with hosted or custom checkout
Multi-Provider Quotes
Build a quote comparison UI
Onramp API
Full API reference
Sessions API
Session endpoints reference
React Components
Drop-in form with theming and hooks
Callback URLs
Server-side transaction notifications