Repository: gratipay/gratipay.com

Issue:
Team take not included in total received.
On profile pages members of gittip have a total like:
Strand receives: $3.25 per week.

However this number underreports the amount someone receives when some of their contributions come from teams. The screenshot below shows my team contribution as an anonymous transaction at the bottom of the list.

![screen shot 2013-07-13 at 8 22 12 am](https://f.cloud.github.com/assets/509611/792939/7c3c3468-ebd0-11e2-9a0d-64b5e4d0e049.png)

I expect the total a member receives listed on their profile page to include funds from teams.



Discussion:
+1

@ceboudreaux Didn't you ticket this already?

Yes, closing in favor of #1126 and #1127 

Reopening. #1126 is about the entry in the history page; #1127 is about whether givers have a credit card attached. Including team takes in receiving deserves it's own ticket.

+1 from @helmo on #2049:

> As a team member on gittip you start out getting $0.01 per week.
> 
> However after two weeks the top right corner of my gittip pages still is say "Receiving: $0.00/wk".
> While on the team's history tab I can see that a cent has been debited from the balance. And on my personal history page I can see the cent being credited.
> 
> Rounding error?
> 
> [edit] just the "Receiving: $0.00/wk" is bad ... balance seems OK.

+1

~~Would be really handy to have this :P  +1 from me as well~~

~~I'd do it, but I'm way too nervous about touching anything that changes the DB right now~~

Edit: I'm actually -0 on this.  I think there should be a total receiving, but I think the number on profiles should be the amount being gifted to a user

As @seanlinsley says at #2203, we need a distinction between money given directly by others, and money requested as a member of a team. How can we can do that?

+1.

As for distinction between team take and direct gifts, I don’t believe we need to make this distinction in the header after #2203 is on prod, but it would be nice to have it in the History page.

Splitting the transaction to 'from others' - I’m not a fan of the 'from someone' wording personally - and 'from _team_' would be the simplest solution.

Seems like we could help explain this by some wording changes. So, like, instead of 'Person receives $X on Gittip', we could say, 'Person is gifted $X on Gittip', so there's better separation between gifts from users and team takes.

(I'm actually changing to -0 on this)

@ESWAT please, take a look at #1126 and #2173


Resolving patch:
diff --git a/gittip/billing/payday.py b/gittip/billing/payday.py
--- a/gittip/billing/payday.py
+++ b/gittip/billing/payday.py
@@ -391,7 +391,7 @@ def update_receiving_amounts(self):
               GROUP BY tippee;
 
             UPDATE participants
-               SET receiving = amount
+               SET receiving = (amount + taking)
               FROM total_receiving
              WHERE tippee = username;
         """
diff --git a/gittip/models/_mixin_team.py b/gittip/models/_mixin_team.py
--- a/gittip/models/_mixin_team.py
+++ b/gittip/models/_mixin_team.py
@@ -1,5 +1,6 @@
 """Teams on Gittip are plural participants with members.
 """
+from collections import OrderedDict
 from decimal import Decimal
 
 from aspen.utils import typecheck
@@ -126,25 +127,56 @@ def set_take_for(self, member, take, recorder):
     def __set_take_for(self, member, amount, recorder):
         assert self.IS_PLURAL
         # XXX Factored out for testing purposes only! :O Use .set_take_for.
-        self.db.run("""
-
-            INSERT INTO takes (ctime, member, team, amount, recorder)
-             VALUES ( COALESCE (( SELECT ctime
-                                    FROM takes
-                                   WHERE member=%s
-                                     AND team=%s
-                                   LIMIT 1
-                                 ), CURRENT_TIMESTAMP)
-                    , %s
-                    , %s
-                    , %s
-                    , %s
-                     )
-
-        """, (member.username, self.username, member.username, self.username, \
-                                                      amount, recorder.username))
-
-    def get_takes(self, for_payday=False):
+        with self.db.get_cursor() as cursor:
+            # Lock to avoid race conditions
+            cursor.run("LOCK TABLE takes IN EXCLUSIVE MODE")
+            # Compute the current takes
+            old_takes = self.compute_actual_takes(cursor)
+            # Insert the new take
+            cursor.run("""
+
+                INSERT INTO takes (ctime, member, team, amount, recorder)
+                 VALUES ( COALESCE (( SELECT ctime
+                                        FROM takes
+                                       WHERE member=%(member)s
+                                         AND team=%(team)s
+                                       LIMIT 1
+                                     ), CURRENT_TIMESTAMP)
+                        , %(member)s
+                        , %(team)s
+                        , %(amount)s
+                        , %(recorder)s
+                         )
+
+            """, dict(member=member.username, team=self.username, amount=amount,
+                      recorder=recorder.username))
+            # Compute the new takes
+            new_takes = self.compute_actual_takes(cursor)
+            # Update receiving amounts in the participants table
+            self.update_taking(old_takes, new_takes, cursor, member)
+
+    def update_taking(self, old_takes, new_takes, cursor=None, member=None):
+        """Update `taking` amounts based on the difference between `old_takes`
+        and `new_takes`.
+        """
+        for username in set(old_takes.keys()).union(new_takes.keys()):
+            if username == self.username:
+                continue
+            old = old_takes.get(username, {}).get('actual_amount', Decimal(0))
+            new = new_takes.get(username, {}).get('actual_amount', Decimal(0))
+            diff = new - old
+            if diff != 0:
+                r = (self.db or cursor).one("""
+                    UPDATE participants
+                       SET taking = (taking + %(diff)s)
+                         , receiving = (receiving + %(diff)s)
+                     WHERE username=%(username)s
+                 RETURNING taking, receiving
+                """, dict(username=username, diff=diff))
+                if member and username == member.username:
+                    member.set_attributes(**r._asdict())
+
+    def get_takes(self, for_payday=False, cursor=None):
         """Return a list of member takes for a team.
 
         This is implemented parallel to Participant.get_tips_and_total. See
@@ -193,14 +225,15 @@ def get_takes(self, for_payday=False):
 
             """
 
-        return self.db.all(TAKES, args, back_as=dict)
+        records = (cursor or self.db).all(TAKES, args)
+        return [r._asdict() for r in records]
 
-    def get_team_take(self):
+    def get_team_take(self, cursor=None):
         """Return a single take for a team, the team itself's take.
         """
         assert self.IS_PLURAL
         TAKE = "SELECT sum(amount) FROM current_takes WHERE team=%s"
-        total_take = self.db.one(TAKE, (self.username,), default=0)
+        total_take = (cursor or self.db).one(TAKE, (self.username,), default=0)
         team_take = max(self.receiving - total_take, 0)
         membership = { "ctime": None
                      , "mtime": None
@@ -209,18 +242,34 @@ def get_team_take(self):
                       }
         return membership
 
+    def compute_actual_takes(self, cursor=None):
+        """Get the takes, compute the actual amounts, and return an OrderedDict.
+        """
+        actual_takes = OrderedDict()
+        nominal_takes = self.get_takes(cursor=cursor)
+        nominal_takes.append(self.get_team_take(cursor=cursor))
+        budget = balance = self.receiving
+        for take in nominal_takes:
+            nominal_amount = take['nominal_amount'] = take.pop('amount')
+            actual_amount = take['actual_amount'] = min(nominal_amount, balance)
+            balance -= actual_amount
+            take['balance'] = balance
+            take['percentage'] = (actual_amount / budget) if budget > 0 else 0
+            actual_takes[take['member']] = take
+        return actual_takes
+
     def get_members(self, current_participant):
         """Return a list of member dicts.
         """
         assert self.IS_PLURAL
-        takes = self.get_takes()
-        takes.append(self.get_team_take())
-        budget = balance = self.receiving
+        takes = self.compute_actual_takes()
         members = []
-        for take in takes:
+        for take in takes.values():
             member = {}
             member['username'] = take['member']
-            member['take'] = take['amount']
+            member['take'] = take['nominal_amount']
+            member['balance'] = take['balance']
+            member['percentage'] = take['percentage']
 
             member['removal_allowed'] = current_participant == self
             member['editing_allowed'] = False
@@ -234,9 +283,5 @@ def get_members(self, current_participant):
 
             member['last_week'] = last_week = self.get_take_last_week_for(member)
             member['max_this_week'] = self.compute_max_this_week(last_week)
-            amount = min(take['amount'], balance)
-            balance -= amount
-            member['balance'] = balance
-            member['percentage'] = (amount / budget) if budget > 0 else 0
             members.append(member)
         return members
diff --git a/gittip/models/participant.py b/gittip/models/participant.py
--- a/gittip/models/participant.py
+++ b/gittip/models/participant.py
@@ -608,9 +608,11 @@ def update_pledging(self, cursor=None):
         self.set_attributes(pledging=pledging)
 
     def update_receiving(self, cursor=None):
+        if self.IS_PLURAL:
+            old_takes = self.compute_actual_takes(cursor=cursor)
         receiving = (cursor or self.db).one("""
             UPDATE participants p
-               SET receiving = COALESCE((
+               SET receiving = (COALESCE((
                        SELECT sum(amount)
                          FROM current_tips
                          JOIN participants p2 ON p2.username = tipper
@@ -618,11 +620,14 @@ def update_receiving(self, cursor=None):
                           AND p2.is_suspicious IS NOT true
                           AND p2.last_bill_result = ''
                      GROUP BY tippee
-                   ), 0)
+                   ), 0) + taking)
              WHERE p.username = %s
          RETURNING receiving
         """, (self.username,))
         self.set_attributes(receiving=receiving)
+        if self.IS_PLURAL:
+            new_takes = self.compute_actual_takes(cursor=cursor)
+            self.update_taking(old_takes, new_takes, cursor=cursor)
 
     def set_tip_to(self, tippee, amount, update_self=True, update_tippee=True, cursor=None):
         """Given a Participant or username, and amount as str, return a tuple.


Test patch:
diff --git a/tests/py/fixtures/TestBillingPayday.yml b/tests/py/fixtures/TestBillingPayday.yml
--- a/tests/py/fixtures/TestBillingPayday.yml
+++ b/tests/py/fixtures/TestBillingPayday.yml
@@ -1,11 +1,11 @@
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC1Xbnh5QTA2N1pYd0JsYW5xbWdOZm90bUFPeUpsRm5rZTpOb25l']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC1UbjVtVlY3RUxMMkpzcjhEdjR0VERqT0dWeWFCUjNpOTpOb25l']
+      - !!python/tuple [Content-Length, !!python/unicode '2']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -14,26 +14,26 @@
     protocol: https
   response:
     body: {string: "{\n  \"links\": {},\n  \"api_keys\": [\n    {\n      \"links\"\
-        : {},\n      \"created_at\": \"2014-05-24T04:09:44.144699Z\",\n      \"secret\"\
-        : \"ak-test-1q0MovmWmmLbMbEQiA5yvY4WrjzimpZjv\",\n      \"href\": \"/api_keys/AK1Qd4saVDzDGTBYXb3tY6KV\"\
-        ,\n      \"meta\": {},\n      \"id\": \"AK1Qd4saVDzDGTBYXb3tY6KV\"\n    }\n\
+        : {},\n      \"created_at\": \"2014-06-17T18:17:00.042503Z\",\n      \"secret\"\
+        : \"ak-test-3JuFAGx3VTK0t4SrjLvuP5BZrfdscin1\",\n      \"href\": \"/api_keys/AK4tnHkfinEx4EA1FzGHgj6F\"\
+        ,\n      \"meta\": {},\n      \"id\": \"AK4tnHkfinEx4EA1FzGHgj6F\"\n    }\n\
         \  ]\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:44\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3c81a0a8e2f911e3ab5302a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:00\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM92fb74e4f64b11e3ab5302a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhQRw87WlNKEUgAEFUDTAcaFBQCH0UJTwFUC1BQAg5VVVUJCwdTVVYGBRtGVh0WEQFWVQcCVgADDVxQBQtUWFETTRMEBVpEBDs=\r\
-        \n", "Content-Length: 290\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhQRw87WlNKEUgAEFUDTAcaFBQCH0UJTwFVA1JQBQZQU1UJBghQVVUEHRdUSBEUUlNUVAAHBAAGCAFVAlVUDkMdQVUDCEVSPA==\r\
+        \n", "Content-Length: 289\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: null
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [content-type, !!python/unicode 'application/json;revision=1.1']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+    - - !!python/tuple [content-type, !!python/unicode 'application/json;revision=1.1']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
     host: api.balancedpayments.com
     method: GET
     path: /marketplaces?limit=25&offset=0
@@ -42,33 +42,33 @@
   response:
     body:
       string: !!binary |
-        H4sIAAAAAAAAA5VUTW/TQBC991dEPnCBJv4sSqQKaMOFFjWiqRAgZK29Y8VkvWutd5uUKP+d8Xpd
-        x2JVwSWaj7czb2ZefDibTLwKFPEWkwPa6DHSKPS8WUXkFlTNSA7NO1ZWpboMk1eiKBpQl773poNz
-        2LdwrhmzkY2E4j8KmMqIDxP7vuuAEd8GagmPpdDNuI0SijAMBRZVlPLfiCPvY/vGOx0QC/0wA3Vb
-        wGzJU2hyKXYttyB627XBBBUVwaSWbXcP9qSqGUxzUdmVIISTCtrkSmeszCdLeBxyrOTbdpS+EcLF
-        joNMc90oUYFsH14/BLuH4tvtMrvd3q1uaPAFfm+u9plnONoBzLmc256tP96vzz+vgt36ab/88Onm
-        mnxd/bq6j+9YGdOBSy6BKKApMRcP/SA+95PzMF770SK8WITz6XwexVH8fXjS6LoWUqWAS2ApoVRC
-        047j2cR750J0TV9qFPnTKIj8JHA0qjeCQ8p1lXWreR1cJH6SJEEYxQOtWgqqc1UKjlwKwhp4vlcv
-        b3N0szPNUcKK4eAFQEveKq29Om1neXl9pswRf38aGY0POlLVlEJWKrOemTWtWk+1N0V9g2yQtAEO
-        ngtLy6bWyrDGmr3jQvZ66qCD58RKoD1RFIWxnTgiqa1nLBdGSIrTGH7WdKFyfJ9uBDspZ10XGj8p
-        mltob7twf/+TZs+Dzw6jpY+hR+coShLeECOrbqBRwEUgI3ybkjwXmtu7jyOuNzlhLCO5+Sp4s8Fz
-        YVEpfWFrtp+zs+Mf9wquIskFAAA=
+        H4sIAAAAAAAAA5VUTW/TQBC991dEPnCBJP4scqUKaMOFFjWiqRAgZK29Y8VkvWutd5uUKv+d8Xpd
+        12JVwSWaj7czb2Ze/Hgym3k1KOKdzR7RRo+RVqHnLWsid6AaRgpo37GqrtR5mLwSZdmCOve9Nz2c
+        w6GDc82YjWwllP9RwFRGfJjY930HjPg20Ei4r4Rup22UUIRhKLCospL/Rhx5H7s33vMBsdAPM1C/
+        BcxWPIO2kGKPqTRNT9Pobd8Jc1TUBPNadgQ8OJC6YbAoRG23ghBOauiSa52zqpit4H7MsYrvummG
+        XggXew4yK3SrRA2ye3h5F+zvym/Xq/x6d7O+osEX+L29OOSeoWlnMBdzLny5+Xi7mX9eB/vNw2H1
+        4dPVJfm6/nVxG9+wKqYjl0ICUUAzYo4e+kE895N5GG/86Cw8PQvTRZpGcRR/H5+0ummEVBngElhG
+        KJXQduN4NvHeuRDd0JcaRf4iCiI/CRyNmq3gkHFd5/1qXgeniZ8kSRBG8UirkYLqQlWCI5eSsBae
+        7jUo3Nzd7ExzVLFiOHgJ0JG3YusOT7tZXl6fKXPE359GSdODToS1oJBXyqxnaU0r2OfyW6DEQbZI
+        2gBHz4WlVdtoZVhjzcFxIQc99dDRc2Il0IEoisLYThyR1NYzlgsjJMVpDD9rulAFvs+2gj0rZ10X
+        Gr8qmlvoYLtwf/+Tlk+DLx8nS59Cj85RlCS8JUZW/UCTgItATvguI0UhNLd3n0ZcbwrCWE4K81Xw
+        lqPnwqJShsLW7L5oJ8c/DV6tBMwFAAA=
     headers: ["Content-Encoding: gzip\r\n", "Content-Type: application/json\r\n",
-      "Date: Sat, 24 May 2014 04:09:44 GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n",
-      "X-Balanced-Guru: OHM3cd0ce4ee2f911e3be3f02b12035401b\r\n", "X-Balanced-Host:\
+      "Date: Tue, 17 Jun 2014 18:17:00 GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n",
+      "X-Balanced-Guru: OHM9348ee2cf64b11e3a4e806429171ffad\r\n", "X-Balanced-Host:\
         \ bapi-integration-prod-8u30f7-10-3-5-201\r\n", "X-Balanced-Marketplace: TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\
         \n", "X-Balanced-Merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\n", "X-Balanced-Revision:\
-        \ 1.1\r\n", "X-Balanced-Software-Build: 1.2.35\r\n", "Content-Length: 590\r\
+        \ 1.1\r\n", "X-Balanced-Software-Build: 1.2.57\r\n", "Content-Length: 593\r\
         \n", "Connection: keep-alive\r\n"]
     status: {code: 200, message: OK}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -78,10 +78,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:45.390216Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:45.291382Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU1RvbnMzRmR4jWndaWipdZ7\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU1RvbnMzRmR4jWndaWipdZ7\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:01.300072Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:01.193308Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4uFWghSkMeSWlU7fY8q8iJ\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4uFWghSkMeSWlU7fY8q8iJ\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -99,12 +99,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:45\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3d321b4ae2f911e3ab5302a1fe52a36c\r\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:01\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM93aa6620f64b11e39beb02a1fe52a36c\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QBFBVBgJWXloJCwRRVlIEHRdUSBEUAlUHBgdUUAhSW11SAgBcWEMdQVUDCEVSPA==\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QClZcAABQVVcICgRWUloFCRtGVh0WEVQEAQMFWw5UW1pQUwAECVITTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -113,11 +113,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -130,41 +130,179 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC1SP3DUULf500iNdslLsFMh\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4w5QDATKKrxHIKo2Fn6LYR\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:09:46.471422Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:02.456892Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC1SP3DUULf500iNdslLsFMh\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:46.471420Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4w5QDATKKrxHIKo2Fn6LYR\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:02.456890Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:46 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3da3702ee2f911e3937302a1fe53e539\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:02 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM942385bef64b11e3a82802a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVEAWAZYB1tSBgdTV1oPAQZSTUIEBg9KRBNTAQdQWloGBgkGWglSBwcDG00RB1IOF1Nq\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVAKUghUBFtRDgVTV1cLBgVIQVEACRtGRghVVVEDU1IBBg9VAA1QAFZHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
       - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
+    host: api.balancedpayments.com
+    method: POST
+    path: /bank_accounts
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"bank_accounts\": [\n    {\n      \"routing_number\": \"\
+        121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
+        : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
+        \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:03.280012Z\"\
+        ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
+        ,\n      \"updated_at\": \"2014-06-17T18:17:03.280016Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4x1iKaloZJSCzF2fjEke6J\",\n      \"meta\": {},\n    \
+        \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
+        : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
+        : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4x1iKaloZJSCzF2fjEke6J\"\
+        \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
+        ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
+        ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
+        ,\n    \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\
+        ,\n    \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\"\
+        \n  }\n}"}
+    headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
+        \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:03 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM94d3adeaf64b11e3ab2502a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAdYVVAKCgRWWFQFBwNQUAkaE1NeW04QQAsECwhWBFcADlJUBwQGVQAVTUYFWV9DATw=\r\
+        \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+    host: api.balancedpayments.com
+    method: POST
+    path: /customers
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
+        links\": {\n        \"source\": null,\n        \"destination\": null\n   \
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:04.201529Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:03.992323Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4xOK0SsSmj4aDWtDZiMVSd\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4xOK0SsSmj4aDWtDZiMVSd\",\n      \"merchant_status\": \"no-match\"\
+        ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
+        \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
+        \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
+        : null\n      },\n      \"business_name\": null,\n      \"ssn_last4\": null,\n\
+        \      \"email\": null,\n      \"ein\": null\n    }\n  ],\n  \"links\": {\n\
+        \    \"customers.source\": \"/resources/{customers.source}\",\n    \"customers.card_holds\"\
+        : \"/customers/{customers.id}/card_holds\",\n    \"customers.bank_accounts\"\
+        : \"/customers/{customers.id}/bank_accounts\",\n    \"customers.debits\":\
+        \ \"/customers/{customers.id}/debits\",\n    \"customers.destination\": \"\
+        /resources/{customers.destination}\",\n    \"customers.external_accounts\"\
+        : \"/customers/{customers.id}/external_accounts\",\n    \"customers.cards\"\
+        : \"/customers/{customers.id}/cards\",\n    \"customers.disputes\": \"/customers/{customers.id}/disputes\"\
+        ,\n    \"customers.transactions\": \"/customers/{customers.id}/transactions\"\
+        ,\n    \"customers.refunds\": \"/customers/{customers.id}/refunds\",\n   \
+        \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
+        customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
+        : \"/customers/{customers.id}/credits\"\n  }\n}"}
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:04\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM955256c2f64b11e3a52c02a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9SAVRdBw9ZUlMMAwhXU1cFHRdUSBEUAVdWUQACVAAECl0DBldXWEMdQVUDCEVSPA==\r\
+        \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{"expiration_month": 10, "meta": {"region": "Confusion", "city_town": "",
+      "address_2": "Box 2"}, "number": "4111111111111111", "expiration_year": 2020,
+      "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
+      Street"}}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+    host: api.balancedpayments.com
+    method: POST
+    path: /cards
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"cards\": [\n    {\n      \"links\": {\n        \"customer\"\
+        : null\n      },\n      \"fingerprint\": \"8c7f0423365af88c3e36cf02746eca64fdcf36ddc2e1f398c7ec9f3ffd05a267\"\
+        ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
+        \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
+        \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4zuCRxRtdjtvt0UKtOvx2h\"\
+        ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
+        : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:05.480699Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
+        \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
+        : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
+        : \"Street address and postal code do not match.\",\n      \"can_credit\"\
+        : false,\n      \"href\": \"/cards/CC4zuCRxRtdjtvt0UKtOvx2h\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:05.480696Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
+        ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
+        : \"/cards/{cards.id}/debits\"\n  }\n}"}
+    headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
+        \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:05 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM95ebfa34f64b11e3a82802a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVANWAZVAlJWDwBSX1APCglIQVEACRtGRgBSBVIDWwFUWgsBCAADCwZHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
+      Jay"}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -175,14 +313,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:09:47.331434Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:06.527405Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:09:47.331436Z\",\n      \"href\"\
-        : \"/bank_accounts/BA1TNb4iTEZPusCUBBXoUFDf\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:06.527408Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4AFpFobpuDe9yhxmYYkNbT\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA1TNb4iTEZPusCUBBXoUFDf\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4AFpFobpuDe9yhxmYYkNbT\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -191,22 +329,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:47 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3e52f80ae2f911e3a82802a1fe52a36c\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:06 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM96a9188af64b11e3a52c02a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAVQV1EBCwlQU1cBBA5XXB0WAlpeT0ISBw5SDF0BBAFRCQUIUABSXRQbQQACVEBVOQ==\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQ5WXloNAwlTVlEFBANVXQQaE1NeW04QQAhXW1kBBlVRAAJTUlFVVwMVTUYFWV9DATw=\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -216,10 +354,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:48.210212Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:48.090095Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU1UElzziAKMoxgcyRkSzzqV\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU1UElzziAKMoxgcyRkSzzqV\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:07.420124Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:07.298760Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4BxGXnxCcDVBHFrbA9xQ8h\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4BxGXnxCcDVBHFrbA9xQ8h\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -237,12 +375,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:48\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3edc30b6e2f911e38f8302a1fe53e539\r\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:07\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM974e00acf64b11e38da902a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAldXAANYVVAIAgNdUFQHAxtGVh0WEVRVVFQCBloHDQoBAgRQDgQTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TA1JRAAFRU1ALCgBRUVAOAhtGVh0WEQQAAgcHUwBTDglQUQJQDAATTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -251,11 +389,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -268,41 +406,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC1VV2mnpPsG3ECBORgdnh2J\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4D6s5AYYmRacd2b6qdhwiR\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:09:49.226056Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:08.690761Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC1VV2mnpPsG3ECBORgdnh2J\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:49.226054Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4D6s5AYYmRacd2b6qdhwiR\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:08.690759Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:49 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM3f6ad406e2f911e39beb02a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:08 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM97c56804f64b11e3ab5302a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcPWQdRBFNXDwJZUVcIAQNQTUIEBg9KRBNQBVEABVQJUg8HCAhXBVAAG00RB1IOF1Nq\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVMNVQhTB1NSBQ9QXlANCgRIQVEACRtGRggEB1JVW1pSAQ8EDQABBgZHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -313,14 +451,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:09:50.168710Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:09.792238Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:09:50.168712Z\",\n      \"href\"\
-        : \"/bank_accounts/BA1WZblmc8DHQsw58GFKqtKh\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:09.792241Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4Elsnia4gdOb4jbpdd7OaJ\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA1WZblmc8DHQsw58GFKqtKh\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4Elsnia4gdOb4jbpdd7OaJ\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -329,22 +467,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:50 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM400411cae2f911e38f8302a1fe53e539\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:09 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM98ad7428f64b11e3a52c02a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAdRVlUKCglUUFoPBA5eUgIaE1NeW04QQA1WDwFQBQpQCwNQVQZUUg8VTUYFWV9DATw=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAJTVlEKAwJTWFQOAgFWVwQaE1NeW04QQAhQXVlVVlZSW1kIUlBaAVIVTUYFWV9DATw=\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -354,10 +492,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:51.083216Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:50.977418Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU1XTwJLdfvIp88mApaesoIZ\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU1XTwJLdfvIp88mApaesoIZ\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:10.566071Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:10.459180Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4F64MAXUNr5IpbLqjiXUq5\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4F64MAXUNr5IpbLqjiXUq5\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -375,12 +513,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:51\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4094533ee2f911e3a82802a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:10\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9930c800f64b11e3ab2502a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TA1ZcAQNRVVsOCgZWWVsHBxtGVh0WEQNVWwQAVApXD1wDBwNUDlgTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QC1pRAwBQUlQBBAlTUlQEAhtGVh0WEVBRUVQAA1tTWgFVUwBcAFUTTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -389,11 +527,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -406,41 +544,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC1Z71eA3WzUxCnq28YeoeCd\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4GEj3SoG2shg4O2mvf5M81\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:09:52.061073Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:11.843022Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC1Z71eA3WzUxCnq28YeoeCd\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:52.061071Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4GEj3SoG2shg4O2mvf5M81\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:11.843020Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:52 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM411b3db8e2f911e3ac1602a1fe53e539\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:11 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM99a86536f64b11e3a52c02a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcPUQdQBVJSAgdWV1UNBgNIQVEACRtGRldUCloFV1oJUQoDCQwGVgtHFUFXAF8RAWs=\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVAJWQVVBltTDgZXUlUPAQlIQVEACRtGRggGB1EAWlVWWw5WAFkFA1ZHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -451,14 +589,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:09:52.866613Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:12.991604Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:09:52.866615Z\",\n      \"href\"\
-        : \"/bank_accounts/BA201a2WWa5HqCyhZm4ShYFf\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:12.991607Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4HWyOA1vDxlyO73EeIrNjj\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA201a2WWa5HqCyhZm4ShYFf\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4HWyOA1vDxlyO73EeIrNjj\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -467,22 +605,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:52 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM41a14c1ee2f911e3a82802a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:13 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9a80e12cf64b11e3ba9202a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAdSUFAJAgZWV1YEBQRUUgMaE1NeW04QQF1WXQBVBgBUDlZVAlAABwYVTUYFWV9DATw=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQ5VUFMMCgJVUlYHCANUUB0WAlpeT0ISU11XDlxWBwpWXFMHV1AHXRQbQQACVEBVOQ==\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -492,10 +630,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:53.672921Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:53.576855Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU20OXcOxvIhoibJOYzBPLBf\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU20OXcOxvIhoibJOYzBPLBf\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:13.787969Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:13.670724Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4II1phHhQDpQY1An4DutVn\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4II1phHhQDpQY1An4DutVn\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -513,12 +651,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:53\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4221b4eee2f911e38f8302a1fe53e539\r\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:13\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9b197f7cf64b11e38da902a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QBVpdBwJRVVALBwBQVFYGHRdUSBEUAgACU1FUVwoEWlkCVANcXUMdQVUDCEVSPA==\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TA1ZUBQ9ZU1sMAgNSWFQEHRdUSBEUA1BUBgMGWlsDAVpWU1cHDkMdQVUDCEVSPA==\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -527,11 +665,149 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+    host: api.balancedpayments.com
+    method: POST
+    path: /cards
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"cards\": [\n    {\n      \"links\": {\n        \"customer\"\
+        : null\n      },\n      \"fingerprint\": \"8c7f0423365af88c3e36cf02746eca64fdcf36ddc2e1f398c7ec9f3ffd05a267\"\
+        ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
+        \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
+        \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4K2Zc8MaJTM7xKHGrw8fz3\"\
+        ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
+        : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:14.863224Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
+        \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
+        : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
+        : \"Street address and postal code do not match.\",\n      \"can_credit\"\
+        : false,\n      \"href\": \"/cards/CC4K2Zc8MaJTM7xKHGrw8fz3\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:14.863222Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
+        ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
+        : \"/cards/{cards.id}/debits\"\n  }\n}"}
+    headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
+        \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:14 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9b98ea32f64b11e3ab5302a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVELUAVSB1NSAgdVUVEMAgJIQVEACRtGRgVSBFsCUgQJVgtWCl5WUAtHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
+      Jay"}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
       - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
