kkiapay-python
Introduction
Community-driven admin KkiaPay Sdk for Python.
Installation
To get the latest version of KkiaPay Sdk for Python , simply run:
pip install kkiapay
Usage
Behold, the power of kkiapay-python:
Verify a transaction
from kkiapay import Kkiapay
k = Kkiapay('public_key', 'private_key', 'secret', sandbox=True)
transaction = k.verify_transaction('LVFNrK1nx')
print(transaction)
# => {
# "performed_at":"2023-02-20T17:44:47.842Z",
# "received_at":1676915100302,
# "type":"DEBIT",
# "status":"SUCCESS",
# "source":"MOBILE_MONEY",
# "source_common_name":"mtn-benin",
# "amount":100,
# "fees":2,
# "net":0,
# "externalTransactionId":"test",
# "transactionId":"123",
# ...
# }
Refund a transaction
from kkiapay import Kkiapay
k = Kkiapay('public_key', 'private_key', 'secret', sandbox=True)
transaction = k.refund_transaction('LVFNrK1nx')
print(transaction)
# => {
# "code":"SUCCESS",
# "description":"REVERTED",
# "transactionId":"123"
# }
Schedule Payout
Schedule payout API is deprecated and no longer supported as of Feb 20th, 2023 from the API and can be done only on the dashboard until further notice.
Contributing
Check our contribution guide.
License
kkiapay-python is open-sourced software licensed under the MIT license.
Metadata
Release files for kkiapay 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kkiapay-0.0.6.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kkiapay-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / kkiapay-0.0.6.tar.gz
| Download URL | kkiapay-0.0.6.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8971c472c74511c4603e0010d3fd9e13943c2243b0c47f539f775aa2ff93e21
|
|
BLAKE2b-256 checksum How to use checksums |
722a4d686d07f7d570691a88c1b3c4f57ec542baaa9406ec883f0f112b9005a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / kkiapay-0.0.6-py3-none-any.whl
| Download URL | kkiapay-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7d26901ddf91a99aa98e5d2f0e6e017cd200471b056f166f378a9fb4e81b479
|
|
BLAKE2b-256 checksum How to use checksums |
758d6d690bc6b8489ab1ed84da23924cc4f0732381b876ad6daa361e2bfc80dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|