Skip to main content
Hosted mode gives you full control over the user experience. Users stay on your platform throughout the entire flow.

Overview

Hosted mode allows you to integrate Rampnow’s on-ramp and off-ramp services while maintaining complete control over the user interface. Unlike widget integration, users never leave your platform — you control the entire experience, with Rampnow handling only the payment steps when needed.

Seamless Experience

Keep users on your platform throughout the entire flow

Custom Branding

Minimal Rampnow branding, maximum control

Full UI Control

Build your own interface using Rampnow’s REST APIs

Implementation Steps

1

Onboard User (optional)

This step is optional. Create Order (next step) accepts the same user object and onboards the customer automatically. Call Create Customer User up front only if you want to pre-register a customer or fetch their KYC status via the returned uid before creating an order.
Use the Create Customer User endpoint. It returns a customer uid you can use with Get Customer KYC.
cURL

Key fields

2

Create Order

Create an order using the Create Hosted Order endpoint. The response includes a redirectUrl — send the user there to complete payment (and any KYC) on Rampnow’s hosted screens.
cURL

Key fields

The response returns orderUid, userUid and a redirectUrl. Redirect the user to redirectUrl; track the outcome via webhooks (below) or by polling the order (see Track order status).
3

Set Up Webhooks (Optional)

Track transaction status in real-time by configuring webhooks in your Rampnow Partner Dashboard.
Webhook setup documentation is available in our Webhook Guide.

Integration Flow


Support & Config Endpoints

Instead of probing asset_config pair-by-pair, use these bulk endpoints to discover what is live: Both are HMAC-authenticated like the rest of the external API.

Partner Fee (Markup)

To take a margin on an order, pass your fee on the quote and order-creation requests. Both fields are optional and override the fee configured on your account for that request: They apply to the quote (/ext/ramp_order/quote) and the checkout order (/ext/ramp_order/checkout). When omitted, the account-configured partner fee applies. The resolved partner amount is returned as a separate partner entry in feeDetails on the order responses — GET /ext/ramp_order/{uid} and the webhook — so you can reconcile it (see below). It is not broken out in the quote, where it stays folded into the platform line. Add either field to the Create Order body from the previous step, e.g.:

Fee Breakdown (feeDetails)

Quote and order responses return a feeDetails array. Each entry has a type, fee, currency, and isInclusive. The returned type values are: Reconciliation. In the quote, the partner fee is folded into platform, so total = platform + network. On the order responses it is broken out: platform excludes the partner amount and a partner line is added, so total = platform + network + partner — the total is identical either way.

Track order status

You receive a webhook on every order status change (recommended — see Webhooks). To poll instead, use Get Order:
cURL
  • The path parameter is your externalOrderUid (the id you sent on Create Order), not Rampnow’s orderUid.
  • The response is an arrayorderList — of orders matching that external id (normally one). Read status (and paymentStatus) from the entry; the full list of statuses and their meaning is in the webhook status table.

When to Use Hosted Mode

  • Platforms requiring a fully custom user experience
  • Teams wanting minimal Rampnow branding
  • Applications needing full UI control over every step
  • Requires custom UI development on your end
  • Integration takes longer than widget mode or the SDK
  • You manage the user flow and error handling

Next Steps

Create Customer User

Onboard users with the Create Customer User endpoint

Create Order

Create hosted orders via the API

Webhooks

Set up real-time transaction status notifications

Rampnow SDK

Prefer a quicker integration? Try the SDK with built-in event handling