diff --git a/CHANGELOG b/CHANGELOG index bf2931ad..9763cc44 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/recurly/__init__.py b/recurly/__init__.py index a8eb4dc2..54a7f4b3 100644 --- a/recurly/__init__.py +++ b/recurly/__init__.py @@ -256,6 +256,7 @@ class BillingInfo(Resource): attributes = ( 'type', + 'name_on_account', 'first_name', 'last_name', 'number', @@ -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):