Skip to content

πŸ’°πŸπŸ‡§πŸ‡― Community-driven Admin KkiaPay Sdk for Python

Notifications You must be signed in to change notification settings

kkiapay/kkiapay-python

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

  • Sandbox and Live environments
  • Verify Transaction
  • Refund Transaction
  • Schedule Payout
  • Add better errors and exceptions
  • Add tests.

Contributing

Check our contribution guide.

License

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

About

πŸ’°πŸπŸ‡§πŸ‡― Community-driven Admin KkiaPay Sdk for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%