Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Credential

Description

API Key

This is required together with your secret key to generate your basic token

Secret Key

This should be kept confidential and only stored on your own servers. Your account’s secret API key can perform any API request to Monnify without restriction. The secret key is used to authorize all your API calls on Monnify.

How to Obtain your API Keys

Your API keys are available on your Monnify Dashboard. You can find it by following the steps below:

...

You can get your credentials for both live mode and test mode by switching the switch between both choices. See sample below:

...

Generating New API Keys

In cases where your API keys have been compromised, you can easily generate new API keys. Simply click the 'Reset API Keys' text under the API Keys and Webhooks tab on the Settings page.

...

Info

Our endpoints are either protected by Basic Authentication or OAuth (Bearer Tokens) so you will need to send an Authorization header in either of the formats specified below:

OAuth 2.0 Authorization Header

Code Block
languagejson
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Basic Authentication Authorization Header

Code Block
languagejson
Authorization: Basic ZGVtbzpwQDU1dzByZA==

...