Versions Compared

Key

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

...

Table of Contents
minLevel1
maxLevel7

API Keys

This section describes what API keys are and how to retrieve them.

...

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.

...

This action will deactivate your current API key and secret immediately and new ones will be generated. You'll need to update your integrations (i.e. backend server configurations, mobile apps, websites, etc) with the new values once this is done.

Authentication

Monnify uses OAuth 2.0 as the basic security protocol. To access monnify endpoints you'd need to get an access token that grants you access to other endpoints.

...

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==


...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel in ( "dynamic-accounts" , "customer-reserved-accounts" , "invoicing" , "general-docs" )

...