Skip to main content

Balanced ACH client library

Project description

Python library for Balanced ACH payments.

https://secure.travis-ci.org/balanced/balanced-ach-python.png?branch=master

To Install

Simply:

pip install balanced-ach

or if you prefer:

easy_install balanced-ach

Requirements

Usage

import balanced_ach

print "create a bank account"
bank_account = balanced_ach.BankAccount(
    name='Gottfried Leibniz',
    account_number='3819372930',
    routing_number='121042882',
    type='checking',
).save()

print "Cool, let's credit that bank account for $1.01 USD"
credit = bank_account.credit(101)

print "Cool, let's debit that bank account for $4.55 USD"
debit = bank_account.debit(455)

print "Want to credit that bank account $1.01 USD without creating it? Cool"
credit = balanced_ach.Credit(
    amount=101,
    bank_account=dict(
        name='Gottfried Leibniz',
        account_number='3819372930',
        routing_number='121042882',
        type='checking',
)).save()

print "Want to debit that bank account $4.55 USD without creating it? Cool"
debit = balanced_ach.Debit(
    amount=101,
    bank_account=dict(
        name='Gottfried Leibniz',
        account_number='3819372930',
        routing_number='121042882',
        type='checking',
)).save()

print "and there you have it 8-)"

Issues

Please use appropriately tagged github issues to request features or report bugs.

Contributing

  1. Fork it

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Write your code and tests

  4. Ensure all tests still pass (nosetests -svx tests)

  5. Commit your changes (git commit -am ‘Add some feature’)

  6. Push to the branch (git push origin my-new-feature)

  7. Create new pull request

Project details


Download files

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

Source Distribution

balanced-ach-0.1.5.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file balanced-ach-0.1.5.tar.gz.

File metadata

File hashes

Hashes for balanced-ach-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f3735848b4dbaf91658e2ccf0b8a12bb8cc511c12988b311ab5152c37f025f62
MD5 5c3937accd9f55fb9609c1bba6f426a9
BLAKE2b-256 d4d5aed3ed44cfcc961a8e1a558861fc875319a569f383ad5d5ccffdacf15818

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page