+    host: api.balancedpayments.com
+    method: POST
+    path: /bank_accounts
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"bank_accounts\": [\n    {\n      \"routing_number\": \"\
+        121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
+        : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
+        \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:16.069230Z\"\
+        ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
+        ,\n      \"updated_at\": \"2014-06-17T18:17:16.069232Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4Lp9Lf9rojaePGTTp1Qhy9\",\n      \"meta\": {},\n    \
+        \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
+        : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
+        : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4Lp9Lf9rojaePGTTp1Qhy9\"\
+        \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
+        ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
+        ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
+        ,\n    \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\
+        ,\n    \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\"\
+        \n  }\n}"}
+    headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
+        \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:16 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9c564c26f64b11e38da902a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQ9WUlUNAwBUUFcFBA9RXR0WAlpeT0ISUQBaCFkDUQJUCgVUUAcAVBQbQQACVEBVOQ==\r\
+        \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
+      - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
+    host: api.balancedpayments.com
+    method: POST
+    path: /customers
+    port: 443
+    protocol: https
+  response:
+    body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
+        links\": {\n        \"source\": null,\n        \"destination\": null\n   \
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:17.108687Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:16.988331Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4MrnfLU2BJN521k3uilQAp\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4MrnfLU2BJN521k3uilQAp\",\n      \"merchant_status\": \"no-match\"\
+        ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
+        \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
+        \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
+        : null\n      },\n      \"business_name\": null,\n      \"ssn_last4\": null,\n\
+        \      \"email\": null,\n      \"ein\": null\n    }\n  ],\n  \"links\": {\n\
+        \    \"customers.source\": \"/resources/{customers.source}\",\n    \"customers.card_holds\"\
+        : \"/customers/{customers.id}/card_holds\",\n    \"customers.bank_accounts\"\
+        : \"/customers/{customers.id}/bank_accounts\",\n    \"customers.debits\":\
+        \ \"/customers/{customers.id}/debits\",\n    \"customers.destination\": \"\
+        /resources/{customers.destination}\",\n    \"customers.external_accounts\"\
+        : \"/customers/{customers.id}/external_accounts\",\n    \"customers.cards\"\
+        : \"/customers/{customers.id}/cards\",\n    \"customers.disputes\": \"/customers/{customers.id}/disputes\"\
+        ,\n    \"customers.transactions\": \"/customers/{customers.id}/transactions\"\
+        ,\n    \"customers.refunds\": \"/customers/{customers.id}/refunds\",\n   \
+        \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
+        customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
+        : \"/customers/{customers.id}/credits\"\n  }\n}"}
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:17\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9d14e816f64b11e39beb02a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QClRRAANYV1EPCgZUU1ICHRdUSBEUUlBXB1IDVgAGWQgEAVUDD0MdQVUDCEVSPA==\r\
+        \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
+    status: {code: 201, message: CREATED}
+- request: !!python/object:vcr.request.Request
+    body: '{"expiration_month": 10, "meta": {"region": "Confusion", "city_town": "",
+      "address_2": "Box 2"}, "number": "4111111111111111", "expiration_year": 2020,
+      "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
+      Street"}}'
+    headers: !!python/object/apply:__builtin__.frozenset
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
+      - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -544,41 +820,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC21SsYykrh9NYsrH0bTpE7H\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4NInyiTfJit8o0DlrhLlVH\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:09:54.523281Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:18.130800Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC21SsYykrh9NYsrH0bTpE7H\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:54.523279Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4NInyiTfJit8o0DlrhLlVH\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:18.130798Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:54 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM429304f0e2f911e3a82802a1fe52a36c\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:18 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9d9fd0acf64b11e3a52c02a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcOUgFZB1NSBQFXU1QPAgVIQVEACRtGRlJVBAdVVVoGW1kHWQoBVlZHFUFXAF8RAWs=\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVYIUABXBFtRAwRYXlYNCgVTTUIEBg9KRBMCV1cHVgEHUQlSCVxWUAZRG00RB1IOF1Nq\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -589,14 +865,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:09:55.462542Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:18.999383Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:09:55.462544Z\",\n      \"href\"\
-        : \"/bank_accounts/BA22WaRDZRUY87ijZ88eXGNT\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:18.999387Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4OH7xslI25erT4ydk0ukBL\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA22WaRDZRUY87ijZ88eXGNT\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4OH7xslI25erT4ydk0ukBL\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -605,22 +881,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:55 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM43139d04e2f911e3ac1602a1fe53e539\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:19 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9e2ce0e6f64b11e38da902a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQBTU1EAAwdSUFUGCQBTSBEHC1pKQ0BVWgFaAA4HVwYEWFFQVFUBRhoXBwcPS1Zt\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBANYVlIMAgNdUFUCBQZTVAUaE1NeW04QQAsGCVoCUFYAAFABBwtbUVMVTUYFWV9DATw=\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -630,10 +906,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:56.400067Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:56.270639Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU23QDJMonogp6Jo5cRfqWup\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU23QDJMonogp6Jo5cRfqWup\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:19.915432Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:19.778592Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4PzWGiM1NDwpWeB8d8JyiZ\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4PzWGiM1NDwpWeB8d8JyiZ\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -651,12 +927,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:56\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM43b884eae2f911e3a82802a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:19\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9ebeb426f64b11e3a82802a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAFdVDwRYUFQAAglWUFEPBhtGVh0WEVUHUlFUWl4DWVwFCwVcXVgTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAlJVBQ5YXloABgJdUVcFBhtGVh0WEQRUU1ABVQpaCQAMAFcHDgATTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -665,11 +941,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -682,41 +958,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC254kEbevQuww2EdlnFRmJj\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4R0mVXQvnklmN2KjvS5Pdf\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:09:57.358112Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:21.051703Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC254kEbevQuww2EdlnFRmJj\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:57.358110Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4R0mVXQvnklmN2KjvS5Pdf\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:21.051701Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:57 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM44414816e2f911e3ac1602a1fe53e539\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:21 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9f47a114f64b11e3ab5302a1fe52a36c\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVEKUwJVC1JVBA5TUlIBBwNQTUIEBg9KRBMFAwdXUlcJAQkHDQpXA1VQG00RB1IOF1Nq\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVEKUglXAVtWAgJWU1sIBgZSTUIEBg9KRBMAVVNTW1IIVA9aCVwHVlJdG00RB1IOF1Nq\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -727,14 +1003,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:09:58.557578Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:22.094355Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:09:58.557580Z\",\n      \"href\"\
-        : \"/bank_accounts/BA26q0iYht5gzzJZyXqya4IZ\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:22.094357Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4SaWvPKwmanSbJ6HSbK101\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA26q0iYht5gzzJZyXqya4IZ\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4SaWvPKwmanSbJ6HSbK101\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -743,22 +1019,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:09:58 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM44ec1d22e2f911e3ba9202a1fe52a36c\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:22 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM9fe6834cf64b11e39cde02a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQBSVFcMAwRTUFQDCAZRSBEHC1pKQ0AJBABTWgFVAFIECQcDBAdRRhoXBwcPS1Zt\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKAgNUV1UKAwVTWVUBBA9QXR0WAlpeT0ISVglSCFkHUFFRWlACUAdTURQbQQACVEBVOQ==\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -768,10 +1044,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:09:59.348486Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:09:59.235001Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU27blLEJWkeTBYoHkKoEOLr\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU27blLEJWkeTBYoHkKoEOLr\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:22.958038Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:22.842968Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4T1DlIyQnNcg6E6UErND9D\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4T1DlIyQnNcg6E6UErND9D\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -789,12 +1065,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:09:59\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM457f68ace2f911e38ab902a1fe53e539\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:23\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa092515ef64b11e3ab2502a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAFpQAABYVVIPBwdQUlQCAxtGVh0WEVAHAFAEAQlbWl1VVFdWDFQTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QC1tVBwJRUlQMBgRcUlEOCRtGVh0WEQMDBlYFWgxaXgkEBAIBCVITTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -803,11 +1079,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -820,41 +1096,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC28BU0WSXxDyIEzVip3l7jD\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4UvdJ4DnmiMlHoyNyBiyRD\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:10:00.509705Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:24.166071Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC28BU0WSXxDyIEzVip3l7jD\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:00.509703Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4UvdJ4DnmiMlHoyNyBiyRD\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:24.166069Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:00 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4608d18ce2f911e3a82802a1fe52a36c\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:24 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa1093076f64b11e387d602a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVEMWQZSAVNWDgZVVVAJAwVRTUIEBg9KRBNVBFYHAQQJAQ1QXgAEAAVWG00RB1IOF1Nq\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVMIUQZXAlpcBg9WUlULAAhIQVEACRtGRglUBFdXU1EFW1laDwkFBFJHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -865,14 +1141,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:10:01.675163Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:25.005678Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:10:01.675167Z\",\n      \"href\"\
-        : \"/bank_accounts/BA29VpPlQSu9hH4ZXQzWfxCp\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:25.005680Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4VrXsnBwSVNMWD5bFSCHOJ\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA29VpPlQSu9hH4ZXQzWfxCp\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4VrXsnBwSVNMWD5bFSCHOJ\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -881,22 +1157,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:01 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM46c006aee2f911e3937302a1fe53e539\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:25 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa1c38606f64b11e3ba9202a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQ5TX1sLAglcUFQCCQ5VUQQaE1NeW04QQFwADV5VBwZRAAVVAwBaBlIVTUYFWV9DATw=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBARVUVAOAQBQUFYAAgReXAYaE1NeW04QQF0GDAkNBAsAAVVVWAoBVAIVTUYFWV9DATw=\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -906,10 +1182,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:10:02.543674Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:02.436925Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU2aMNdGmPBcwqYSOdjUQN6x\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU2aMNdGmPBcwqYSOdjUQN6x\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:26.047893Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:25.919350Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4WtMH87xGMuaw6bv4elVCR\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4WtMH87xGMuaw6bv4elVCR\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -927,12 +1203,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:10:02\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4769ede0e2f911e3a82802a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:26\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa2664030f64b11e3a52c02a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QC1FcBgRWX1UPBQhVWVoDCRtGVh0WEQBRVAMEBFxSDQkMClZVDAUTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAFNSBQRYVlINCgZUV1sEBRtGVh0WEVtQAQBTAVpSCQANAAtVWwQTTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -941,11 +1217,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -958,41 +1234,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC2c8KaGAwfCsqGbIDeUZLRr\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC4XW0XMsJbIhDCA9L6iRCQt\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:10:03.646795Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:27.218700Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC2c8KaGAwfCsqGbIDeUZLRr\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:03.646793Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC4XW0XMsJbIhDCA9L6iRCQt\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:27.218698Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:03 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM47e76522e2f911e38ab902a1fe53e539\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:27 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa2edf476f64b11e3ab5302a1fe52a36c\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVENVQhQBVJUDw5RVFoNBwFIQVEACRtGRglTCltWAFBRBggHWQpSV1JHFUFXAF8RAWs=\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVEAVwBQAVpWBQNZUFAKCwFIQVEACRtGRlQPClIHWgQFUwtSDVoFAQtHFUFXAF8RAWs=\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -1003,14 +1279,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:10:04.654102Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:28.100814Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:10:04.654104Z\",\n      \"href\"\
-        : \"/bank_accounts/BA2dhibdJNcduPEQvm7OMUTD\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:28.100816Z\",\n      \"href\"\
+        : \"/bank_accounts/BA4YWajdmsBRKntNEEOTik4N\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA2dhibdJNcduPEQvm7OMUTD\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA4YWajdmsBRKntNEEOTik4N\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -1019,22 +1295,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:04 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM488b3d82e2f911e3a82802a1fe52a36c\r\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:28 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa392df86f64b11e38da902a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQ9XUlcBCwFXWVYFBgBVUAUaE1NeW04QQAwHCF4EAFFWWFcEWAJXAVIVTUYFWV9DATw=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBA9SUlYBCgBVWVIOBw5UUB0WAlpeT0ISU11XAQ9SCwZTDVlUVFEBVxQbQQACVEBVOQ==\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -1044,10 +1320,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:10:05.492265Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:05.384329Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU2e6kdBC4mUipi7taYJWJIZ\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU2e6kdBC4mUipi7taYJWJIZ\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:28.983101Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:28.791934Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU4ZIsJl7GiL6t2S2vMCS7r3\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU4ZIsJl7GiL6t2S2vMCS7r3\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -1065,12 +1341,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:10:05\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM492b7090e2f911e3ac1602a1fe53e539\r\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:29\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa41d81d6f64b11e3ba9202a1fe52a36c\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9QC1BTBwJZX1EPCgFTVVoHBBtGVh0WEQFeUlsCUQgDWVxQBlJUCVETTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TBFNWAAdRVFAJAgdUV1cDAhtGVh0WEVMFUVpSA1oECQxVUQIBDAATTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -1079,11 +1355,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -1096,41 +1372,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC2fljaK38KtyzY98agmb5DT\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC513aUfVWVkVQldhvvZMZyV\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:10:06.494220Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:29.980872Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC2fljaK38KtyzY98agmb5DT\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:06.494218Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC513aUfVWVkVQldhvvZMZyV\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:29.980870Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:06 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM499f5488e2f911e3a82802a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:30 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa4b5e606f64b11e3a52c02a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVELUwJWAFJRAANQV1QMAAFSTUIEBg9KRBNSUFRWV1AFAwtSXApWAwVRG00RB1IOF1Nq\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcNVgZXBFtWAwVXVFcNAgFTTUIEBg9KRBMEB1BfBVoGUghWDA0HBgJWG00RB1IOF1Nq\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -1141,14 +1417,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:10:07.338441Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:31.128356Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:10:07.338443Z\",\n      \"href\"\
-        : \"/bank_accounts/BA2gigSFc9B2APF1ZyMwPUZT\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:31.128359Z\",\n      \"href\"\
+        : \"/bank_accounts/BA52l7gtpvjOj9vR1fq2avZ7\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA2gigSFc9B2APF1ZyMwPUZT\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA52l7gtpvjOj9vR1fq2avZ7\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -1157,22 +1433,22 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:07 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4a3db736e2f911e38ab902a1fe53e539\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:31 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa54d6076f64b11e3ab2502a1fe52a36c\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBAVWXloMAwZTVlQDAw9UVgIaE1NeW04QQFwBDV4DUQEBDlVXAgQHAgcVTUYFWV9DATw=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKAgZTVlcKCwVSU1MBBQRWUgcaE1NeW04QQAsGCwgGCwcDCFlXAFZaUQIVTUYFWV9DATw=\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '2']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '2']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -1182,10 +1458,10 @@
   response:
     body: {string: "{\n  \"customers\": [\n    {\n      \"name\": null,\n      \"\
         links\": {\n        \"source\": null,\n        \"destination\": null\n   \
-        \   },\n      \"updated_at\": \"2014-05-24T04:10:08.254135Z\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:08.154569Z\",\n      \"dob_month\": null,\n      \"id\"\
-        : \"CU2hdlgHclhOLvbpdQSIz0sl\",\n      \"phone\": null,\n      \"href\": \"\
-        /customers/CU2hdlgHclhOLvbpdQSIz0sl\",\n      \"merchant_status\": \"no-match\"\
+        \   },\n      \"updated_at\": \"2014-06-17T18:17:32.198226Z\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:32.081429Z\",\n      \"dob_month\": null,\n      \"id\"\
+        : \"CU53ptMszRNctak6FpVtLXyB\",\n      \"phone\": null,\n      \"href\": \"\
+        /customers/CU53ptMszRNctak6FpVtLXyB\",\n      \"merchant_status\": \"no-match\"\
         ,\n      \"meta\": {},\n      \"dob_year\": null,\n      \"address\": {\n\
         \        \"city\": null,\n        \"line2\": null,\n        \"line1\": null,\n\
         \        \"state\": null,\n        \"postal_code\": null,\n        \"country_code\"\
@@ -1203,12 +1479,12 @@
         \ \"customers.reversals\": \"/customers/{customers.id}/reversals\",\n    \"\
         customers.orders\": \"/customers/{customers.id}/orders\",\n    \"customers.credits\"\
         : \"/customers/{customers.id}/credits\"\n  }\n}"}
