Skip to content

Commit

Permalink
Merge pull request #110 from recurly/bank_accounts
Browse files Browse the repository at this point in the history
Bank accounts (ACH feature)
  • Loading branch information
bhelx committed Apr 19, 2015
2 parents 74d0268 + 9891b9a commit ee35ff0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## Unreleased

- Add `tax_type`, `tax_rate`, `tax_region` to `Adjustment`
- Added `bank_account` type and attributes to `BillingInfo`, these include:
- `name_on_account`
- `account_type` (`checking` or `savings`)
- `last_four`
- `routing_number`

## Version 2.2.9 February 6, 2015

Expand Down
6 changes: 5 additions & 1 deletion recurly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class BillingInfo(Resource):

attributes = (
'type',
'name_on_account',
'first_name',
'last_name',
'number',
Expand All @@ -282,8 +283,11 @@ class BillingInfo(Resource):
'paypal_billing_agreement_id',
'amazon_billing_agreement_id',
'token_id',
'account_type',
'routing_number',
'account_number',
)
sensitive_attributes = ('number', 'verification_value')
sensitive_attributes = ('number', 'verification_value', 'account_number')
xml_attribute_attributes = ('type',)

class Coupon(Resource):
Expand Down

0 comments on commit ee35ff0

Please sign in to comment.