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.

Download files

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

Source Distribution

glade_api_python-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glade_api_python-1.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file glade_api_python-1.0.0.tar.gz.

File metadata

  • Download URL: glade_api_python-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for glade_api_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 994c4a8a3080fc3081688a124ee384adc03185428a03d16a75c4038199d306e7
MD5 78f1cfe2918a4560effcf2fbae7cbeea
BLAKE2b-256 d51197df2f417116769a540ca348b78e776a7b5853f7ddc688301425a8609bdc

See more details on using hashes here.

File details

Details for the file glade_api_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for glade_api_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1c4796f5b07bd4b49444fabe02986e7b8fa241e3317592ff27656e7774eae6
MD5 73a32b0eecdda4ede7eb61a47483ae7e
BLAKE2b-256 96b7ea4cff4b5e418dab279a2a0a5314cba17ccb871215b627b95936f3a3539d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page