-    headers: ["Content-Type: application/json\r\n", "Date: Sat, 24 May 2014 04:10:08\
-        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4acfc52ce2f911e3ba9202a1fe52a36c\r\
+    headers: ["Content-Type: application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:32\
+        \ GMT\r\n", "Server: ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa612692af64b11e38da902a1fe53e539\r\
         \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAlNSAQRRVFILAgZRU1oEAxtGVh0WEQAFBVAGUA9aAA1RU1cEW1MTTRMEBVpEBDs=\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSQhUQXltWEBVNAUIHWRZdGhgSA0kZUR9TAVZTDwBRV1MMAQFTVFAOAhtGVh0WEQMDVFQAAwAADlxXVgdTCQMTTRMEBVpEBDs=\r\
         \n", "Content-Length: 1593\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
@@ -1217,11 +1493,11 @@
       "address": {"state": "Confusion", "postal_code": "90210", "line1": "123 Main
       Street"}}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Content-Length, '238']
-      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Content-Length, !!python/unicode '238']
+      - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
     host: api.balancedpayments.com
     method: POST
@@ -1234,41 +1510,41 @@
         ,\n      \"cvv_result\": null,\n      \"number\": \"xxxxxxxxxxxx1111\",\n\
         \      \"avs_postal_match\": \"no\",\n      \"expiration_month\": 10,\n  \
         \    \"meta\": {\n        \"region\": \"Confusion\",\n        \"city_town\"\
-        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC2ip8dgCCDZYLDvVSKv8mgt\"\
+        : \"\",\n        \"address_2\": \"Box 2\"\n      },\n      \"id\": \"CC54AcioyNe1ZKx1GalHmGzn\"\
         ,\n      \"category\": \"other\",\n      \"type\": \"credit\",\n      \"cvv_match\"\
         : null,\n      \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\",\n      \"avs_street_match\"\
-        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-05-24T04:10:09.217158Z\"\
-        ,\n      \"address\": {\n        \"city\": \"Balo Alto\",\n        \"line2\"\
-        : null,\n        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
+        : \"yes\",\n      \"brand\": \"Visa\",\n      \"updated_at\": \"2014-06-17T18:17:33.123367Z\"\
+        ,\n      \"address\": {\n        \"city\": null,\n        \"line2\": null,\n\
+        \        \"line1\": \"123 Main Street\",\n        \"state\": \"Confusion\"\
         ,\n        \"postal_code\": \"90210\",\n        \"country_code\": null\n \
         \     },\n      \"can_debit\": true,\n      \"name\": null,\n      \"expiration_year\"\
         : 2020,\n      \"cvv\": null,\n      \"is_verified\": true,\n      \"avs_result\"\
         : \"Street address and postal code do not match.\",\n      \"can_credit\"\
-        : false,\n      \"href\": \"/cards/CC2ip8dgCCDZYLDvVSKv8mgt\",\n      \"created_at\"\
-        : \"2014-05-24T04:10:09.217156Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
+        : false,\n      \"href\": \"/cards/CC54AcioyNe1ZKx1GalHmGzn\",\n      \"created_at\"\
+        : \"2014-06-17T18:17:33.123365Z\"\n    }\n  ],\n  \"links\": {\n    \"cards.card_holds\"\
         : \"/cards/{cards.id}/card_holds\",\n    \"cards.customer\": \"/customers/{cards.customer}\"\
         ,\n    \"cards.disputes\": \"/cards/{cards.id}/disputes\",\n    \"cards.debits\"\
         : \"/cards/{cards.id}/debits\"\n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:09 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4b56188ee2f911e3ac1602a1fe53e539\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:33 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa68eb142f64b11e3a52c02a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcOVARWBlpTAAVSU1oOAglIQVEACRtGRlABC1VRUAFVAVsBAQoABgRHFUFXAF8RAWs=\r\
-        \n", "Content-Length: 1426\r\n", "Connection: keep-alive\r\n"]
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhSVhQAQhhQEAMCFlVAFEIIFBQCHVcAUgJWB1JSBwJZUlcPAQZSTUIEBg9KRBMPUANfVwBWUwlXWgEEVwUEG00RB1IOF1Nq\r\
+        \n", "Content-Length: 1419\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
 - request: !!python/object:vcr.request.Request
     body: '{"routing_number": "121042882", "account_number": "112233a", "name": "Homer
       Jay"}'
     headers: !!python/object/apply:__builtin__.frozenset
