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.
  1. 1.
    Go to your business dashboard settings and find your keys.
2. Copy the key you want to use. If you have not completed the KYC process, only your test keys will be present.
3. Include the key in the Authorization header of your requests to the IvoryPay API
const url = '';
const key = 'pk_X8lGAcZjSszo5gjk49IHOuNs860zjN0m1gxmDD1y3c7rgfqKpLX2IOakN0oraSVd';
fetch(url, {
headers: {
'Authorization': key,
.then(data => {
return data.json();
.then(result => {
.catch(e => {