API Keys

How do I get an API key?

Getting an API key allows you to customize and track your integration and access our newest features. Simply message us at partner@ramp.network and get it in minutes!

How do I add an API key?

In order for our system to properly recognize and count purchases made through your integration we need you to pass additional parameter during widget initialization.

The parameter is hostApiKey, its value type is string.

You should pass it along with other parameters.

SDK

new RampInstantSDK({
hostAppName: 'Your dApp name',
hostLogoUrl: 'url with the logo',
hostApiKey: 'the API key you received',
variant: 'auto',
}).show();

Hosted

<a
href="https://buy.ramp.network/?hostApiKey=the API key you received"
target="_blank"
>
Go to Ramp Instant
</a>