-    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0xcTBNb3ZtV21tTGJNYkVRaUE1eXZZNFdyanppbXBaanY6Tm9uZQ==']
-      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+    - - !!python/tuple [Authorization, !!python/unicode 'Basic YWstdGVzdC0zSnVGQUd4M1ZUSzB0NFNyakx2dVA1QlpyZmRzY2luMTpOb25l']
       - !!python/tuple [User-Agent, !!python/unicode 'balanced-python/1.0.1beta2']
-      - !!python/tuple [Accept-Encoding, 'gzip, deflate']
+      - !!python/tuple [Content-Type, !!python/unicode 'application/json']
+      - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
       - !!python/tuple [accept, !!python/unicode 'application/vnd.api+json;revision=1.1']
-      - !!python/tuple [Content-Length, '81']
+      - !!python/tuple [Content-Length, !!python/unicode '81']
     host: api.balancedpayments.com
     method: POST
     path: /bank_accounts
@@ -1279,14 +1555,14 @@
         121042882\",\n      \"bank_name\": \"WELLS FARGO BANK NA\",\n      \"account_type\"\
         : \"checking\",\n      \"name\": \"Homer Jay\",\n      \"links\": {\n    \
         \    \"customer\": null,\n        \"bank_account_verification\": null\n  \
-        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-05-24T04:10:10.287105Z\"\
+        \    },\n      \"can_credit\": true,\n      \"created_at\": \"2014-06-17T18:17:34.311126Z\"\
         ,\n      \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
