Using your API key
Learn how to obtain and use your API keys
To use your key, add it to the Authorization header of your request.
Go to your business dashboard and find your API keys on the sidebar.

2. Copy the key you want to use. If you have not completed the KYC process, only your test keys will be available for use.
3. Include the key in the Authorization header of your requests to the on-off-ramp API
Base url
a. API: https://ramp-api.ivorypay.io/api/v1
b. Dashboard: https://ramp.ivorypay.io
const url = '{{BASE_URL}}/countries/supported';
const key = 'pk_test_X8lGAcZjSszo5gjk49IHOuNs860zjN0m1gxmDD1y3c7rgfqKpLX2IOakN0oraSVd';
fetch(url, {
headers: {
'Authorization': key,
}
})
.then(data => {
return data.json();
})
.then(result => {
console.log(result);
})
.catch(e => {
console.log(e);
});
Last updated