Skip to main content

A Library created for ease of using monnify's API to create unique account numbers for your users/members, verify user transaction, generate Bearer Token etc..

Project description

# monnify A Library created for ease of using monnify's API to create unique account numbers for your users/members, verify user transaction, generate Bearer Token etc..

This library makes it easy to connect with Monnify API (To create reserve accounts)

It will be updated and maintained as needed

Quick start

  1. pip install requests monnify

  2. To use: from monnify import Monnify

  3. Method includes :

    > generateToken: Method generate Token to be used in the subsequent calls

    > createReserveAccount: Creates reserve accounts and returns value from monnify’s API

    > createHashFromWebhook: Generate hash as described on monnify’s documentation to compare with transactionsHash

    > getTranasactionDetails: Get the status of a transactions e.g success or failed, this return the json values as seen on monnify’s docs.

  4. USAGE

    Initiate the class with api and secretkey from monnify then use a thus:

    x = Monnify(“apiKey”, “clientSecretKey”)

    *e.g* to get the token

    `print(x.generateToken())`

To contribute, pull the this repo, add your piece and raise a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monnify-2.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monnify-2.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file monnify-2.0.0.tar.gz.

File metadata

  • Download URL: monnify-2.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for monnify-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e336aefc31cef4412d8f8ce52017888604a735a4a0d7c055a085b9971e75327d
MD5 9bc5efb2be7b2ec6a424b0771f7365a4
BLAKE2b-256 6d23017ece32125e82a6a19dad11443157dec97b74dd937b0f5f63007a5f1f5f

See more details on using hashes here.

File details

Details for the file monnify-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: monnify-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for monnify-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14f5f4260a00adead7e9a09073713e2a36cfece27b6e44c6a20ab7921a141f56
MD5 111e14f5af68802090f47e61e0f37d59
BLAKE2b-256 5fd929408a969a2ba080b02f6167316630c2cb7349ce46ac5baeb437216b1aea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page