-        ,\n      \"updated_at\": \"2014-05-24T04:10:10.287108Z\",\n      \"href\"\
-        : \"/bank_accounts/BA2jBWgSunPP0EtVFJ9lchLf\",\n      \"meta\": {},\n    \
+        ,\n      \"updated_at\": \"2014-06-17T18:17:34.311128Z\",\n      \"href\"\
+        : \"/bank_accounts/BA55VdX9UgjM7U0rEvG5aQQN\",\n      \"meta\": {},\n    \
         \  \"account_number\": \"xxx233a\",\n      \"address\": {\n        \"city\"\
         : null,\n        \"line2\": null,\n        \"line1\": null,\n        \"state\"\
         : null,\n        \"postal_code\": null,\n        \"country_code\": null\n\
-        \      },\n      \"can_debit\": false,\n      \"id\": \"BA2jBWgSunPP0EtVFJ9lchLf\"\
+        \      },\n      \"can_debit\": false,\n      \"id\": \"BA55VdX9UgjM7U0rEvG5aQQN\"\
         \n    }\n  ],\n  \"links\": {\n    \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
         ,\n    \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
         ,\n    \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
@@ -1295,11 +1571,11 @@
         \n  }\n}"}
     headers: ["access-control-allow-headers: Content-Type\r\n", "access-control-allow-methods:\
         \ POST, OPTIONS\r\n", "access-control-allow-origin: *\r\n", "Content-Type:\
-        \ application/json\r\n", "Date: Sat, 24 May 2014 04:10:10 GMT\r\n", "Server:\
-        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHM4be8fe10e2f911e39beb02a1fe52a36c\r\
-        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-4-8\r\n", "x-balanced-marketplace:\
+        \ application/json\r\n", "Date: Tue, 17 Jun 2014 18:17:34 GMT\r\n", "Server:\
+        \ ngx_openresty/1.2.6.3\r\n", "X-Balanced-Guru: OHMa721f704f64b11e38da902a1fe53e539\r\
+        \n", "x-balanced-host: bapi-integration-prod-8u30f7-10-3-5-201\r\n", "x-balanced-marketplace:\
         \ TEST-MP1wTyxDAJKCaWPjBS4Oli4d\r\n", "x-balanced-merchant: TEST-MR1wiJbFKXFmlmVIyaPiduUV\r\
-        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.35\r\n",
-      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKBQBWXlIJAglXVVQBAA9QUR0WAlpeT0ISBAoADwhXUQQEAAMEUAsBUxQbQQACVEBVOQ==\r\
+        \n", "x-balanced-revision: 1.1\r\n", "x-balanced-software-build: 1.2.57\r\n",
+      "X-Midlr-Version: 2\r\n", "x-newrelic-app-data: PxQFWFNXCQYTVVhWAwQDVUYdFhE1AwE2QgNWEVlbQFtcCxYxSBVbDQoZVA4IF0pcXAgEEBhTVggPbldQAQkWDEQRFgFKXVVGVkcVQQFNE1JKAwRXU1cNCglVWVsABA9VSBEHC1pKQ0AGVVoEDgBQUwVcClkJUwAERhoXBwcPS1Zt\r\
         \n", "Content-Length: 1281\r\n", "Connection: keep-alive\r\n"]
     status: {code: 201, message: CREATED}
