Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
/ hubtel Public archive

python API for Hubtel Payment Gateway

License

Notifications You must be signed in to change notification settings

mcroni/hubtel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an Unofficial Python interface for the Hubtel Payment API. Contributed by Kojo Mcroni

Installation

To install simple type pip install hubtel

Help

this reveals the various params needed for the various methods in the api dir(Hubtel)

Receive MOMO

You can find exclusive documentation on Hubtel's website,, here

from hubtel import Hubtel
p = Hubtel("username","password","merchant")
request = p.receive("kojo mcroni","027180861x","kojo_mcroni@xxx.com","tigo-gh",5,"http://xxxx.com/callback","for lola rae",fees=True,"reference")
  
print(request)

Supported APIs

  • Receive Mobile Money
  • Send Mobile Money
  • Check Momo Trans Status
  • Refund
  • Determine Send Money Charge
  • Confirm Transaction

About

python API for Hubtel Payment Gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages