Skip to main content

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.

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)

Source distribution for glade-api-python 1.0.0
File Size Uploaded
glade_api_python-1.0.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for glade-api-python 1.0.0
File Interpreter ABI Platform
glade_api_python-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page