diff --git a/tests/py/test_billing_payday.py b/tests/py/test_billing_payday.py
--- a/tests/py/test_billing_payday.py
+++ b/tests/py/test_billing_payday.py
@@ -405,6 +405,27 @@ def test_move_pending_to_balance_for_teams_ignores_new_teams(self):
         actual = self.db.one("SELECT balance FROM participants WHERE username='A'")
         assert actual == 0
 
+    def test_update_receiving_amounts_updates_receiving_amounts(self):
+        A = self.make_participant('A')
+        B = self.make_participant('B', claimed_time='now', last_bill_result='')
+        B.set_tip_to(A, D('10.00'), update_tippee=False)
+        assert Participant.from_username('A').receiving == 0
+
+        self.payday.update_receiving_amounts()
+        assert Participant.from_username('A').receiving == 10
+
+    def test_update_receiving_amounts_includes_taking(self):
+        A = self.make_participant('A', claimed_time='now', taking=3)
+        B = self.make_participant('B', claimed_time='now', last_bill_result='')
+        B.set_tip_to(A, D('10.00'), update_tippee=False)
+
+        assert Participant.from_username('A').receiving == 0
+        assert Participant.from_username('A').taking == 3
+
+        self.payday.update_receiving_amounts()
+        assert Participant.from_username('A').receiving == 13
+        assert Participant.from_username('A').taking == 3
+
     @mock.patch('gittip.models.participant.Participant.get_tips_and_total')
     def test_charge_and_or_transfer_no_tips(self, get_tips_and_total):
         self.db.run("""
diff --git a/tests/py/test_participant.py b/tests/py/test_participant.py
--- a/tests/py/test_participant.py
+++ b/tests/py/test_participant.py
@@ -535,6 +535,12 @@ def test_receiving_ignores_tips_from_blacklisted_accounts(self):
         actual = bob.receiving
         assert actual == expected
 
+    def test_receiving_includes_taking_when_updated_from_set_tip_to(self):
+        alice = self.make_participant('alice', last_bill_result='')
+        bob = self.make_participant('bob', taking=Decimal('42.00'))
+        alice.set_tip_to(bob, '3.00')
+        assert Participant.from_username('bob').receiving == bob.receiving == Decimal('45.00')
+
 
     # pledging
 
diff --git a/tests/py/test_take.py b/tests/py/test_take.py
--- a/tests/py/test_take.py
+++ b/tests/py/test_take.py
@@ -3,34 +3,33 @@
 from decimal import Decimal as D
 
 from gittip.testing import Harness
+from gittip.models.participant import Participant
 
 
-default_team_name = 'Team'
+TEAM = 'A Team'
 
 
 class Tests(Harness):
 
-    def make_team(self, name=default_team_name):
-        team = self.make_participant(name, number='plural')
-
-        warbucks = self.make_participant( 'Daddy Warbucks'
-                                        , last_bill_result=''
-                                         )
-        warbucks.set_tip_to(team, '100')
-
+    def make_team(self, username=TEAM, **kw):
+        team = self.make_participant(username, number='plural', **kw)
+        if Participant.from_username('Daddy Warbucks') is None:
+            warbucks = self.make_participant('Daddy Warbucks', last_bill_result='')
+            self.warbucks = warbucks
+        self.warbucks.set_tip_to(team, '100')
         return team
 
-    def make_participant(self, username, *arg, **kw):
-        take_last_week = kw.pop('take_last_week', '40')
-        team_name = kw.pop('team_name', default_team_name)
+    def make_participant(self, username, **kw):
+        take_last_week = kw.pop('take_last_week', None)
+        team_name = kw.pop('', TEAM)
         participant = Harness.make_participant(self, username, **kw)
-        if username == 'alice':
-            self.db.run("INSERT INTO paydays DEFAULT VALUES")
-            self.db.run( "INSERT INTO transfers "
-                           "(timestamp, tipper, tippee, amount) "
-                           "VALUES (now(), %s, 'alice', %s)"
-                         , (team_name, take_last_week,)
-                          )
+        if take_last_week is not None:
+            if self.db.one('SELECT * FROM paydays') is None:
+                self.db.run("INSERT INTO paydays DEFAULT VALUES")
+            self.db.run( "INSERT INTO transfers (timestamp, tipper, tippee, amount) "
+                         "VALUES (now(), %(tipper)s, %(tippee)s, %(amount)s)"
+                       , dict(tipper=team_name, tippee=username, amount=take_last_week,)
+                        )
         return participant
 
     def test_we_can_make_a_team(self):
@@ -44,26 +43,26 @@ def test_random_schmoe_is_not_member_of_team(self):
 
     def test_team_member_is_team_member(self):
         team = self.make_team()
-        alice = self.make_participant('alice', claimed_time='now')
+        alice = self.make_participant('alice', take_last_week='40.00', claimed_time='now')
         team.add_member(alice)
         assert alice.member_of(team)
 
     def test_cant_grow_tip_a_lot(self):
         team = self.make_team()
-        alice = self.make_participant('alice')
+        alice = self.make_participant('alice', take_last_week='40.00')
         team._MixinTeam__set_take_for(alice, D('40.00'), team)
         assert team.set_take_for(alice, D('100.00'), alice) == 80
 
     def test_take_can_double(self):
         team = self.make_team()
-        alice = self.make_participant('alice')
+        alice = self.make_participant('alice', take_last_week='40.00')
         team._MixinTeam__set_take_for(alice, D('40.00'), team)
         team.set_take_for(alice, D('80.00'), alice)
         assert team.get_take_for(alice) == 80
 
     def test_take_can_double_but_not_a_penny_more(self):
         team = self.make_team()
-        alice = self.make_participant('alice')
+        alice = self.make_participant('alice', take_last_week='40.00')
         team._MixinTeam__set_take_for(alice, D('40.00'), team)
         actual = team.set_take_for(alice, D('80.01'), alice)
         assert actual == 80
@@ -83,7 +82,7 @@ def test_if_last_week_is_less_than_a_dollar_can_increase_to_a_dollar(self):
 
     def test_get_members(self):
         team = self.make_team()
-        alice = self.make_participant('alice', claimed_time='now')
+        alice = self.make_participant('alice', take_last_week='40.00', claimed_time='now')
         team.add_member(alice)
         team.set_take_for(alice, D('42.00'), team)
         members = team.get_members(alice)
@@ -91,3 +90,79 @@ def test_get_members(self):
         assert members[0]['username'] == 'alice'
         assert members[0]['take'] == 42
         assert members[0]['balance'] == 58
+
+    def test_taking_and_receiving_are_updated_correctly(self):
+        team = self.make_team()
+        alice = self.make_participant('alice', take_last_week='40.00', claimed_time='now')
+        team.add_member(alice)
+        team.set_take_for(alice, D('42.00'), alice)
+        assert alice.taking == 42
+        assert alice.receiving == 42
+        self.warbucks.set_tip_to(alice, D('10.00'))
+        assert alice.taking == 42
+        assert alice.receiving == 52
+        team.set_take_for(alice, D('50.00'), alice)
+        assert alice.taking == 50
+        assert alice.receiving == 60
+
+    def test_taking_is_zero_for_team(self):
+        team = self.make_team()
+        alice = self.make_participant('alice', claimed_time='now')
+        team.add_member(alice)
+        team = Participant.from_id(team.id)
+        assert team.taking == 0
+        assert team.receiving == 100
+
+    def test_but_team_can_take_from_other_team(self):
+        a_team = self.make_team('A Team', claimed_time='now')
+        b_team = self.make_team('B Team', claimed_time='now')
+        a_team.add_member(b_team)
+        a_team.set_take_for(b_team, D('1.00'), b_team)
+
+        b_team = Participant.from_id(b_team.id)
+        assert b_team.taking == 1
+        assert b_team.receiving == 101
+
+    def test_changes_to_team_receiving_affect_members_take(self):
+        team = self.make_team()
+        alice = self.make_participant('alice', take_last_week='40.00', claimed_time='now')
+        team.add_member(alice)
+        team.set_take_for(alice, D('42.00'), alice)
+
+        self.warbucks.set_tip_to(team, D('10.00'))  # hard times
+        alice = Participant.from_username('alice')
+        assert alice.receiving == alice.taking == 10
+
+    def test_changes_to_others_take_affects_members_take(self):
+        team = self.make_team()
+
+        alice = self.make_participant('alice', take_last_week='30.00', claimed_time='now')
+        team.add_member(alice)
+        team.set_take_for(alice, D('42.00'), alice)
+
+        bob = self.make_participant('bob', take_last_week='50.00', claimed_time='now')
+        team.add_member(bob)
+        team.set_take_for(bob, D('60.00'), bob)
+
+        alice = Participant.from_username('alice')
+        assert alice.receiving == alice.taking == 40
+
+        # But get_members still uses nominal amount
+        assert [m['take'] for m in  team.get_members(alice)] == [60, 42, 0]
+
+    def test_changes_to_others_take_can_increase_members_take(self):
+        team = self.make_team()
+
+        alice = self.make_participant('alice', take_last_week='30.00', claimed_time='now')
+        team.add_member(alice)
+        team.set_take_for(alice, D('42.00'), alice)
+
+        bob = self.make_participant('bob', take_last_week='60.00', claimed_time='now')
+        team.add_member(bob)
+        team.set_take_for(bob, D('80.00'), bob)
+        alice = Participant.from_username('alice')
+        assert alice.receiving == alice.taking == 20
+
+        team.set_take_for(bob, D('30.00'), bob)
+        alice = Participant.from_username('alice')
+        assert alice.receiving == alice.taking == 42