Skip to main content

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.
With full branding:
See the React Components guide for full props reference, hooks, and theming.

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.
See the JavaScript SDK guide for the full API client reference.

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
The hosted checkout handles quote comparison, payment, and redirects back to your redirectUrl on completion.
Save the clientSecret immediately — it’s only returned once on creation.
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 with fetch or curl.

Get Supported Configuration

Get Quotes

Create Checkout Intent

Get Transaction Status

JavaScript (fetch)

See the Onramp API reference for full request/response documentation.
Webhooks notify your server when transactions complete, fail, or change status. Don’t rely solely on polling.
See the Callback URLs guide for full setup instructions.

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