payments
Project description
kairospay
payments
Installation
$ pip install kairospay
Usage
Monnify is one of the products of TeamApt https://www.teamapt.com/ . Monnify empowers businesses in the formal & informal sectors with the right tools & solutions to manage their finances and grow their businesses. Businesses in the formal economy benefit from our payment infrastructure that simplifies how they accept, manage and make payments. While smaller-scale businesses and entrepreneurs benefit from our market-community focused products that give them accessible, affordable and convenient short term working capital.
- MONNIFY PYTHON LIBRARY USER GUIDE
Before you can start integrating to Monnify, you will need to sign up on Monnify. Click https://app.monnify.com/create-account to sign up. After successful registration, login and for your credentials.
- CREDENTIAL NEEDED
- API KEY
- SECRET KEY
- CONTRACT
- WALLET ID
All this can be seen on the setting area when you login to you logged in.
- API ENDPOINT IN THE LIBRARY
- monnifyCredential
- get_token
- verify_account
- reserve_account
- add_link_account
- update_bvn_reserve
- deallocate_account
- reserve_account_transactions
- tranfer
- authorize_tranfer
- resend_otp
- get_transfer_details
- get_all_single_transfer
- get_wallet_balance
- create_invoice
- initiate_refund
- get_refund_status
- get_all_refund
- create_sub_account
- get_sub_account
- update_sub_account
- delete_sub_account
- one_time_payment
- HOW TO USE THE LIBRARY After successfull installation, we can now use the package in our development by importing it in our script.
from kairospay.monnify import monnifyCredential, get_token, Monnify
monnify = Monnify()
api_key = "MK_TEST_8UBXGKTYYYWB"
secret_key = "ENRC4FDYYYETKA53YPXBFLUFXWYHG2"
contractCode = '2917634883'
walletId = '654CAB211YY36760A659C787B2AA38E8'
merchant_credential = monnifyCredential(
api_key,
secret_key,
contractCode,
walletId,
is_live=False
)
token = get_token(merchant_credential)
NOTE: If you are in sandbox please is_live = False and can only be set to True when you are in production and make sure you change credentials to live credentials
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
kairospay
was created by Solomon Olatunji. It is licensed under the terms of the MIT license.
Credits
kairospay
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
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
Built Distribution
Hashes for kairospay-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41542678706a9c41d4ef713b32bfdc5b445c6a0d66c93aafd220b4177f744166 |
|
MD5 | 58e83b410f64e8a2047b6c26702cdfb2 |
|
BLAKE2b-256 | 6898f84a6657ab44c2c9d5d6a6acc05e97e210e73a6fb50337d94003aa7c70eb |