Skip to main content

Python Ezi

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,
...    edit_customer_bank_account, edit_customer_credit_card,
...    get_settled_payments)
>>> 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')

>>> get_settled_payments(
...    '2015-03-01', '2015-03-02',
...    'https://api.demo.ezidebit.com.au/v3-3/pci?singleWsdl',
...    'YOUR DIGITAL KEY').Payment

Testing

To run the tests:

$ tox

Release History

1.0.1 (2026-08-24)

Moved repository to GitLab.

1.0.0 (2021-09-28)

  • Require Python >= 3.6.

  • Switch to setup.cfg.

0.4.0 (2017-08-22)

Improvements

  • get_settled_payments now returns Decimal amounts.

0.3.3 (2016-10-17)

Bug fixes

  • Fixed AttributeError: 'module' object has no attribute 'client'.

0.3.2 (2016-03-21)

Improvements

  • Change get_settled_payments to return a list of Payment objects.

0.3.1 (2016-03-21)

Bug fixes

  • Add get_settled_payments to ezi/__init__.py.

0.3 (2016-03-16)

Improvements

  • Add a get_settled_payments function.

0.2.7 (2015-09-14)

Improvements

  • Strip non-digit characters from credit card number.

0.2.6 (2015-08-13)

Improvements

  • Handle suds.WebFault and translate to an EzidebitError.

0.2.5 (2015-07-31)

Improvements

  • Add HISTORY.rst.

0.2.4 (2015-07-31)

Improvements

  • Add syntax highlighting to README.rst.

Metadata

Release files for ezi 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ezi 1.0.1
File Size Uploaded Provenance Actions
ezi-1.0.1.tar.gz 6.0 kB Without provenance Details for ezi-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ezi 1.0.1
File Interpreter ABI Platform Actions
ezi-1.0.1-py3-none-any.whl Python 3 none any Details for ezi-1.0.1-py3-none-any.whl

Total release size: 10.8 kB

Release files / ezi-1.0.1.tar.gz

Download URL ezi-1.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a7b31048eccdca21161dc2aca1ac5af717afa55042bf118aa4abcfaee7c44d11
BLAKE2b-256 checksum
How to use checksums
bd640bff0bb13163f0e2b65c01d9ca1adbfd1bcf9f666cf1f65b460e2a776390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / ezi-1.0.1-py3-none-any.whl

Download URL ezi-1.0.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
124e982a1931576a35e85859213d024c5a79987d1a90fd94e1b088703f727156
BLAKE2b-256 checksum
How to use checksums
12bce9df93bde6eae8f4acb14a6c6bc969276e6c7ff9b659dcfdac9cf6d08600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for ezi 1.0.1

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.

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