Skip to main content
Hypermid integrates with RampNow to provide a fiat-to-crypto on-ramp. Users can purchase crypto using credit cards, debit cards, and bank transfers, and receive tokens directly on their preferred blockchain.

Flow Overview

1

Get Configuration

Fetch supported fiat currencies and payment methods via GET /v1/onramp/config.
2

Get Available Assets

Fetch purchasable crypto assets via GET /v1/onramp/assets.
3

Get a Quote

Get pricing for the fiat-to-crypto conversion via POST /v1/onramp/quote.
4

Create Checkout

Create a checkout session and get a redirect URL via POST /v1/onramp/checkout.
5

Redirect User

Send the user to the checkout URL to complete payment.
6

Track Status

Poll the order status via GET /v1/onramp/status until completion.

Step 1: Get Configuration

Fetch the available fiat currencies and payment methods:

Step 2: Get Available Assets

Fetch the list of crypto assets available for purchase:

Step 3: Get a Quote

Request a quote for the fiat-to-crypto conversion:

Step 4: Create Checkout Session

Create a checkout session to get a payment URL:

Step 5: Track Order Status

After the user completes payment, poll the order status:

Complete Example

Best Practices

The fiat on-ramp involves real money. Always show users a clear summary of fees, exchange rates, and the expected crypto amount before redirecting to checkout.
  1. Show fees transparently — Display the breakdown of network fees, processing fees, and exchange rate before the user proceeds.
  2. Use webhooks for production — Instead of polling, configure a webhook to receive order status updates automatically.
  3. Handle KYC requirements — Some jurisdictions and amounts may require additional KYC verification. The checkout flow handles this automatically, but inform users they may need to verify their identity.
  4. Set appropriate redirect URLs — The redirectUrl should point to a page in your app that shows the order status and provides a good user experience.
  5. Respect minimum/maximum amounts — Check the asset’s minAmount and maxAmount from the assets endpoint before requesting a quote.