Python interface to the Ezidebit payment gateway for credit card and bank account payments.
Project description
ezi is a Python interface to the Ezidebit payment gateway.
Example
To add a new direct debit by bank account or credit card:
>>> from ezi import add_bank_debit, add_card_debit, add_payment, clear_schedule
>>> add_bank_debit(
... 608725, 'Example', 'Person', 'email@example.com', 'invoice-99',
... '200', '2015-03-01', 'Mr Person', '111111', '123456',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> add_card_debit(
... 608725, 'Example', 'Person', 'email@example.com', 'invoice-99',
... '200', '2015-03-01', 'Mr Example', '4444333322221111', '01/16',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> clear_schedule(
... 608725,
... 'https://api.demo.ezidebit.com.au/v3-3/nonpci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> add_payment(
... 608725, 'invoice-99', '200', '2015-03-01',
... 'https://api.demo.ezidebit.com.au/v3-3/nonpci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> edit_customer_bank_account(
... 608725, 'Mr Example', '111111', '123456',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
>>> edit_customer_credit_card(
... 608725, 'Mr Example', '4444333322221111', '01/16',
... 'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
... 'YOUR DIGITAL KEY')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezi-0.2.4.tar.gz
(4.2 kB
view details)
Built Distribution
ezi-0.2.4-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file ezi-0.2.4.tar.gz
.
File metadata
- Download URL: ezi-0.2.4.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb81a7dbe42b5ae07cf07f1bae09075585d9c99f19cba5b33fff3a685d33f163 |
|
MD5 | fb2347065a68e9ce67a1e221841a222d |
|
BLAKE2b-256 | 477b75f0e82d097c84da173952a75b163238d1ff27bbb556f67c847d9e22382c |
File details
Details for the file ezi-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: ezi-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0453d2b9b87d64bc96815721a66992bcf3f8cbd83815244590be0a382224f5 |
|
MD5 | 2e1d641ff8d0ee97b038d335a590f5bc |
|
BLAKE2b-256 | 3a3e3daee3172137e0623f461c22a47165c385093be8f11ec593b3bb437cd19d |