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.

Filename, size & hash SHA256 hash help File type Python version Upload date
balanced-ach-0.1.5.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Sep 28, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page