About
To Learn more, visit https://developer.gladefinance.co/docs
Getting Started
You need a Merchant ID and Key to authenticate against the API, please contact support@gladefinance.co to setup a demo account.
Installation
You include the class in your project or you can add the repo in your files as in the example below:
Set environment
from src.glade_functions import Glade
merchantId = "YOUR_MERCHANT_ID"
merchantKey = "YOUR_MERCHANT_KEY"
For Production environment
api = Glade(merchantId, merchantKey, True)
For Sandbox environment
api = Glade(merchantId, merchantKey, False)
Methods
BVN Verification
api.bvnValidation(bvnNumber);
Get Chargeable Banks
api.supportedChargeableBanks();
Get Bank List
api.bankList();
Verify Account Name
api.verifyAccountName(accountNumber, bankCode, bankName);
Get Personalized Account Info
api.personalizedAccount( accountName, accountEmail, accountBvn, reference, channel = "providus");
Create Customer
api.createCustomer(name, email, phoneNumber, address);
Get All Customers
api.getCustomers();
Get A Single Customer's Details
api.getCustomerDetail(customerId);
Get All Bill Categories
api.getBillCategory(category = None);
Get Bill ID
api.getBillById(billId);
Resolve Bill
api.resolveBill(payCode, reference);
Purchase Bill
api.purchaseBill(payCode, amount, reference, orderReference = None);
Verify Bill Purchase
api.verifyBillPurchase(transactionReference);
Make A Single Transfer
api.transfer(amount, receiverAccountNumber, receiverBankCode, senderName, reference, narration);
Verify Single Transfer
api.verifySingleTransfer(reference);
Make Bulk Transfer
api.bulkTransfer(transferObjects);
Create Payment Link
api.createPaymentLink(title, description, amount, type, payerBearsFees, acceptNumber, notificationEmail, customLink = None, redirectUrl = None, customMessage = None, frequency = None);
Create Ticket
api.createTicket(title, description, amount, type, payerBearsFees, acceptNumber, notificationEmail, ticketData, customLink = None, redirectUrl = None, customMessage = None, frequency = None);
Create Invoice
api.invoice(customerId, chargeUser, shipping, vat, dueDate, allowedDiscount, invoiceItems, note, discountType = None, invoiceId = None);
Return Values
All methods return an array.
Metadata
Release files for glade-api-python 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| glade_api_python-1.0.0.tar.gz | 6.2 kB | Without provenance | Details for glade_api_python-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| glade_api_python-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for glade_api_python-1.0.0-py3-none-any.whl |
Total release size: 13.5 kB
Release files / glade_api_python-1.0.0.tar.gz
| Download URL | glade_api_python-1.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
994c4a8a3080fc3081688a124ee384adc03185428a03d16a75c4038199d306e7
|
|
BLAKE2b-256 checksum How to use checksums |
d51197df2f417116769a540ca348b78e776a7b5853f7ddc688301425a8609bdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / glade_api_python-1.0.0-py3-none-any.whl
| Download URL | glade_api_python-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e1c4796f5b07bd4b49444fabe02986e7b8fa241e3317592ff27656e7774eae6
|
|
BLAKE2b-256 checksum How to use checksums |
96b7ea4cff4b5e418dab279a2a0a5314cba17ccb871215b627b95936f3a3539d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for glade-api-python 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.