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.

Files for balanced-ach, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size balanced-ach-0.1.5.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page