Skip to main content

Community-driven Admin KkiaPay Sdk for Python

Project description

kkiapay-python

Introduction

Community-driven admin KkiaPay Sdk for Python.

Installation

To get the latest version of Laravel kkiapay-python, simply run:

pip install kkiapay

Usage

Behold, the power of kkiapay-python:

from kkiapay import Kkiapay

k = Kkiapay('public_key', 'private_key', 'secret', sandbox=True)

transaction = k.verify_transaction('LVFNrK1nx')

print(transaction)
# => KkiapayTransaction(
#       performed_at='2019-07-11T11:24:42.687Z',
#       type='DEBIT',
#       status='FAILED',
#       source='MOBILE_MONEY',
#       amount=1,
#       fees=0,
#       country='BJ',
#       reason='invalid_number',
#       transactionId='LVFNrK1nx',
#       performedAt='07/11/2019'
#   )

print(transaction.status)
# => FAILED
print(transaction.amount)
# => 1

Road map

kkiapay-python is still under heavy development, we decided to ship it in this early stage so you can help us make it better.

Here's the plan for what's coming:

  • [x] Sandbox and Live environments
  • [x] Verify Transaction
  • [ ] Refund Transaction
  • [ ] Schedule Payout
  • [ ] Add tests.

Contributing

Check our contribution guide.

License

kkiapay-python is open-sourced software licensed under the MIT license.

Project details


Download files

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

Files for kkiapay, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size kkiapay-0.0.5-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kkiapay-0.0.5.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page