diff --git a/tests/py/fixtures/BillingHarness.yml b/tests/py/fixtures/BillingHarness.yml
index c7548aee93..f324c88b1a 100644
--- a/tests/py/fixtures/BillingHarness.yml
+++ b/tests/py/fixtures/BillingHarness.yml
@@ -5,13 +5,13 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/api_keys
response:
- body: {string: !!python/unicode "{\n \"links\": {},\n \"api_keys\": [\n {\n
- \ \"links\": {},\n \"created_at\": \"2014-10-27T09:08:21.434947Z\",\n
- \ \"secret\": \"ak-test-qcKHlRLT6GvImQiLtMfazhir7sueMvc\",\n \"href\":
- \"/api_keys/AK6dTp9LpAjiAvXSHQbkozKM\",\n \"meta\": {},\n \"id\":
- \"AK6dTp9LpAjiAvXSHQbkozKM\"\n }\n ]\n}"}
+ body: {string: !!python/unicode "{\n \"links\": {},\n \"api_keys\": [\n {\n\
+ \ \"links\": {},\n \"created_at\": \"2015-05-10T09:32:06.412682Z\"\
+ ,\n \"secret\": \"ak-test-GI5pHLqRPDUmLRGfq1dWHbdaEJOQpgF0\",\n \
+ \ \"href\": \"/api_keys/AK3UTNF2eOE48wMYn7EJN2zX\",\n \"meta\": {},\n\
+ \ \"id\": \"AK3UTNF2eOE48wMYn7EJN2zX\"\n }\n ]\n}"}
headers:
- content-length: ['288']
+ content-length: ['289']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
@@ -22,20 +22,20 @@ interactions:
response:
body:
string: !!binary |
- H4sIAAAAAAAAA5VUTW/bMAy991cEPuyyNfFnhwQotrXZZe3QYE0xbMNgyBaNeJElQ5aadEH++2hZ
- rmNMKLZLQFKP5CP54sPZZOJVoIi3mBzQRo+RRqHnzSoit6BqRnJo3rGyKtVlmLwSRdGAuvS9Nx2c
- w76Fc82YjWwkFP9RwFRGfJjY/K4DRnwbqCU8lkI34zZKKMIwFFhUUcp/I468j22OdzogFvphBuq2
- gK8lT6HJpdi1PfwoCd/G864VPlJREQRo2TLwYE+qmsE0F5VdC0I4qaB9XOmMlflkCY/DGy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5anp5fnw2zA7f75ZK44WOmDWlUNTKjmfmRMfYQ/5NS8JYQUpL
+ i2C217xYCXQIieuzshdHJB3iGcmHEZKC7EFO9KFKjJSvBDsI51Qfup9sA9y1faj78HgwNHehB9mH
+ U5LwjtgN9xWPDD6PgvB1TspS6KGWscXnM4I/KT4k3iWcHRLN7myv+bC07lqtLNOQB4PiQw43wG3O
+ XYS/bO+PqzF7cp89jgg2PjA7Lxmwn2FOTjTH8mj3G51c3vInBgAA
headers:
content-encoding: [gzip]
- content-length: ['594']
+ content-length: ['609']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
@@ -44,29 +44,32 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/customers
response:
- body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\":
- null,\n \"links\": {\n \"source\": null,\n \"destination\":
- null\n },\n \"updated_at\": \"2014-10-27T09:08:24.077740Z\",\n \"created_at\":
- \"2014-10-27T09:08:23.921113Z\",\n \"dob_month\": null,\n \"id\":
- \"CU6gH6X342hhVXOrrH7SVFzL\",\n \"phone\": null,\n \"href\": \"/customers/CU6gH6X342hhVXOrrH7SVFzL\",\n
- \ \"merchant_status\": \"no-match\",\n \"meta\": {\n \"seq\":
- \"0\"\n },\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}"}
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:07.515564Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:07.390649Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU3VZX5EKRo50kRLA3GsZwa1\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU3VZX5EKRo50kRLA3GsZwa1\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"seq\": \"0\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
headers:
- content-length: ['1619']
+ content-length: ['1683']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
@@ -75,29 +78,32 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/customers
response:
- body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\":
- null,\n \"links\": {\n \"source\": null,\n \"destination\":
- null\n },\n \"updated_at\": \"2014-10-27T09:08:24.892778Z\",\n \"created_at\":
- \"2014-10-27T09:08:24.750152Z\",\n \"dob_month\": null,\n \"id\":
- \"CU6hCQw1dtlujsKG1esVTl2t\",\n \"phone\": null,\n \"href\": \"/customers/CU6hCQw1dtlujsKG1esVTl2t\",\n
- \ \"merchant_status\": \"no-match\",\n \"meta\": {\n \"seq\":
- \"1\"\n },\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}"}
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:08.086082Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:07.962981Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU3WDQO04zVftSbz7HFxFPLL\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"seq\": \"1\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
headers:
- content-length: ['1619']
+ content-length: ['1683']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
@@ -109,66 +115,67 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/cards
response:
- body: {string: !!python/unicode "{\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\": \"CC6j2lN0CEuf3wt77J2bQW7r\",\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-10-27T09:08:26.009696Z\",\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/CC6j2lN0CEuf3wt77J2bQW7r\",\n \"created_at\": \"2014-10-27T09:08:26.009694Z\"\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}"}
+ body: {string: !!python/unicode "{\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\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\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\": \"2015-05-10T09:32:09.192301Z\"\
+ ,\n \"address\": {\n \"city\": \"Beverly Hills\",\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/CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:09.192299Z\"\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]
access-control-allow-methods: ['POST, OPTIONS']
access-control-allow-origin: ['*']
- content-length: ['1419']
+ content-length: ['1430']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
- body: '{"links": {"customer": "/customers/CU6hCQw1dtlujsKG1esVTl2t"}, "cvv_result":
+ body: '{"links": {"customer": "/customers/CU3WDQO04zVftSbz7HFxFPLL"}, "cvv_result":
null, "number": "xxxxxxxxxxxx1111", "avs_postal_match": "no", "expiration_month":
10, "meta": {"region": "Confusion", "city_town": "", "address_2": "Box 2"},
- "id": "CC6j2lN0CEuf3wt77J2bQW7r", "category": "other", "type": "credit", "cvv_match":
+ "id": "CC3Y16I1WoNRXlJc8vUN4HxC", "category": "other", "type": "credit", "cvv_match":
null, "bank_name": "JPMORGAN CHASE BANK, N.A.", "avs_street_match": "yes", "brand":
- "Visa", "updated_at": "2014-10-27T09:08:26.009696Z", "fingerprint": "8c7f0423365af88c3e36cf02746eca64fdcf36ddc2e1f398c7ec9f3ffd05a267",
+ "Visa", "updated_at": "2015-05-10T09:32:09.192301Z", "fingerprint": "8c7f0423365af88c3e36cf02746eca64fdcf36ddc2e1f398c7ec9f3ffd05a267",
"can_debit": true, "customer": null, "name": null, "expiration_year": 2020,
"cvv": null, "is_verified": true, "avs_result": "Street address and postal code
- do not match.", "can_credit": false, "created_at": "2014-10-27T09:08:26.009694Z",
- "address": {"city": null, "line2": null, "line1": "123 Main Street", "state":
- "Confusion", "postal_code": "90210", "country_code": null}}'
+ do not match.", "can_credit": false, "created_at": "2015-05-10T09:32:09.192299Z",
+ "address": {"city": "Beverly Hills", "line2": null, "line1": "123 Main Street",
+ "state": "Confusion", "postal_code": "90210", "country_code": null}}'
headers: {}
method: PUT
- uri: https://api.balancedpayments.com:443/cards/CC6j2lN0CEuf3wt77J2bQW7r
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41UXU/bMBR951dYfYbWcUrS9K1UiAlENwZjEtMUuf6ghtSubKdQof732U7SJMCm
- +SFS7ofvuece37cjAAYEa2oGU/DL/QDwFr7OXAj57M2NwUeWxqo10846mP9IVvObl4jaonwyVxcR
- M/d3BbKDOn9/3FzEhXxkeqOFtD5xQlIOxyiOk1PMJxMSszghHKJ0nDCCkzGnhMcJpQSxiMeZC2ck
- 4zHnFJ5ilKSD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CwKtbEmJEkmKkuiXX/HQ4XkD8nHK4s
+ 6vz68urm02QOprPJ7UdwOpl/OQbz3qTX5TNTkhDV8FmQrAlYSMhtH/csg405X2NdNU6gVYfveoMT
+ d3Diud/ceBz4YzfujUIvjN3HVqqSMh3fFqcm2FJINkSmBZixNG2yl4ImhuR2l5XZM0DPD8AlZBzc
+ 2i7aM9IqUZaHd0dbqQgJbGNi1/fcNhqJnCtZJFWAyf9mSRDkCSYLPZkxUDInjZTLCXRG05JmQaBZ
+ R9/1G23qvXjVpsOyRLPCKCNmAp0EZg8OW+SUvYNKlEBPDJTtAVM9wAJwoYAVTGv2pvpKWGNAYZo1
+ 9S8loYaVvj0z/f/QsCT/0IMX+34cP5ZrstdU/jJsvTpY5VnrmazJUqT2wtVF7GwtPYb3tqrKX1Je
+ 41qnrl/fvaxfIWvDvhpzBcIsW+dKa/7dVAdvJ5Ed+t8QpU83tz/a/wF154OdrAUAAA==
headers:
content-encoding: [gzip]
- content-length: ['661']
+ content-length: ['676']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
@@ -177,29 +184,32 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/customers
response:
- body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\":
- null,\n \"links\": {\n \"source\": null,\n \"destination\":
- null\n },\n \"updated_at\": \"2014-10-27T09:08:28.747674Z\",\n \"created_at\":
- \"2014-10-27T09:08:28.611185Z\",\n \"dob_month\": null,\n \"id\":
- \"CU6lY9SYo3pQ4dtkQKfAwZ5X\",\n \"phone\": null,\n \"href\": \"/customers/CU6lY9SYo3pQ4dtkQKfAwZ5X\",\n
- \ \"merchant_status\": \"no-match\",\n \"meta\": {\n \"seq\":
- \"2\"\n },\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}"}
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:10.547495Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:10.430731Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU3ZpSyjOue8vDHTcjSplIYB\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU3ZpSyjOue8vDHTcjSplIYB\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"seq\": \"2\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
headers:
- content-length: ['1619']
+ content-length: ['1683']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
@@ -209,57 +219,133 @@ interactions:
method: POST
uri: https://api.balancedpayments.com:443/bank_accounts
response:
- body: {string: !!python/unicode "{\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-10-27T09:08:29.645017Z\",\n \"fingerprint\":
- \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\",\n \"updated_at\":
- \"2014-10-27T09:08:29.645019Z\",\n \"href\": \"/bank_accounts/BA6n7RBr8q8Lv11ojgu9mQxi\",\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\": \"BA6n7RBr8q8Lv11ojgu9mQxi\"\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}"}
+ body: {string: !!python/unicode "{\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\": \"2015-05-10T09:32:11.188218Z\"\
+ ,\n \"fingerprint\": \"dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969\"\
+ ,\n \"updated_at\": \"2015-05-10T09:32:11.188220Z\",\n \"href\"\
+ : \"/bank_accounts/BA40gFoNrvjyFXgMIEhsvYfb\",\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\": \"BA40gFoNrvjyFXgMIEhsvYfb\"\
+ \n }\n ],\n \"links\": {\n \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\
+ ,\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\"\
+ ,\n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\
+ ,\n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\"\
+ ,\n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\"\
+ ,\n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\"\
+ \n }\n}"}
headers:
access-control-allow-headers: [Content-Type]
access-control-allow-methods: ['POST, OPTIONS']
access-control-allow-origin: ['*']
- content-length: ['1281']
+ content-length: ['1363']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
body: '{"routing_number": "121042882", "bank_name": "WELLS FARGO BANK NA", "account_type":
- "checking", "name": "Homer Jay", "links": {"customer": "/customers/CU6lY9SYo3pQ4dtkQKfAwZ5X"},
- "can_credit": true, "created_at": "2014-10-27T09:08:29.645017Z", "address":
+ "checking", "name": "Homer Jay", "links": {"customer": "/customers/CU3ZpSyjOue8vDHTcjSplIYB"},
+ "can_credit": true, "created_at": "2015-05-10T09:32:11.188218Z", "address":
{"city": null, "line2": null, "line1": null, "state": null, "postal_code": null,
- "country_code": null}, "updated_at": "2014-10-27T09:08:29.645019Z", "customer":
+ "country_code": null}, "updated_at": "2015-05-10T09:32:11.188220Z", "customer":
null, "meta": {}, "bank_account_verification": null, "fingerprint": "dac6514d9dd3a1cd7ac925d5749e0308c2c65fa27c506aefb0c9b21611ff9969",
- "can_debit": false, "id": "BA6n7RBr8q8Lv11ojgu9mQxi", "account_number": "xxx233a"}'
+ "can_debit": false, "id": "BA40gFoNrvjyFXgMIEhsvYfb", "account_number": "xxx233a"}'
headers: {}
method: PUT
- uri: https://api.balancedpayments.com:443/bank_accounts/BA6n7RBr8q8Lv11ojgu9mQxi
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA40gFoNrvjyFXgMIEhsvYfb
response:
body:
string: !!binary |
- H4sIAAAAAAAAA5VTW2+bMBh9769APK+Jba7OWzLtojXqlHbT1k4TMrZpvRCTGdMlivjvsykUQtOp
- e/GDz8fhXD4fzhzHTYlcJ4TSopK6dGfOD3PpOIfmNLAqKi3kXSKrTcqVwV2IIPBRHCP3TTfUcEiy
- 4Rb/9m65vHbez68+fHYW88sL53LeT7Y/SvR+2wzTe07Xhr+f6Gg+FhuunE9k30O5kGsrsRNn5NGq
- 1HbQcr39GuY3+Pqm8LYrn+n16iKb/7kNvj8RjNw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jGdP/y
+ +lHsjpIZhKTSug17y3qM3Zb+fqtad+Fzrcd/sbU6xNi7qnZHJnqF7kPtWcndJ6w1PyfqGuCCmP0T
+ vVJNU3xWzkUbriQ/8lgVK1DdVP8At343mGkFAAA=
headers:
content-encoding: [gzip]
- content-length: ['526']
+ content-length: ['542']
content-type: [application/json]
status: {code: 200, message: OK}
+- request:
+ body:
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers
+ response:
+ body:
+ string: !!binary |
+ H4sIABIkT1UAA5SRzW6DMBCE73kKy3eXn4g2RIbc+gTppbetdwEn2CDbNPD2JTRKKtEeepz5PLuj
+ tTyMpmWf5LzubMGTp5gzsqpDbeuCvx1fxY4fyo1Ugw+dIVduGJMay23+kqbpcyKjWVy9makGbBCz
+ PuX1BasTnsfJNFg7Gf2k19eVdj4IC4aY1W3BgxuIRwtq4S+iOtODnVY+GdDtyu2bzq5nVDCuvAt9
+ eB1+2ecIAqGAwMLUU8FxlkEb4mUaJ5mIM5HExzjfp9l+u3uX0SOw5Ice/5d/BL73LzcXlaYW/b0S
+ 6iAUOPS3oeAcTLfGgOjIe1qxudv9A78AAAD//wMAXqeGLvMBAAA=
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"ce3112f63a0b12bdba65400ab1e7ad48"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
+- request:
+ body:
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers
+ response:
+ body:
+ string: !!binary |
+ H4sIABQkT1UAA5SRwW6DMBBE7/kKy3cXG4UqiQy59QvSS29bdgGn2CDbNPD3JTRKKtEeepx5nt3R
+ Wh9H27JP8sF0LufqSXJGruzQuDrnr6cXsePHYqPLIcTOki82jGmDxe5ZKZnKrU5mcfVmVjbgopj1
+ eV9fsDrjxzjZBmuvk5/0+royPkThwBJzps159APxZEEt/EXKzvbgppVPFky7cvumc+sZFYwr70Lv
+ wcRf9nmCSCggsjj1lHOcZTSWeJFKlQmZCSVPcn9Is8NWvunkEVjyQ4//yz8C3/uXm4vKUIvhXglN
+ FCV4DLeh4D1Mt8aA6CkEWrG52/0DvwAAAP//AwA2NkQ28wEAAA==
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"4433fd2d236294012a3d5ccfd83b57a3"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
+- request:
+ body: !!python/unicode '86110204fake-valid-nonce'
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods
+ response:
+ body:
+ string: !!binary |
+ H4sIABYkT1UAA6xVuXLbMBDt9RUa9hAPHaE9FDxpUqaJnSKNBwSWIiIQYABQtvL1WVDUYR1OMkmn
+ ffuwx+MDVDy8Nmq8Aeuk0csonSTRGDQ3QurVMnp6/ETy6IGOCm5BSE84s4KOxuOilEohhTAhLDgX
+ MESloE1ZxFIMMe+cNw1Ygki+SNMkS2ZFfIrueJW0zhPNGhhrqZaRtx1E8ZBU7HaOm6Zlensl47wF
+ 8Pv5rhDg1YMWIN6hKMOZkv5aeQsrFOxKojXOM0VQQaB3szT5UMSn0H7sTnu77SHCVFuz7Opy56zp
+ 71i6Q10lf4d2S0gLzAcx/NhvW1hGAkMvG4holqRzksxJmjwmd/fZ/H6WfcOPeDgwVOha8XcVjgd6
+ R8VXLIU203SWpFmeh7zuseBBElrQr9IxnOQQ77O1UQLtdW3V4BiUiEum6JNea/OiscIRG51IZSoi
+ neuY5kCfvnwMvMvE6N/F+7NrcmQFW3p0Hw51wjqggSuglP644C7cJSrWqf2cpTEKmI5oECjQ+uSO
+ 2FkUnKDPOxVmPSl2nhn1t6mVtu9PGqN9TdOsiC/AM+YWmEWFsuQNtUcPTBDns1ZMORhODN1rYMrX
+ +OnhOOYJFiiyYSsgnVW09r5193HMnAPvJqVlUofHYoXLvLDtBN0Qt2zbgPbPDfjaiGdlVibeoNsm
+ rV49gN5Ia3QgLB3TojSv+OYd6vfd0B7ByyXT6+NIb9DR/mmb0TTP0yIegoBje2vUiUP3QJ+00DL0
+ xGeD+PA74K4rHbeyDSK6QTRmLdsOzvdmDZp+/8kX9aqId1HAOy1/dP3TUfZmw7VkJcHS2ZTns7QS
+ nE/5tFospot5BfM0mXLIoeR4JW8eHf2HB2EDujHEifUNAxzyA9ti690VuNi+v3HH/69fAAAA//8D
+ AHwBI/j1BgAA
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"bb649b77b4e0b6d723b31c3145b25599"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
version: 1
diff --git a/tests/py/fixtures/TestCardHolds.yml b/tests/py/fixtures/TestCardHolds.yml
new file mode 100644
index 0000000000..bd51adb8eb
--- /dev/null
+++ b/tests/py/fixtures/TestCardHolds.yml
@@ -0,0 +1,814 @@
+interactions:
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:27.367409Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:27.069346Z\",\n \"transaction_number\"\
+ : \"HLNG1-BL0-9I48\",\n \"expires_at\": \"2015-05-17T09:32:27.289642Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4i8aEFWDecX3VFdiJRJ90k\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4i8aEFWDecX3VFdiJRJ90k\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1000, "meta": {"exchange_id": 1, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4i8aEFWDecX3VFdiJRJ90k/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL4i8aEFWDecX3VFdiJRJ90k\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:32:28.253157Z\",\n \"created_at\": \"2015-05-10T09:32:27.843333Z\"\
+ ,\n \"transaction_number\": \"WLV9-UCV-Q9JW\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 1000,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"1\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD4j05BDpL5HHUNV6kxJWmSQ\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD4j05BDpL5HHUNV6kxJWmSQ\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "description": "janet", "amount": 2091, "created_at":
+ "2015-05-10T09:32:27.069346Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:32:27.367409Z", "expires_at": "2015-05-17T09:32:27.289642Z",
+ "failure_reason": null, "currency": "USD", "transaction_number": "HLNG1-BL0-9I48",
+ "meta": {"state": "captured", "participant_id": "2"}, "debit": null, "failure_reason_code":
+ null, "voided_at": null, "order": null, "id": "HL4i8aEFWDecX3VFdiJRJ90k"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4i8aEFWDecX3VFdiJRJ90k
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmuJeliWfIzdVDEMA03qOE1RCAzJIIxlSqAow4Whfy9J65n0
+ cSGE3Z3d2dnR+cqyAEaCpK95Rkowt36oiGWdzatypUSy0nFQVhhTSigBn9okoSUWrJAs57riDXEq
+ +2zG+F4j216qWy4IFSrEqyxruzQEdIPFwv/uhrfuLt/cPWYrHB23myA5LbqeqpbQZyZ18W4ZvMHp
+ 9bJYT5Nku3kI96fV7nD/FTTs6o5mVRAkKUmRwXnQnU7gdOLCbzCe+97ci+yZ50LXf+q5Y0H/CZnZ
+ MIz9IBxApEC8RFiLkfLq8GwWBcl688WdXK/hJL4Non4APRVM0PI9p1nLaWZ7URwG3mDAC2JZJWiq
+ qJVG8KGKAFdCUI5/6aHb+2U/CR3yiuvNPRi7nSYHKpGKDW6jL001GqNCqjn9nZXqBRKSYVYgLlNG
+ jIwfdX4V9EWnnN5QTrIOWIQ+3+yWFD/6DzeEre5WMdz3/MZrpTgnmsVot2POlO8uWo0SFyp/nWGc
+ UKv3p94bjA05sL1Nj5RL4/Ih93O/h81I7TRVFw2H8NbWwDFfpTNEmlDd7DtE6e7dyDFGp/4EMeb/
+ L8+m6iPP7t9xLiUjniZU66vWV/VvZ8wIVxgEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['485']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:29.621506Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:29.351151Z\",\n \"transaction_number\"\
+ : \"HLJPE-3AF-5LV8\",\n \"expires_at\": \"2015-05-17T09:32:29.550001Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4kHng0mwonnVf0pwRTqpCJ\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4kHng0mwonnVf0pwRTqpCJ\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 2091, "meta": {"exchange_id": 2, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4kHng0mwonnVf0pwRTqpCJ/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL4kHng0mwonnVf0pwRTqpCJ\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:32:30.539223Z\",\n \"created_at\": \"2015-05-10T09:32:30.127106Z\"\
+ ,\n \"transaction_number\": \"WKCE-4CR-ODZU\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 2091,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"2\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD4lzhKOO36rrpmBH5TtzXbn\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD4lzhKOO36rrpmBH5TtzXbn\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "description": "janet", "amount": 2091, "created_at":
+ "2015-05-10T09:32:29.351151Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:32:29.621506Z", "expires_at": "2015-05-17T09:32:29.550001Z",
+ "failure_reason": null, "currency": "USD", "transaction_number": "HLJPE-3AF-5LV8",
+ "meta": {"state": "captured", "participant_id": "2"}, "debit": null, "failure_reason_code":
+ null, "voided_at": null, "order": null, "id": "HL4kHng0mwonnVf0pwRTqpCJ"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4kHng0mwonnVf0pwRTqpCJ
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTXXPTMBB876/w+JnEchyXJm+QwpiQaZmSfkCH8SjShYjaspDltDTj/46kOLZM
+ S/ui8dzd3u7tnXdHnucTLGm6KTJa+lPvVkc8b2dfnSsVVpWJ+2VFCAAF6r85JCmURDKhWMFNxS/M
+ QXXZjPE7gzz00t0KSUHqEK+y7NClEWAazGbRt/D4U3hdnF3cZHNysr08GycPs7anrqWwYsoUX5+O
+ s8fN5/Pz6FhKkb9P4qV6vFlxv1FXtzIrQbECmmKLG6EwHqB4EKIlmkyj0TQKhyiK4jD83mknEl6C
+ jCZDA4hdiJKYl5gYM1Je5Ss7qJ8s5l8+DKJ3Hwfx4uqkI4AHwSSU/2p622jSBHGMEHIJ1phllYRU
+ Syut4a6LPqmkBE7+GNLLr6cdE86LipvJR2gStp7koLCOObsxmwaDJlgozdPtWbsusFSMMIG5Shm1
+ Nj71eSNhbVJBd1BBshjfJfwnyu8Lzq/WSNxfLH+L2bzT1x8rJQU1KnqzbQum727vVS+xl/JfDnsJ
+ tX5/mLn9/kE6Zz+ELXBlr9zVvuvmGDJaB03V3kMXfjhrP7BfZeAibahu5nVRpntL2ceY1HMQe/yv
+ 6myqnups/51gX9LTaUO12Wp9VP8FbE1uMBgEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['485']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:31.887177Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:31.635683Z\",\n \"transaction_number\"\
+ : \"HLEK3-SLO-J1PF\",\n \"expires_at\": \"2015-05-17T09:32:31.815866Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4ngAPE7yjkaMU6Itz1ZQru\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4ngAPE7yjkaMU6Itz1ZQru\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1576, "meta": {"exchange_id": 3, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4ngAPE7yjkaMU6Itz1ZQru/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL4ngAPE7yjkaMU6Itz1ZQru\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:32:32.975488Z\",\n \"created_at\": \"2015-05-10T09:32:32.603043Z\"\
+ ,\n \"transaction_number\": \"WWE1-NRK-I5ER\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 1576,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"3\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD4olZ64LDqL8da7hksxh4sw\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD4olZ64LDqL8da7hksxh4sw\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "description": "janet", "amount": 2091, "created_at":
+ "2015-05-10T09:32:31.635683Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:32:31.887177Z", "expires_at": "2015-05-17T09:32:31.815866Z",
+ "failure_reason": null, "currency": "USD", "transaction_number": "HLEK3-SLO-J1PF",
+ "meta": {"state": "captured", "participant_id": "2"}, "debit": null, "failure_reason_code":
+ null, "voided_at": null, "order": null, "id": "HL4ngAPE7yjkaMU6Itz1ZQru"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4ngAPE7yjkaMU6Itz1ZQru
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTXXObMBB8z69geK4BGQzEbx07HSeladrUk9adDKNISq0YCyoJx6mH/15J5rNp
+ khcNc3d7t7e3HE4sy0aQ43SdZ1jYU+uniljWwbwqJySUpY7bokSIEEyw/a5JYiIQp4WkOdMVD5AR
+ 2WUzyjYa2fRS3XKOCVchVmZZ06UmoBvMZv4PEJ6Dm/zy6/fsAsW75WWw2M/anqoWkzsqdfHNPMiz
+ VRgk899JjGG03oj9OhCPds2uammWBYaS4BQa3NgDk5E3GQHvm3c69cdT33eCCERevOq4I05ehQAn
+ 9Cdh7PcgkkMmINJipKzc3plF7UVy9tEfXSefRxfg6kM3gOwLyon4l1PUcAJODCZxGPYG3EOalZyk
+ ipowgvdVtFHJOWHoSQ9dXs+7SXCbl0xvPvZOQavJlkioYr3b6EsTjUawkGpOd2elegG5pIgWkMmU
+ YiPjc53XnNzrlNsZyl0kAfv1/uosenrYwE/L8Fz+AasvvOz4DddKUY41i8Fuu5wq3x21GiSOVF6c
+ YZxQqfdW720PDdmzvUN2hEnj8j73Q7eHQ3Hl1lVHDfvwxta2a76E20eaUFXv20fp7u3IIUan/gcx
+ 5n+TZ131nGf777jHkgFPE6r0VauT6i+uyxDjGAQAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['487']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:34.299095Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:34.031965Z\",\n \"transaction_number\"\
+ : \"HL94C-XVA-G2S5\",\n \"expires_at\": \"2015-05-17T09:32:34.211397Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4pXKG5eod7VXf0vOrFGNR6\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4pXKG5eod7VXf0vOrFGNR6\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 2092, "meta": {"exchange_id": 4, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4pXKG5eod7VXf0vOrFGNR6/debits
+ response:
+ body: {string: !!python/unicode "{\n \"errors\": [\n {\n \"status\":\
+ \ \"Bad Request\",\n \"category_code\": \"request\",\n \"additional\"\
+ : null,\n \"status_code\": 400,\n \"category_type\": \"request\"\
+ ,\n \"extras\": {\n \"amount\": \"\\\"2092\\\" must be <= 2091\"\
+ \n },\n \"request_id\": \"OHM919a8becf6f611e4bc390230f00c9248\"\
+ ,\n \"description\": \"Invalid field [amount] - \\\"2092\\\" must be\
+ \ <= 2091 Your request id is OHM919a8becf6f611e4bc390230f00c9248.\"\n }\n\
+ \ ]\n}"}
+ headers:
+ content-length: ['444']
+ content-type: [application/json]
+ status: {code: 400, message: BAD REQUEST}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HL94C-XVA-G2S5", "description":
+ "janet", "amount": 2091, "created_at": "2015-05-10T09:32:34.031965Z", "card_href":
+ "/cards/CC3Y16I1WoNRXlJc8vUN4HxC", "updated_at": "2015-05-10T09:32:34.299095Z",
+ "expires_at": "2015-05-17T09:32:34.211397Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "2"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL4pXKG5eod7VXf0vOrFGNR6"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4pXKG5eod7VXf0vOrFGNR6
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmu9aVm+FS5qtw1cIGlSt0UhMOQaYStTAkUZKQz9e0lasqik
+ jwsh7O7Mzs6uTleehyiRrHisStagpfdNRzzvZF+daxRRrYmjpqUUgAFDr4Ykg4ZKXiteCVPxgwhQ
+ Y7bk4qdBDlyarZIMpA6JtiwHll6AIVitki/R/F30udre7Mr3dHG826abp9WFU9cyeOCqp+h1dBdB
+ bc2IAlYQU4HiMMKzEM+i8FOYL5N4mWA/S+cLnH8dVVIJ/4SkfphE+Rw7ECWJaAg1YxeiPTzYkdDm
+ Ok9Xs93969k6vsVjA3iquYTmuaZs0JT6cRQleeY02BNethIKLa2x1rp+IdpKCYL+Mk3vbt+Mncih
+ aoWZPA7z6OLJARTRMWcLZqdg0JQICmXprFQbXBOpOOU1EargzPqIXhj9KGFvUsF4O8HmOq13H9YY
+ Kpbd7/bh8aN8u97ezEeB07kKWjEjYzLcseL6xJ6b5SwwxRnOF45ZZ41/bW6ld/r9bhxB06N0Tt+H
+ IwhlL90d6jQO6HPWBX3V2V0XPpw2CuxXE7hIG+p6I1yUYb+0nGJM6k8Q+wP8V2df9VLn8P+g4Fwy
+ 0WlDnVl3d9X9BlvXvB0cBAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['474']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"meta": {"seq": 3}}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/customers
+ response:
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:36.956224Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:36.798796Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU4t4xSBdGHWiWwSKaKjk3c1\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU4t4xSBdGHWiWwSKaKjk3c1\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"seq\": \"3\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
+ headers:
+ content-length: ['1683']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"expiration_month": 12, "number": "4444444444444448", "expiration_year":
+ 2020}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards
+ response:
+ body: {string: !!python/unicode "{\n \"cards\": [\n {\n \"links\": {\n\
+ \ \"customer\": null\n },\n \"fingerprint\": \"9ea2b317b53183f5a93ba23a594a0b8a0f2183ea9cc338e0964755cd9df71b99\"\
+ ,\n \"cvv_result\": null,\n \"number\": \"xxxxxxxxxxxx4448\",\n\
+ \ \"avs_postal_match\": null,\n \"expiration_month\": 12,\n \
+ \ \"meta\": {},\n \"id\": \"CC4ud6PiKVTTseB0xNoKGBUc\",\n \"category\"\
+ : \"other\",\n \"type\": \"credit\",\n \"cvv_match\": null,\n \
+ \ \"bank_name\": \"CREDIT AGRICOLE BANK POLSKA, S.A.\",\n \"avs_street_match\"\
+ : null,\n \"brand\": \"Visa\",\n \"updated_at\": \"2015-05-10T09:32:37.811628Z\"\
+ ,\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\": true,\n\
+ \ \"name\": null,\n \"expiration_year\": 2020,\n \"cvv\": null,\n\
+ \ \"is_verified\": true,\n \"avs_result\": \"Postal code matches,\
+ \ but street address not verified.\",\n \"can_credit\": false,\n \
+ \ \"href\": \"/cards/CC4ud6PiKVTTseB0xNoKGBUc\",\n \"created_at\": \"\
+ 2015-05-10T09:32:37.811627Z\"\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]
+ access-control-allow-methods: ['POST, OPTIONS']
+ access-control-allow-origin: ['*']
+ content-length: ['1320']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"links": {"customer": "/customers/CU4t4xSBdGHWiWwSKaKjk3c1"}, "cvv_result":
+ null, "number": "xxxxxxxxxxxx4448", "avs_postal_match": null, "expiration_month":
+ 12, "meta": {}, "id": "CC4ud6PiKVTTseB0xNoKGBUc", "category": "other", "type":
+ "credit", "cvv_match": null, "bank_name": "CREDIT AGRICOLE BANK POLSKA, S.A.",
+ "avs_street_match": null, "brand": "Visa", "updated_at": "2015-05-10T09:32:37.811628Z",
+ "fingerprint": "9ea2b317b53183f5a93ba23a594a0b8a0f2183ea9cc338e0964755cd9df71b99",
+ "can_debit": true, "customer": null, "name": null, "expiration_year": 2020,
+ "cvv": null, "is_verified": true, "avs_result": "Postal code matches, but street
+ address not verified.", "can_credit": false, "created_at": "2015-05-10T09:32:37.811627Z",
+ "address": {"city": null, "line2": null, "line1": null, "state": null, "postal_code":
+ null, "country_code": null}}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/cards/CC4ud6PiKVTTseB0xNoKGBUc
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41U226jMBB971dYPKeEawJ5S7JVtqJqoyZtpa5WyGDTeAMG2SabKOLfi7mFpOlq
+ eUBihpk5Z86xjzcAKCFkiCsT8Kv8AOBYvctwTOhWhtuA/DPnIk0wK6PK/MUS1n41Q4ufb+Tt78qD
+ 3p+tGepKU18M2kYRoR+YZYxQIQtdDI3A1MeBbeqOGdnQNQNomNB2LagFDtQio4xj6IahaTpYc0fW
+ 2LZD5KJorAeuq3SNw93OZ5jnsexL8zjuMjRPghrmvvdYluWcquGO+1nKBYz9BIpwc9kD7zPCoCAp
+ 9ZOUCpnXjW5CggWUyznRJKhay9zK0WhJvNf1muOZtn9MvcXsJeyhhgJ/pOwg/07FpoTZNRWHDMtw
+ yDAi4pzoVYwBpFufwqSqmj/f/bhfg+ni+X7+9HAHZtNHDyyfHlbedABW6lQ9584Fw1hc5x4wSCs6
+ r4TDU1meoRI88mElpKHp9q1m3+raWnMnpjExHdWyRqZpvPcmIVRKdOkjIiT9vmS14bBxPax/DZfC
+ CUn7okmjaJiiK8kwzalgB7+X/eLWEFIf4aBc/wQIluOTp+o1n/ms55EDhvJcGJqh9Q16gVAh3N9h
+ RiKC5X7PBkhDdnZWlpU1gYQKKu0xH4AgF6DWDcB6sYCmArQdewpLGo2NJiCCMT8R2TAclbOVYXXw
+ h//hWIb/KftYdXR9ZIzf67NflDv9LXdwcYXUF40qp/qbNK7unBbEscKiElRUqJp8vci2rnf5DNub
+ iA+byjZQNNZrihDhWS7wN6O67NmgSv3vKupcSa64KT4BvMQRPj4FAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['611']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 1061, "meta": {"state": "new", "participant_id": 6}, "description":
+ "bob"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC4ud6PiKVTTseB0xNoKGBUc/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"errors\": [\n {\n \"status\":\
+ \ \"Payment Required\",\n \"category_code\": \"card-declined\",\n \
+ \ \"additional\": \"Account Frozen\",\n \"status_code\": 402,\n \
+ \ \"category_type\": \"banking\",\n \"extras\": {},\n \"request_id\"\
+ : \"OHM94298a02f6f611e4a59d02b12035401b\",\n \"description\": \"R758:\
+ \ Account Frozen. Your request id is OHM94298a02f6f611e4a59d02b12035401b.\"\
+ \n }\n ]\n}"}
+ headers:
+ content-length: ['387']
+ content-type: [application/json]
+ status: {code: 402, message: PAYMENT REQUIRED}
+- request:
+ body: '{"meta": {"seq": 4}}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/customers
+ response:
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:40.546181Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:40.408461Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU4x8jIW7zJKie0lI2UpB80Z\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU4x8jIW7zJKie0lI2UpB80Z\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"seq\": \"4\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
+ headers:
+ content-length: ['1683']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"expiration_month": 12, "number": "4242424242424242", "expiration_year":
+ 2020}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards
+ response:
+ body: {string: !!python/unicode "{\n \"cards\": [\n {\n \"links\": {\n\
+ \ \"customer\": null\n },\n \"fingerprint\": \"1e2c425a579a1c7f27a037f0662b855035ceadbff18a0adbe785fb07e2afe1cc\"\
+ ,\n \"cvv_result\": null,\n \"number\": \"xxxxxxxxxxxx4242\",\n\
+ \ \"avs_postal_match\": null,\n \"expiration_month\": 12,\n \
+ \ \"meta\": {},\n \"id\": \"CC4y9tL8LXMBArahulaSuomx\",\n \"category\"\
+ : \"other\",\n \"type\": \"credit\",\n \"cvv_match\": null,\n \
+ \ \"bank_name\": \"\",\n \"avs_street_match\": null,\n \"brand\"\
+ : \"Visa\",\n \"updated_at\": \"2015-05-10T09:32:41.318261Z\",\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\": true,\n\
+ \ \"name\": null,\n \"expiration_year\": 2020,\n \"cvv\": null,\n\
+ \ \"is_verified\": true,\n \"avs_result\": \"Postal code matches,\
+ \ but street address not verified.\",\n \"can_credit\": false,\n \
+ \ \"href\": \"/cards/CC4y9tL8LXMBArahulaSuomx\",\n \"created_at\": \"\
+ 2015-05-10T09:32:41.318260Z\"\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]
+ access-control-allow-methods: ['POST, OPTIONS']
+ access-control-allow-origin: ['*']
+ content-length: ['1287']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"links": {"customer": "/customers/CU4x8jIW7zJKie0lI2UpB80Z"}, "cvv_result":
+ null, "number": "xxxxxxxxxxxx4242", "avs_postal_match": null, "expiration_month":
+ 12, "meta": {}, "id": "CC4y9tL8LXMBArahulaSuomx", "category": "other", "type":
+ "credit", "cvv_match": null, "bank_name": "", "avs_street_match": null, "brand":
+ "Visa", "updated_at": "2015-05-10T09:32:41.318261Z", "fingerprint": "1e2c425a579a1c7f27a037f0662b855035ceadbff18a0adbe785fb07e2afe1cc",
+ "can_debit": true, "customer": null, "name": null, "expiration_year": 2020,
+ "cvv": null, "is_verified": true, "avs_result": "Postal code matches, but street
+ address not verified.", "can_credit": false, "created_at": "2015-05-10T09:32:41.318260Z",
+ "address": {"city": null, "line2": null, "line1": null, "state": null, "postal_code":
+ null, "country_code": null}}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/cards/CC4y9tL8LXMBArahulaSuomx
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41UUW+bMBB+76+weG4TYyCQvK196tZJk7ZuU6cJGXw0XsEg20TJIv57bQMJSVNt
+ eYiSO7677777uP0VQl5OJVPeCv0yfxDau28TLrl4seExYJ9sla4rkCbq3T2G2+TP/Y/478dPHHB5
+ Tx6b2wQ/eQO+ux4LFVw8g2wkF9oCfSB5SCIaxUvq53FBYoqDuMCLBcmSKMJBlANlWVH4CcXmB8RJ
+ VGQ4BkIL8PPcOxTON5tUgmpLW1e0ZXnIiLbKeprbySckITmi6UalTa00LdOK6nx9XgO2DZdU81qk
+ VS20zfvk0KECTa04xzE5c7Lchbulfkgefn6+/SDpui3p17authPWVMNzLXf26VqvDc1DUb1rwIZz
+ CYzr00EvcsyoeEkFrRzqdDSlJYC+PFomqXBsv3NFj7C2YYYbS6nbE8F+dIOjGx9/w8tVQFahP4vj
+ RRQET5NOjJkNnNuEazvddCO9n4BcDvtvw2Yv2k51VmRYWF6zC8m8boWWu3SSfWPGnIqUQWbUXSEt
+ WzhaplfxxEYTC+yAWtsTTPDUf2cMPa7SDUhecLD6njSwfju41fvinIcsVeRWC+oaZa1G/d4Q7YVF
+ otZorDibmkikg0tWqKClOg6yllCY3t7cvdfz/zCkhH+sPfATshhf7c5o+ttqcHYh+jsys13TdV26
+ kzKS2DsuM846x2rI90KOuMltmY+HRs0H5BjoBgkGEOOqaTW80+qQPWnktv8eos+Z4bqr7hWfSiu5
+ HQUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['574']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"expiration_month": 12, "number": "4242424242424242", "expiration_year":
+ 2030}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards
+ response:
+ body: {string: !!python/unicode "{\n \"cards\": [\n {\n \"links\": {\n\
+ \ \"customer\": null\n },\n \"fingerprint\": \"d34d613121ae61ae732d86eaf09929617bd3f5ccc60f7364d32ae1afc5f81745\"\
+ ,\n \"cvv_result\": null,\n \"number\": \"xxxxxxxxxxxx4242\",\n\
+ \ \"avs_postal_match\": null,\n \"expiration_month\": 12,\n \
+ \ \"meta\": {},\n \"id\": \"CC4zGbP0z6qAKgki7aSRoNff\",\n \"category\"\
+ : \"other\",\n \"type\": \"credit\",\n \"cvv_match\": null,\n \
+ \ \"bank_name\": \"\",\n \"avs_street_match\": null,\n \"brand\"\
+ : \"Visa\",\n \"updated_at\": \"2015-05-10T09:32:42.673296Z\",\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\": true,\n\
+ \ \"name\": null,\n \"expiration_year\": 2030,\n \"cvv\": null,\n\
+ \ \"is_verified\": true,\n \"avs_result\": \"Postal code matches,\
+ \ but street address not verified.\",\n \"can_credit\": false,\n \
+ \ \"href\": \"/cards/CC4zGbP0z6qAKgki7aSRoNff\",\n \"created_at\": \"\
+ 2015-05-10T09:32:42.673295Z\"\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]
+ access-control-allow-methods: ['POST, OPTIONS']
+ access-control-allow-origin: ['*']
+ content-length: ['1287']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"links": {"customer": "/customers/CU4x8jIW7zJKie0lI2UpB80Z"}, "cvv_result":
+ null, "number": "xxxxxxxxxxxx4242", "avs_postal_match": null, "expiration_month":
+ 12, "meta": {}, "id": "CC4zGbP0z6qAKgki7aSRoNff", "category": "other", "type":
+ "credit", "cvv_match": null, "bank_name": "", "avs_street_match": null, "brand":
+ "Visa", "updated_at": "2015-05-10T09:32:42.673296Z", "fingerprint": "d34d613121ae61ae732d86eaf09929617bd3f5ccc60f7364d32ae1afc5f81745",
+ "can_debit": true, "customer": null, "name": null, "expiration_year": 2030,
+ "cvv": null, "is_verified": true, "avs_result": "Postal code matches, but street
+ address not verified.", "can_credit": false, "created_at": "2015-05-10T09:32:42.673295Z",
+ "address": {"city": null, "line2": null, "line1": null, "state": null, "postal_code":
+ null, "country_code": null}}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/cards/CC4zGbP0z6qAKgki7aSRoNff
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41U246bMBB936+weN5NwFxyeWv3odquVK3abittVSGDh8QNGGqbKBfx72ubS0g2
+ WxUJJGaYmTPnHHy8QchJiaDSWaJf+gWho33qcM74xoT7gPmylqosQOioc/8c7OZ/Hn7ODp8fGbj5
+ A36uPs7dF6erb277RhnjKxCVYFyZQuoHNPJ8D3sEIn3PfEznEZDMXSzwIvJmCfWzME3TyM1mfhRQ
+ HxPwSJaG2dybBaEzNE6321iArHPTl9d5PmR4XSQtzN3oCnCAT9VkK+OqlIrkcUFUur7sAbuKCaJY
+ yeOi5MrkPTxMKEARQ85pTUYtLffB4VPy5B6ivx8eVxs2I9++ll+ybISaKFiVYm++LtVawxyaqn0F
+ JpwKoEydL3oVY0L4JuaksFXnq0klANT11RJBuEX7g0lyKqsrqrHRmFidsOuFd25457nf3cXSx8vA
+ n3gY+0H4MppEqVbg0iZMme3GirR+Anw97L0Na12U2eqiSSdYWtIrybSsuRL7eJR9Y8aU8JhCotld
+ IiVqOFmmZfHMRiML7IEY22PXd8f+u0DoMBlvQbCMgeH3bIDx2+BW58k6DxmoyEoL8hYltUKtboi0
+ xCJeKtR3nIxNxOPOJUuUkVyeFlkLyPRsZ2r/6+l/GFLAP2XHk0j/owstu2Wz0c/fhoOLE6I9RyZm
+ arwuc3uk9CCOFsuE0cai6vItkX3d6GyZ9geNnHaVfaDpKOiKKJNVreCdUUP2bJBV/72KNqeXa26a
+ VzTU7m4dBQAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['579']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 1061, "meta": {"state": "new", "participant_id": 6}, "description":
+ "bob"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC4zGbP0z6qAKgki7aSRoNff/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"bob\",\n \"links\": {\n \
+ \ \"order\": null,\n \"card\": \"CC4zGbP0z6qAKgki7aSRoNff\",\n\
+ \ \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:44.065106Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:43.805278Z\",\n \"transaction_number\"\
+ : \"HLRU8-HIQ-9BYI\",\n \"expires_at\": \"2015-05-17T09:32:43.986313Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 1061,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"6\"\n },\n \"href\": \"/card_holds/HL4AXdJwy5Ggi4eLUpFutrrT\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4AXdJwy5Ggi4eLUpFutrrT\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1019']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1000, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:45.006293Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:44.719880Z\",\n \"transaction_number\"\
+ : \"HLEJP-4KH-1H2Y\",\n \"expires_at\": \"2015-05-17T09:32:44.924495Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 1000,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4BYZcx2DeYp3obUHfeqZql\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4BYZcx2DeYp3obUHfeqZql\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HLEJP-4KH-1H2Y", "description":
+ "janet", "amount": 1000, "created_at": "2015-05-10T09:32:44.719880Z", "card_href":
+ "/cards/CC3Y16I1WoNRXlJc8vUN4HxC", "updated_at": "2015-05-10T09:32:45.006293Z",
+ "expires_at": "2015-05-17T09:32:44.924495Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "2"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL4BYZcx2DeYp3obUHfeqZql"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4BYZcx2DeYp3obUHfeqZql
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VT246bMBB9369Afm4Ac2lCHputRLerVdU2apOqQo490bolhjUmShXx77UdCGa3
+ lxcLzcw5c+bMcL7xPESJZMVjVbIGLb1vOuJ5Z/vqXKOIak0cNS2lAAwYejUkGTRU8lrxSpiKH0SA
+ GrMlFz8NcuDSbJVkIHVItGU5sPQCDMFqFW/w63f4S/Xw8Wt5RxfH9UOSn1ZXTl3LYMdVT9Hr6K6C
+ 2poRBawgpgJFIU5nYTrD4ecwW8bRMkn9RRRjHG9HlVTCPyGJP8fZYhE6ECWJaAg1YxeiPezsSCi/
+ f3v3YZa8z2c4jzZjAzjVXELzXNN80JT4WZQkWeo02BNethIKLa2x1rp+IdpKCYL+Mk3Xn27HTuRQ
+ tcJMjsMwvHpyAEV0zNmC2SkYNCWCQlk6K9UG10QqTnlNhCo4sz6iF0Y/StibVDDeTpDfJ282W3qK
+ bmFTx9Vune/haftUjgKncxW0YkbGZLhjxfWJPTfLWWCKszmOHLMuGv/a3Erv9PvdOIKmR+mcvg9H
+ EMpeujvUeRzQ56wL+qqLuy58OG0U2K8mcJE21PVGuCjDfm05xZjUnyD2B/ivzr7qpc7h/0HBpWSi
+ 04Y6s+7upvsNAeu60RwEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['473']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [],\n \"meta\": {\n \"\
+ last\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\",\n \
+ \ \"next\": null,\n \"href\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ \n },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['360']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta%5B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cPPj19sdLABQMraqq6Xn+x1dAAwVFLSug9O+vwGW9mdfrg3yvMR5mJwEVVJVMJaBmIQFn
+ Nb/s9bQSpb5baxk3fHU7JRlJ4PXYkQTE/6+D9W9EZT3C2gsAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['835']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL4i8aEFWDecX3VFdiJRJ90k",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "WLV9-UCV-Q9JW", "description": "janet", "created_at": "2015-05-10T09:32:27.843333Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:32:28.253157Z",
+ "order": null, "currency": "USD", "amount": 1000, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD4j05BDpL5HHUNV6kxJWmSQ", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD4j05BDpL5HHUNV6kxJWmSQ
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T247aMBB9369AeawKMZCwwFsXimgU0bI0ZNuqiow9aL3kJsde0UX599oJJoFq
+ y0PEeObM5cyZ012nY1HYMVFY084vZXU6p+qr3guBhdTvViEJAaBArY/GSaEgnOWCZamOeMEpiMYb
+ s/SgkSaXykZkIbIEuI6eBcNwvv6KnLftXmx2b/fLxXHxzfcvCXT1THICVfRs+KM/+tIPs9XjU+yR
+ 8WuwcpbHWTuaYE6j5yymGrD0HTbGnxfhHMjTcLugzHv0JujQBmScVr2kMo7NUJoLVuRS6LLacR62
+ vEwtc4oF0AgLXWeA+m4Xud0++o4m0+Fg6ox7CKERcn82VBAO/4MM7ntjZ6h+LYjgOC0w0dxGqUx2
+ NWmhv510g9m2u554YZN/j1ksOUSqTFHtoj2RYp1zSMkf3W6wmTcwnGQy1VP0VceX+a6TRSSjhopL
+ SAICK1hrsznmghGW41RErFrAwPqHuWcOe+2ya7XZ4dx5Qe7DPPfd5TJYbUeHoxcmm3WrwzwHzItI
+ kaCVCAmo/LjS48Mn/wMccZLH0CNZ0mDq8u/mrroq1fe3Hse6Vun5DnptodrGKOxT3fjFXZ6rGpgR
+ lGVX/xpAZd5GNzpTjNSaaxDnh1tMcxE2h9poMLV9C4FXRVpFmeHdjMFoaZ+99WrNHGpPMqXvYoz7
+ GnR1fra+wxZh5jRLrYryrvwLulCQNXUEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['539']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL4ngAPE7yjkaMU6Itz1ZQru",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "WWE1-NRK-I5ER", "description": "janet", "created_at": "2015-05-10T09:32:32.603043Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:32:32.975488Z",
+ "order": null, "currency": "USD", "amount": 1576, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD4olZ64LDqL8da7hksxh4sw", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD4olZ64LDqL8da7hksxh4sw
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T25KaQBB936+geExFAQFvbxt1SxNidt0YE1MpapwZIysM7Fw2rhb/nhlgBE1t
+ Xih6uk9fTp8+3RiGifAm4swcGj+lZRin4ivfGQdcqHeTCQgxRhiZ77UTYQZplPEoJSriCRDMa28c
+ kb1C6lwyGxSMpwmmKnq0dFfjhy+2d/y25Y+bY296d7i7D4JzAlU9FRTiInrk/nC6M2eVzhff44+w
+ /7Kce9PDqBkNAUXhLo2RAkwDj/y+vZ/0Xp/24POyO+NHZ/1ARROQUlT0QkQc66EUFxHLBFdllaMa
+ Nj9PLTIEOEYh4KpOx3b8lu23HPurPRi6naHXbw/cge8765oKSPH/IG6n3bVd23MbEE4BYQAqbkMi
+ kk1J2mo1cVrzxafWzJ8s6vxbEMWC4lCWYcUumhNJ1inFBL6qdpeP4xoGklQQNYXj97rn+S6ThTBF
+ mopzSII5kLDGZjNAeQSjDBAeRsUCOuY/zO0o3iqXVarNWo29NF53vWD8HPQR6O327LDz2J9Gh1mG
+ AWWhJEEpESdY5geFHj/cBu/wASRZjNswTWpMWf7N3EVXufz+UuOYlyqt7qDdFKqlDWadysbP7ryq
+ qmFaUKZV/NWAwryOrnUmGSk1VyOqh2tMfREWxaVRY0r7GoJfJGkFZZp3PUaEcqvylqvVc8g9CYLe
+ xGj3Jeji/Cx1hw3C9GnmShX5Tf4XAET/gnUEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['542']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL4kHng0mwonnVf0pwRTqpCJ",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "WKCE-4CR-ODZU", "description": "janet", "created_at": "2015-05-10T09:32:30.127106Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:32:30.539223Z",
+ "order": null, "currency": "USD", "amount": 2091, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD4lzhKOO36rrpmBH5TtzXbn", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD4lzhKOO36rrpmBH5TtzXbn
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T23LaMBB9z1cwfuwULF+AwFtjmqEJE1ICIU2n4xGSKG5sWZWlhML43yvZlm3o
+ pC8er3bPXs6ePV50OhYmm0hk1rjzXVmdzrH4qvdMQCH1u5VJhAjBBFsfjROTDPGIiSilOuIXpEQ0
+ 3jiiLxppcqlsSGYiTQjX0cHKW0++zoF/eNyKh81hOL3eX9/PZnUCXT2VHJEiOvC+OYMvzjq9WzzF
+ N+jydXXnT/dBOxpBjsNdGmMNmM78lyn9CZK3lNLHLWBvi+VvFty0ASnHRS9UxrEZSnMRZUwKXVY7
+ qmHzemrJMBQEh1DoOi5w+l3Q7zpgCUZjzx37o57v9S/B8LmhAnHyP4gHeo47dMCgBREc0gwizW1I
+ ZbIpSVvfBp+7frDozifPqyb/Fkax5CRUZbJiF+2JFOucE4r+6HZXD5MGBpNUUj2FC0ZOPd9pshCl
+ 2FBRhyREQAVrbZZBLiIUMUhFGBULcK1/mNtxstUuu1SbvZ748WF3O597A85ZcjXtL8XhaUNbHTJG
+ IM9CRYJWIkmIyg8LPV59mn0ge5iwmPRQmjSYsvy7uYuucvX9ocexTlVa3UGvLVTbGJl9LBuv3XlV
+ 1cCMoCy7+GsAhXke3ehMMVJqrkFUD+eY5iJsTkqjwZT2OYS8KtIKygzvZowI53blLVdr5lB7khS/
+ izHuU9DJ+dn6DluEmdPMtSryi/wvzkHMinUEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['542']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestCredits.yml b/tests/py/fixtures/TestCredits.yml
new file mode 100644
index 0000000000..a1f839f5d5
--- /dev/null
+++ b/tests/py/fixtures/TestCredits.yml
@@ -0,0 +1,96 @@
+interactions:
+- request:
+ body: '{"amount": 2600.00, "meta": {"exchange_id": 6, "participant_id": 3}, "description":
+ "homer"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA40gFoNrvjyFXgMIEhsvYfb/credits
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"homer\",\n \"links\": {\n\
+ \ \"customer\": \"CU3ZpSyjOue8vDHTcjSplIYB\",\n \"destination\"\
+ : \"BA40gFoNrvjyFXgMIEhsvYfb\",\n \"order\": null,\n \"settlement\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:32:23.062133Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:32:22.735353Z\",\n \"transaction_number\"\
+ : \"CR4QF-8CH-BQ1R\",\n \"failure_reason\": null,\n \"currency\"\
+ : \"USD\",\n \"amount\": 2600,\n \"failure_reason_code\": null,\n\
+ \ \"meta\": {\n \"exchange_id\": \"6\",\n \"participant_id\"\
+ : \"3\"\n },\n \"href\": \"/credits/CR4dfflaBqCDhHmaD8BJ4NF3\",\n\
+ \ \"appears_on_statement_as\": \"example.com\",\n \"id\": \"CR4dfflaBqCDhHmaD8BJ4NF3\"\
+ \n }\n ],\n \"links\": {\n \"credits.events\": \"/credits/{credits.id}/events\"\
+ ,\n \"credits.order\": \"/orders/{credits.order}\",\n \"credits.settlement\"\
+ : \"/settlements/{credits.settlement}\",\n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\
+ ,\n \"credits.settlements\": \"/credits/{credits.id}/settlements\",\n \
+ \ \"credits.customer\": \"/customers/{credits.customer}\",\n \"credits.destination\"\
+ : \"/resources/{credits.destination}\"\n }\n}"}
+ headers:
+ content-length: ['1175']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA6VUUWvbMBB+768IgvZpiR07zrJCGUuy0A7a0aaFtWMYVT436mzJk+TQEvLfJylW
+ rCS0DxsBE93dd3ffdyetjjodRARkVEl02vmpj53Oyn61QyqsamNHsiYEIIMMfXDODCQRtFKUMxOx
+ 4CWI1ltQ9tsgXS5TppbKBunoyV38UM1fn7/XMFpOz2/J87wqLu7H2wQ6XhdQlGFXYPxlED7N+JVY
+ Pr/OfjxdXnxdyOV9/uhDuMhsflYXhWvU8AClCiiBqcbXcFhvydRVhhVkKTYRKAr7STdMuv3wNvx0
+ GkenUdwLh1E/jh9ahlq1dyFR72Oc6J8HUQIziYlhlLK6fGy0uBlcz7qjyXl3fN2/aQvkmBa1gFTX
+ kVZjn5VWUwhg5NX0ezeftjBc8toSjYZhuCW4mywlPIP9jCUorG3exOCFLDB7gpRmpszQl7rCQlFC
+ K8xU447RgawLAblBBs2KBZObQZbnBR7/mUwX5yWejsbfBlez2Gu/qgALmWqJzPrZqaXYLiG84LIq
+ oEd42cZvWnszr21prb+/jBRohyMqsLTzdu19LmhJ1VmUnJi442RMOFOYMnmcTM88MU54nuudOgub
+ NhCDF7daG8XRPvN/Tm1bMtNMmsyb2trSDBdVApaU23vabghSXOFCm/oNLKfif8lqAe2NQbuX270f
+ PVjqWdlJbee9agbfo9k6aPxNQ87jPwuBO8hgi3SmtRPbAXduNQraowdujQdw91agwP7zQPZ8EL/3
+ HAUCJK8FAQ/ohRzA9ZB0EVy8o08bsieRR+1tdf0gM6mj9V9sx9bc3QUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['613']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "CR4QF-8CH-BQ1R", "description":
+ "homer", "created_at": "2015-05-10T09:32:22.735353Z", "updated_at": "2015-05-10T09:32:23.062133Z",
+ "failure_reason_code": null, "failure_reason": null, "destination_href": "/resources/BA40gFoNrvjyFXgMIEhsvYfb",
+ "currency": "USD", "amount": 2600, "meta": {"participant_id": "3"}, "customer_href":
+ "/customers/CU3ZpSyjOue8vDHTcjSplIYB", "appears_on_statement_as": "example.com",
+ "settlement": null, "order": null, "id": "CR4dfflaBqCDhHmaD8BJ4NF3"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/credits/CR4dfflaBqCDhHmaD8BJ4NF3
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31Ta2/aMBT93l8R5fNIQhI2xrcGhuikdSq00tpqilz7ppjlNT/QEMp/n+3mYUCt
+ kCLse84959zcHK8cx8UMCBXcnTnP6ug4R/NUBS6QkPre5RJjAALE/dQVCXDMaC1oVWrEtiqADdWc
+ ln80s+ulZSQXBqTQ84foqd4cdj8lTPeL1T3eber85jHpGyi8EhC0RJ1Ach0Hr8vqlu13h+Wv1x83
+ 37Z8/5i92JSKEdO/lHneGdU5QIgcCihFW2szNH0YWRMkgKRII9wwGE9GwWQ0Du6Dr7MonIWxFwRh
+ PImehoRqah9SQu9LNFE/iyIYKjnCOlFayuKlncU6vluOpvPVKLkbrweBDNFcMkiVDjcztlOpaTIG
+ JT5ovw+bxUBDRSVN0PBzEPQBT5uluCJw3rEAgdSd9cZqxATFtEalSCnRSpF7Mbotg0yX/HaN/Pk6
+ JlmWo+TvfLFdFWgxTb7Ht8vIsljXgBhP1Rj0ipk3kyKzaPAPFXUOHq6KAf+m/W5fY6lRz986rnu6
+ et12e7BXKkajd3psLXuUNH5bf5tYz+o2yvXNP+73HHNuWpM9/mTVXH84Wszh8oLOlAvGUf6BzwFy
+ ZtXSej+lDTrj29+n3x0s293VhemzD9VnwCvJMFhcC9LoFWqumv8b7xc0ewQAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['502']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"meta\": {\n \"last\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"next\": null,\n \"href\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ \n },\n \"links\": {},\n \"debits\": []\n}"}
+ headers:
+ content-length: ['356']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestElsewhere.yml b/tests/py/fixtures/TestElsewhere.yml
new file mode 100644
index 0000000000..a94d2bfca0
--- /dev/null
+++ b/tests/py/fixtures/TestElsewhere.yml
@@ -0,0 +1,127 @@
+interactions:
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.twitter.com:443/1.1/users/show.json?screen_name=Gratipay
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAALxWbY/jNBD+KyYf0CG6bd7aJJUQEru38AWBYNGddFlFTjJpzTp2sJ3dK6v+d8ZJ
+ k6bt7goQIl9qz5vHzzwz7rPDSmftBV4QrZb+MprhPtNGOWvnKHRmjqA1oOx7RQ1r6A4lulAAIrtU
+ cFngWgqU4q5RsmIcsqNUtJzPnBIwAGsOhp27aUv4lgyRviAfAB74juC6BmE0MZI0IBsOhIqSGKC1
+ JjvZkhw4g0cgTMzxwFZxDLg1ptHrdJEuzLyQ6aJeQfj7T15Yh2iC0ZhhoJ31c2/e/eD20/Pfcv/c
+ YAJQZue2m0Pq6FKnC7QsmW443R0Mp2pUMlGywibxyZ35wf3+fn+GypjV/X7fAWmgMIDlqijXMHMq
+ ybl8AqWzQrbCYBkjL0axYiDKURgssSRMo+MgiYOZg8WjVkRx79wqRn6kivgJ8YK1t1y7AfnaxY/4
+ rhdgqhV9lK1iBsaoeE5rikxWlQbcXnlh6Lozx7Aasj+lsJR4T/FQJcgdysi7334lX5JrKmhJv8KI
+ G5AZCJrzyX0eQbGKTQTaUNPqyaGJvQsVG4wOwhkMLFIn97nbtnifHXEj4vvr0F278fE+Sws9nrFM
+ ViF+ge/64coNV1Ew4f6lEr0MfLbRLS2JtwzSFqOFt1IRswVSMaUNsfdHnpZ4+BMQ/cCaBkqC2OF2
+ SmZS7AoOa3LOs1/Ezx8+gv/xBzpH+hOqgJQADTpqqdRuTtZX7+y9MWJhMU5b1w0KSrYKqm/Sjop9
+ tCdmEPyOiA5RwFEpZE+YtPeCu94Gz8nJNXaQMH20dEF7A3tl1YqCTknHRKZsQpmRWQ9/ZtHsm/pF
+ ZQ/ppQFWVr3ie1C95nkyeno18mlYFlKqkgnMWg8ibMICjnphFMtbI9VooMBggcyE3ZbylvFjG52O
+ jS3VW0M3XXdiPXZ1Lvlh0yVvi4xNPIjeni7Hqr81XWooWVv3s2UYJVc5l5thixOW7xoNV6FflS4U
+ bplAfDGF3ghjGe2vTkZT5M2SsJ9NAyJHLhxQm0gaqTXLsUoahEawHmFUHft2f1qDiznAdGYUFZpT
+ VL8kRWAvnIZ3JqfFw0Zhzey449bfuXZv3r+/cV60YTXdwATqDukm13PsoHrTo/Sam04XcbCMwySK
+ 4nSR5GFA88LzaRWFYVwBDfzCq2gex35elPm8wfu/nUPWFfuk6P9zKgb3F5D+E4yGbIIoju3Edb0o
+ dKMgiZcoWyY0DKoq94KiwiUNktBfxYlXlEUSu1UmpKopP8vuX6Dz3yeRUyGwq89b8tXqWGtM4PgX
+ Ctehm/jRKuqekvFfERMPI09dNw6/CydazUrIqcpyHGh4+mB3230v2OGGj1Y3SPrb1cTKPl+jNui+
+ iRan1gWrRiaUUNGWm+xg/Jr8zKt/bpht+37K9gKc43+0oI2dEWZQCWnw7e//Ih6m8v4vAAAA//8D
+ ACcUQ3acCgAA
+ headers:
+ cache-control: ['no-cache, no-store, must-revalidate, pre-check=0, post-check=0']
+ content-disposition: [attachment; filename=json.json]
+ content-encoding: [gzip]
+ content-length: ['1092']
+ content-type: [application/json;charset=utf-8]
+ expires: ['Tue, 31 Mar 1981 05:00:00 GMT']
+ last-modified: ['Sun, 10 May 2015 09:27:24 GMT']
+ pragma: [no-cache]
+ set-cookie: ['guest_id=v1%3A143125004464519543; Domain=.twitter.com; Path=/;
+ Expires=Tue, 09-May-2017 09:27:24 UTC']
+ status: [200 OK]
+ strict-transport-security: [max-age=631138519]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.twitter.com:443/1.1/users/show.json?screen_name=adhsjakdjsdkjsajdhksda
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAAKpWSi0qyi8qVrKKrlZKzk9JVbIyNtFRyk0tLk5MB3KUgvOLiip1FEoyEksUCoBC
+ Cin5qcUKefklCqkVmcUlekq1sbUAAAAA//8DALaCUj9FAAAA
+ headers:
+ cache-control: ['no-cache, no-store, must-revalidate, pre-check=0, post-check=0']
+ content-disposition: [attachment; filename=json.json]
+ content-encoding: [gzip]
+ content-length: ['93']
+ content-type: [application/json;charset=utf-8]
+ expires: ['Tue, 31 Mar 1981 05:00:00 GMT']
+ last-modified: ['Sun, 10 May 2015 09:27:29 GMT']
+ pragma: [no-cache]
+ set-cookie: ['guest_id=v1%3A143125004928540477; Domain=.twitter.com; Path=/;
+ Expires=Tue, 09-May-2017 09:27:29 UTC']
+ status: [404 Not Found]
+ strict-transport-security: [max-age=631138519]
+ status: {code: 404, message: Not Found}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/users/adhsjakdjsdkjsajdhksda
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1HSUUrJTy7NTc0rSSzJzM+LLy3KAcpnlJQU
+ FFvp66eklqXm5BekFumlZ5ZklCbpJefn6pcZK9UCAP6TTUJNAAAA
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ status: [404 Not Found]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ status: {code: 404, message: Not Found}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://graph.facebook.com:443/adhsjakdjsdkjsajdhksda
+ response:
+ body: {string: !!python/unicode '{"error":{"message":"(#803) Some of the aliases
+ you requested do not exist: adhsjakdjsdkjsajdhksda","type":"OAuthException","code":803}}'}
+ headers:
+ access-control-allow-origin: ['*']
+ cache-control: [no-store]
+ content-length: ['136']
+ content-type: [application/json; charset=UTF-8]
+ expires: ['Sat, 01 Jan 2000 00:00:00 GMT']
+ facebook-api-version: [v1.0]
+ pragma: [no-cache]
+ www-authenticate: ['OAuth "Facebook Platform" "not_found" "(#803) Some of the
+ aliases you requested do not exist: adhsjakdjsdkjsajdhksda"']
+ status: {code: 404, message: Not Found}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://bitbucket.org:443/api/2.0/users/adhsjakdjsdkjsajdhksda
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA6tWSi0qyi9SslKoVspNLS5OTE8FspUSUzKKsxKzU7KKU7KzihOzUjKyi1MSlWpr
+ AfM0plMwAAAA
+ headers:
+ content-encoding: [gzip]
+ content-language: [en]
+ content-type: [application/json; charset=utf-8]
+ transfer-encoding: [chunked]
+ vary: ['Authorization, Accept-Language, Cookie']
+ status: {code: 404, message: NOT FOUND}
+version: 1
diff --git a/tests/py/fixtures/TestFriendFinder.yml b/tests/py/fixtures/TestFriendFinder.yml
new file mode 100644
index 0000000000..a8bee78669
--- /dev/null
+++ b/tests/py/fixtures/TestFriendFinder.yml
@@ -0,0 +1,164 @@
+interactions:
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/users/whit537/following
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA63Y0W6bMBQG4HfhuioBStJUmnaxR9h2NU2VS9zEDQEETqI06rvPGPuA0YR0fHzV
+ KvL/85fmU1P+3KOy3osqeolE17HiyMvyFj1EYhe9JFm2fYjYhUnWvp7bUp05SNl0L3E8vNg97oU8
+ nN/OHW+LupK8ko9FfY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K2JDyB+bkKbxMEQmX6QhHyxZS
+ YZkeLCsTw6MywTCkYAUB1JG1p1u1N58P0yxZbZ98PyCaNEHUuGaZ1HgOZcrE/FG5BRRVtonEypaE
+ cwWNVFi2CCvL5vC0bDKMrXEHAdeJ7a4gK93keeL5kTDNdJogy0xZZmUOoUz1GX9QkzRFk64hUdIN
+ 4RwNdVREugUrSIfwfHQsjB2zAAvn7z/AIdQqLCwAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"7ece71c4ec85da918b30ffa5d91d2ba2"]
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.twitter.com:443/1.1/friends/list.json?user_id=23608307&skip_status=true
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAAOxdaXPbOLb9K3hO1ctMjRcsBEDofYlt2YkT20lsJ+n0eEpFkaDFmCIVLnacrv7v
+ 74LURlG0bEWapKut1ExbWAgQAs/Bubi4/GMjT3WSbrT+/cdG4G20GKG2TQXh1iZ876RZstHamCRu
+ bG5ETl9D2pnuxnGGDhMncjUkp26iddQZ5iZFbscf5Yax62RBHEEWfPM0lA4Gw4TKldAgib/oDN3o
+ yIky5D0P3AChXpYNWpc7lzvZthtf7gzex/G3Qe/o9h1cLE9CuIgpkU4V+fzaO9Nfvh3f3EERHWVB
+ Fmi4yz/K4sV/ypt+SPVvAyfytNeZLXt7e7udaM8LTKX+5U5y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Ibt6PelJxK7DGCZtSWY15OE6bkJQJSmjeblfAQJWeKllTBDV+X+1szBDj/j3IzKEs
+ v3wxXul5VwSv8mE26dEb9SAjrb5qb2D8Ksx4zJ7Z+h6cXLy1Xr8/e4mGBDgkN10EHHlxkDmh023i
+ p+NTtndn72dFQJpH81O19j38ZEZq2wzVdjFWVV6ayXw4HzX0ajIi9/RquR4JsWnbDz+yBYtOUvdn
+ p7zmRsjovJeaFMLQNu+ZxXYlqHxDtGCxcHurURjWeLF8cGuxgslfyrXjb8SL3MR6Z7ZNuUUtyxYW
+ vty56Lzqnp3pz6t3a390Y8u6tY/wuHzlFMPAkI2vnHpixVVIN0akZCDLp42bk8Qp8TbHgf0k/t7W
+ N6d6JpaWORD9SXfr3hmG8pLwDr041bdvI7ji/5lTVunwdYcmFKQHmiWMB+aM1Sbyk7iPoA34mRzU
+ LnN0YrzUTbDIxp2uD7e37ksr/Iw/L8Nx1dpNbDLqzHa/7N5cAdZUag3e69iqazC7dlKYz257mWNU
+ xdvNCcK8hVXLWui9TmcDQFI+x6vCNfNzhceEKf6ZESDheeBErJqIrIIqrgJ/TUy04Porj+lhIjFy
+ 2zIuBha3sOsp7lmeZj71sYlh44LE6UpGNGHri+nxw51YVs+NIdP8bUyOlpL3OFgo+CymrocFvzo4
+ NP/WQ12/pNnxP3CZ4hbzJDX3CPqZUCk5lYoad2SMaaXEOMJ9rVgxLPomiPN0fDVcSxvWxxt//j8A
+ AAD//wMAYksBT9uEAAA=
+ headers:
+ cache-control: ['no-cache, no-store, must-revalidate, pre-check=0, post-check=0']
+ content-disposition: [attachment; filename=json.json]
+ content-encoding: [gzip]
+ content-length: ['5486']
+ content-type: [application/json;charset=utf-8]
+ expires: ['Tue, 31 Mar 1981 05:00:00 GMT']
+ last-modified: ['Sun, 10 May 2015 09:27:39 GMT']
+ pragma: [no-cache]
+ set-cookie: ['guest_id=v1%3A143125005984597973; Domain=.twitter.com; Path=/;
+ Expires=Tue, 09-May-2017 09:27:39 UTC']
+ status: [200 OK]
+ strict-transport-security: [max-age=631138519]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestGetBalancedAccount.yml b/tests/py/fixtures/TestGetBalancedAccount.yml
new file mode 100644
index 0000000000..2747164357
--- /dev/null
+++ b/tests/py/fixtures/TestGetBalancedAccount.yml
@@ -0,0 +1,37 @@
+interactions:
+- request:
+ body: '{"meta": {"username": "alice", "participant_id": 1}}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/customers
+ response:
+ body: {string: !!python/unicode "{\n \"customers\": [\n {\n \"name\"\
+ : null,\n \"links\": {\n \"source\": null,\n \"destination\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:35:05.918967Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:35:05.707188Z\",\n \"dob_month\"\
+ : null,\n \"id\": \"CU7ay9LdMwwBgdmJiSSgXBBe\",\n \"phone\": null,\n\
+ \ \"href\": \"/customers/CU7ay9LdMwwBgdmJiSSgXBBe\",\n \"merchant_status\"\
+ : \"no-match\",\n \"meta\": {\n \"username\": \"alice\",\n \
+ \ \"participant_id\": \"1\"\n },\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 \"customers.accounts\": \"/customers/{customers.id}/accounts\"\
+ \n }\n}"}
+ headers:
+ content-length: ['1723']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+version: 1
diff --git a/tests/py/fixtures/TestPages.yml b/tests/py/fixtures/TestPages.yml
new file mode 100644
index 0000000000..e981d97aa8
--- /dev/null
+++ b/tests/py/fixtures/TestPages.yml
@@ -0,0 +1,224 @@
+interactions:
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/users/gratipay
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA52TP2+DMBDFv4tnEkMSmspS1W4du3TqEhlw4SRjW/5DlaJ+954xaUmGSnQCW/d+
+ 9/x0NxKpW1CEkdZyD4afSUagIaw4Hg75cZ8RPnDP7SlYiUWd98YxStOl27bgu1AFJ2ytlRfKb2vd
+ 00Bn9ePwsEceohMkggle3MAMzKCkRpqjCzud7+VN/9R3Kl8Uvmsp9Qeqb93+1YD+qNBY+gfV/oOA
+ qpFq3wkMC5/wFR8Ozq8zMylGGj8naCLDYfpWNKsMzRq086HQyUitMHqChcrVFowHrdYZu1IiSduW
+ K/jEmVlLQqVDQLS0zsKkQKUYcNDWSZNkpMbCwOtzjMKKWsCAwf4Dd6NFmj8bgbP9skglxg1enHjT
+ xwV759KJjCjex8Ln323DITZcnQlTQcqMVLiQi027jPc064iUup4yT4skeg5xL10wRlv/tKzG4g6s
+ 4JXEhjMbdNKZUEmoTylRti8zMt9M80dYflkFXKbFCUd8OtWI9Rgd94jb5cVuk5eb4u41L1h+ZGX5
+ hr2Daa5qyk1+2OyOr8U9Kwu2P7yRr29XRjQ5fQQAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"e665f3b4dbb033e0c1c61fbfc987f7ce"]
+ last-modified: ['Mon, 27 Apr 2015 18:51:34 GMT']
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/orgs/gratipay/public_members
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA63Y326bMBQG8HfhuioQAiWVpmkXe4Jt2sU0VTRxiTcCCEyiNuq7z8b4D1SlOz7u
+ Tav0fB8nND85za9rUDUlrYP74Ou3n1++BzcBPQT3WbrN8pugOBes6B6GruK/PzLW9vdhKB/sb0vK
+ jsPj0JNu39SM1Ox235zCIRyzn8+fEt5VdlOFKA34A4uqlk41Msu7+lDtcWSnanFpeclxVk09NVXV
+ XHhuueW71aGO8H3kz7QuoXEeuYYNOxJ+e/jar+LJ0p4B1hjHr6H49kAPoqDnN7sjh/9fZQrwRS41
+ 3+EadqRtxqbhsd93tGW0qQErzWK8punKoqYvBbCGx3qeFssALj6O8xg589cSICfnr2Hb0XOxfxZP
+ vyN7Qs/8TkK7FkFexZ5bwl+6P/jfWNxXyshDcTgJME9F1ZPXGwNoX7SsTk4RnxMv9zTfbtLEEZEM
+ IxRZy6xDsgZBllTOndOiASNKV6FQ6RZ/rkylLdKFlm6C6tJBODAd9WPM2mTmE8isamoSR3E+Odts
+ sixxPaxkGOPM2uYDaNYkTJoKIqgtKlDWdBcOm67xqM10ornpKrA3nXQAp7OexFm7IMiVHSnLiojT
+ WZxsyW6TOr89lGGEOGuZdXDWIMibyrlzWzRgtOkqFDbd4s+aqcRS001QaToIh6ajfpxZmyCYtX9e
+ JmFxHEeR41vHMYvwJbdYpyVnQKp4xB2UCWMsiRYUI1HgT9DYhsUjSqBuRAZORqT8aJHXR0DpmiNl
+ bTFUf9WJlO+S9M71n61EphFmZgut05mNggSZpDukNx0YT1YZipXV40+XXYpFZnVBrVlRODkr7Efe
+ bBsMwOF0ogpflkS7aOd4Wskwhp5a5QN2agxGbkwhuNl5FDVZhGMmOzwSmwrRvGQPmJaMObCSQU+k
+ 1BYITj0p6orWfUWepwMty/lX5mpqDCNMzfdZhzWfBemyou7E3pZgnNltKGx2kT9xs1YsO7sMas/O
+ wgHaaT8K5/sgKDKyP7Km1odbGqd57nq4yTACor3NOkN7EoRQB90JLiswAE0Xip+p8YfP6sTSM1VQ
+ eCYJZ2eyftDZu2DIXZrqqW/q6ejbRZtt7vp5vgxjxJllPgBnBmHephyC27wBpU1V4bCpFo/WdCWa
+ mmoCS1NBB2gq6smZ2QTB7MI/M0mTO/UJY7LdpqnjG8x4DCOUmV3WkZk5kLEp5k5sXoARpppQwFSJ
+ P1+6EctLFUF1qRwcl0r6sWX2gNL6/Q+sTyNoPCUAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"9642a45aeac05a600f2814bb6dd33663"]
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/users/gratipay
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA52TP2+DMBDFv4tnEkMSmspS1W4du3TqEhlw4SRjW/5DlaJ+954xaUmGSnQCW/d+
+ 9/x0NxKpW1CEkdZyD4afSUagIaw4Hg75cZ8RPnDP7SlYiUWd98YxStOl27bgu1AFJ2ytlRfKb2vd
+ 00Bn9ePwsEceohMkggle3MAMzKCkRpqjCzud7+VN/9R3Kl8Uvmsp9Qeqb93+1YD+qNBY+gfV/oOA
+ qpFq3wkMC5/wFR8Ozq8zMylGGj8naCLDYfpWNKsMzRq086HQyUitMHqChcrVFowHrdYZu1IiSduW
+ K/jEmVlLQqVDQLS0zsKkQKUYcNDWSZNkpMbCwOtzjMKKWsCAwf4Dd6NFmj8bgbP9skglxg1enHjT
+ xwV759KJjCjex8Ln323DITZcnQlTQcqMVLiQi027jPc064iUup4yT4skeg5xL10wRlv/tKzG4g6s
+ 4JXEhjMbdNKZUEmoTylRti8zMt9M80dYflkFXKbFCUd8OtWI9Rgd94jb5cVuk5eb4u41L1h+ZGX5
+ hr2Daa5qyk1+2OyOr8U9Kwu2P7yRr29XRjQ5fQQAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"e665f3b4dbb033e0c1c61fbfc987f7ce"]
+ last-modified: ['Mon, 27 Apr 2015 18:51:34 GMT']
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/orgs/gratipay/public_members
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA63Y326bMBQG8HfhuioQAiWVpmkXe4Jt2sU0VTRxiTcCCEyiNuq7z8b4D1SlOz7u
+ Tav0fB8nND85za9rUDUlrYP74Ou3n1++BzcBPQT3WbrN8pugOBes6B6GruK/PzLW9vdhKB/sb0vK
+ jsPj0JNu39SM1Ox235zCIRyzn8+fEt5VdlOFKA34A4uqlk41Msu7+lDtcWSnanFpeclxVk09NVXV
+ XHhuueW71aGO8H3kz7QuoXEeuYYNOxJ+e/jar+LJ0p4B1hjHr6H49kAPoqDnN7sjh/9fZQrwRS41
+ 3+EadqRtxqbhsd93tGW0qQErzWK8punKoqYvBbCGx3qeFssALj6O8xg589cSICfnr2Hb0XOxfxZP
+ vyN7Qs/8TkK7FkFexZ5bwl+6P/jfWNxXyshDcTgJME9F1ZPXGwNoX7SsTk4RnxMv9zTfbtLEEZEM
+ IxRZy6xDsgZBllTOndOiASNKV6FQ6RZ/rkylLdKFlm6C6tJBODAd9WPM2mTmE8isamoSR3E+Odts
+ sixxPaxkGOPM2uYDaNYkTJoKIqgtKlDWdBcOm67xqM10ornpKrA3nXQAp7OexFm7IMiVHSnLiojT
+ WZxsyW6TOr89lGGEOGuZdXDWIMibyrlzWzRgtOkqFDbd4s+aqcRS001QaToIh6ajfpxZmyCYtX9e
+ JmFxHEeR41vHMYvwJbdYpyVnQKp4xB2UCWMsiRYUI1HgT9DYhsUjSqBuRAZORqT8aJHXR0DpmiNl
+ bTFUf9WJlO+S9M71n61EphFmZgut05mNggSZpDukNx0YT1YZipXV40+XXYpFZnVBrVlRODkr7Efe
+ bBsMwOF0ogpflkS7aOd4Wskwhp5a5QN2agxGbkwhuNl5FDVZhGMmOzwSmwrRvGQPmJaMObCSQU+k
+ 1BYITj0p6orWfUWepwMty/lX5mpqDCNMzfdZhzWfBemyou7E3pZgnNltKGx2kT9xs1YsO7sMas/O
+ wgHaaT8K5/sgKDKyP7Km1odbGqd57nq4yTACor3NOkN7EoRQB90JLiswAE0Xip+p8YfP6sTSM1VQ
+ eCYJZ2eyftDZu2DIXZrqqW/q6ejbRZtt7vp5vgxjxJllPgBnBmHephyC27wBpU1V4bCpFo/WdCWa
+ mmoCS1NBB2gq6smZ2QTB7MI/M0mTO/UJY7LdpqnjG8x4DCOUmV3WkZk5kLEp5k5sXoARpppQwFSJ
+ P1+6EctLFUF1qRwcl0r6sWX2gNL6/Q+sTyNoPCUAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"9642a45aeac05a600f2814bb6dd33663"]
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/users/gratipay
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA52TP2+DMBDFv4tnEkMSmspS1W4du3TqEhlw4SRjW/5DlaJ+954xaUmGSnQCW/d+
+ 9/x0NxKpW1CEkdZyD4afSUagIaw4Hg75cZ8RPnDP7SlYiUWd98YxStOl27bgu1AFJ2ytlRfKb2vd
+ 00Bn9ePwsEceohMkggle3MAMzKCkRpqjCzud7+VN/9R3Kl8Uvmsp9Qeqb93+1YD+qNBY+gfV/oOA
+ qpFq3wkMC5/wFR8Ozq8zMylGGj8naCLDYfpWNKsMzRq086HQyUitMHqChcrVFowHrdYZu1IiSduW
+ K/jEmVlLQqVDQLS0zsKkQKUYcNDWSZNkpMbCwOtzjMKKWsCAwf4Dd6NFmj8bgbP9skglxg1enHjT
+ xwV759KJjCjex8Ln323DITZcnQlTQcqMVLiQi027jPc064iUup4yT4skeg5xL10wRlv/tKzG4g6s
+ 4JXEhjMbdNKZUEmoTylRti8zMt9M80dYflkFXKbFCUd8OtWI9Rgd94jb5cVuk5eb4u41L1h+ZGX5
+ hr2Daa5qyk1+2OyOr8U9Kwu2P7yRr29XRjQ5fQQAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"e665f3b4dbb033e0c1c61fbfc987f7ce"]
+ last-modified: ['Mon, 27 Apr 2015 18:51:34 GMT']
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.github.com:443/orgs/gratipay/public_members
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA63Y326bMBQG8HfhuioQAiWVpmkXe4Jt2sU0VTRxiTcCCEyiNuq7z8b4D1SlOz7u
+ Tav0fB8nND85za9rUDUlrYP74Ou3n1++BzcBPQT3WbrN8pugOBes6B6GruK/PzLW9vdhKB/sb0vK
+ jsPj0JNu39SM1Ox235zCIRyzn8+fEt5VdlOFKA34A4uqlk41Msu7+lDtcWSnanFpeclxVk09NVXV
+ XHhuueW71aGO8H3kz7QuoXEeuYYNOxJ+e/jar+LJ0p4B1hjHr6H49kAPoqDnN7sjh/9fZQrwRS41
+ 3+EadqRtxqbhsd93tGW0qQErzWK8punKoqYvBbCGx3qeFssALj6O8xg589cSICfnr2Hb0XOxfxZP
+ vyN7Qs/8TkK7FkFexZ5bwl+6P/jfWNxXyshDcTgJME9F1ZPXGwNoX7SsTk4RnxMv9zTfbtLEEZEM
+ IxRZy6xDsgZBllTOndOiASNKV6FQ6RZ/rkylLdKFlm6C6tJBODAd9WPM2mTmE8isamoSR3E+Odts
+ sixxPaxkGOPM2uYDaNYkTJoKIqgtKlDWdBcOm67xqM10ornpKrA3nXQAp7OexFm7IMiVHSnLiojT
+ WZxsyW6TOr89lGGEOGuZdXDWIMibyrlzWzRgtOkqFDbd4s+aqcRS001QaToIh6ajfpxZmyCYtX9e
+ JmFxHEeR41vHMYvwJbdYpyVnQKp4xB2UCWMsiRYUI1HgT9DYhsUjSqBuRAZORqT8aJHXR0DpmiNl
+ bTFUf9WJlO+S9M71n61EphFmZgut05mNggSZpDukNx0YT1YZipXV40+XXYpFZnVBrVlRODkr7Efe
+ bBsMwOF0ogpflkS7aOd4Wskwhp5a5QN2agxGbkwhuNl5FDVZhGMmOzwSmwrRvGQPmJaMObCSQU+k
+ 1BYITj0p6orWfUWepwMty/lX5mpqDCNMzfdZhzWfBemyou7E3pZgnNltKGx2kT9xs1YsO7sMas/O
+ wgHaaT8K5/sgKDKyP7Km1odbGqd57nq4yTACor3NOkN7EoRQB90JLiswAE0Xip+p8YfP6sTSM1VQ
+ eCYJZ2eyftDZu2DIXZrqqW/q6ejbRZtt7vp5vgxjxJllPgBnBmHephyC27wBpU1V4bCpFo/WdCWa
+ mmoCS1NBB2gq6smZ2QTB7MI/M0mTO/UJY7LdpqnjG8x4DCOUmV3WkZk5kLEp5k5sXoARpppQwFSJ
+ P1+6EctLFUF1qRwcl0r6sWX2gNL6/Q+sTyNoPCUAAA==
+ headers:
+ access-control-allow-credentials: ['true']
+ access-control-allow-origin: ['*']
+ access-control-expose-headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
+ X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
+ X-Poll-Interval']
+ cache-control: ['public, max-age=60, s-maxage=60']
+ content-encoding: [gzip]
+ content-security-policy: [default-src 'none']
+ content-type: [application/json; charset=utf-8]
+ etag: [W/"9642a45aeac05a600f2814bb6dd33663"]
+ status: [200 OK]
+ strict-transport-security: [max-age=31536000; includeSubdomains; preload]
+ transfer-encoding: [chunked]
+ vary: [Accept, Accept-Encoding]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestPayday.yml b/tests/py/fixtures/TestPayday.yml
new file mode 100644
index 0000000000..30b014fc34
--- /dev/null
+++ b/tests/py/fixtures/TestPayday.yml
@@ -0,0 +1,431 @@
+interactions:
+- request:
+ body: '{"amount": 1000, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:33:03.793773Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:33:03.402242Z\",\n \"transaction_number\"\
+ : \"HLAST-O0G-FJX5\",\n \"expires_at\": \"2015-05-17T09:33:03.710721Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 1000,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4WZJTSHR0XwQSTrDiks8rX\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4WZJTSHR0XwQSTrDiks8rX\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1000, "meta": {"exchange_id": 1, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4WZJTSHR0XwQSTrDiks8rX/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL4WZJTSHR0XwQSTrDiks8rX\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:33:06.506492Z\",\n \"created_at\": \"2015-05-10T09:33:05.979872Z\"\
+ ,\n \"transaction_number\": \"W3QC-L5J-J8O4\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 1000,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"1\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD4ZTjv21VtRqAEELq8OBp4I\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD4ZTjv21VtRqAEELq8OBp4I\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "description": "janet", "amount": 1000, "created_at":
+ "2015-05-10T09:33:03.402242Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:33:03.793773Z", "expires_at": "2015-05-17T09:33:03.710721Z",
+ "failure_reason": null, "currency": "USD", "transaction_number": "HLAST-O0G-FJX5",
+ "meta": {"state": "captured", "participant_id": "2"}, "debit": null, "failure_reason_code":
+ null, "voided_at": null, "order": null, "id": "HL4WZJTSHR0XwQSTrDiks8rX"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4WZJTSHR0XwQSTrDiks8rX
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnWOJejiyfUvttI5hJIit1I6LQmBIBmEiUwpJuSkM/XtJWs+m
+ jwsh7O7szs6OjmeWZSPIcfKcpVjYE+ubiljW0bwqJySUhY7bokCIEEywfV4nMRGI01zSjOmKF8iI
+ bLMpZa8aWfdS3TKOCVchVqRp3aUioBtMp8GDd3HtbbKb1TZdoNHh/iacv0+bnqoWk0cqdfFmFu7i
+ l4PvfZWrt8urq+Xb6PZTHl7bFbuyoVnkGEqCE2hwPvCGAzAceCAG40kQTMCFM44iEIx3LXfEyT8h
+ gRMC3w/9DkRyyAREWoyEFftHs6g9X16u48Et+DL4vNgO2wHkPaeciN85RTWnwIk8EPleZ8ATpGnB
+ SaKoCSN4V0UbFZwThn7qoffrWTsJ7rOC6c09AECjyZ5IqGKd2+hLE41GMJdqTntnpXoOuaSI5pDJ
+ hGIj40ednzl50im3NZQ7X4ab3SJez1dg++NuHfMZfRUjvm359ddKUIY1i95uh4wq35206iVOVP46
+ wzihVO93vbfdN2TH9g45ECaNy7vcj+0eDsWlW1WdNOzCa1vbrvkSbhdpQmW1bxeluzcj+xid+hPE
+ mP+/PKuqjzybf8c9lfR4mlCpr1qelb8A1L0xVhgEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['488']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 1576, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:33:09.667678Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:33:09.367366Z\",\n \"transaction_number\"\
+ : \"HL50X-TJX-U5YD\",\n \"expires_at\": \"2015-05-17T09:33:09.582465Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 1576,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL53HJciANKNibC5OEr4B8I0\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL53HJciANKNibC5OEr4B8I0\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1576, "meta": {"exchange_id": 2, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL53HJciANKNibC5OEr4B8I0/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL53HJciANKNibC5OEr4B8I0\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:33:12.515937Z\",\n \"created_at\": \"2015-05-10T09:33:12.088669Z\"\
+ ,\n \"transaction_number\": \"W1O0-82S-24RK\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 1576,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"2\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD56LndPcOe04HRnJEvJj2GV\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD56LndPcOe04HRnJEvJj2GV\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "description": "janet", "amount": 1576, "created_at":
+ "2015-05-10T09:33:09.367366Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:33:09.667678Z", "expires_at": "2015-05-17T09:33:09.582465Z",
+ "failure_reason": null, "currency": "USD", "transaction_number": "HL50X-TJX-U5YD",
+ "meta": {"state": "captured", "participant_id": "2"}, "debit": null, "failure_reason_code":
+ null, "voided_at": null, "order": null, "id": "HL53HJciANKNibC5OEr4B8I0"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL53HJciANKNibC5OEr4B8I0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmOLsiz5cUudoI4aOEEaN06LQqDJDcJUpgSKMlIY+veStCxR
+ TR8XQtjd2ZmdXR3OPA9RIln6kmesRHPvm4543sG+OlcqoioTR2VFKQADhs5PSQYllbxQPBem4pUI
+ UF024+KHQZ566W65ZCB1SFRZdurSCDANFovwKYivg8d8db/JEjrdr1fj5dui7alrGWy5MsWPl1F8
+ I9gdvQU8Xt6L5GqfvI4+fkGNurqVWRWMKGApsbgRDqIBjgYBfsCzeRjOg3CIp+FsNPnaaacS/gXB
+ s2EYT8I4diBKElESasxIRbXb2kHR8ibCm8FDshmso6fLjgDeCi6h/F3TpNGkCaLpaBxHDsEz4Vkl
+ IdXSSmu46yKilZQg6E9Duv7sMJFdXgkzeRBN4taTHSiiY85uzKbBoCkplObp9qxdL4hUnPKCCJVy
+ Zm187/OLhGeT8ruD8vX84TKh/GL1acW3i+j2So4/TK9x50R/rJTmzKjozbbPub67o1e9xFHKXzns
+ JdT6/W7mRv2DdM5+CHsQyl65q/3QzTHkrPabqqOHLvx01si3X6XvIm2obuZ1UaZ7S9nHmNSfIPb4
+ /6uzqXqvs/13/GNJT6cN1War9Vn9C8Kbvq8YBAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['486']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 1500.00, "meta": {"exchange_id": 3, "participant_id": 3}, "description":
+ "homer"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA40gFoNrvjyFXgMIEhsvYfb/credits
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"homer\",\n \"links\": {\n\
+ \ \"customer\": \"CU3ZpSyjOue8vDHTcjSplIYB\",\n \"destination\"\
+ : \"BA40gFoNrvjyFXgMIEhsvYfb\",\n \"order\": null,\n \"settlement\"\
+ : null\n },\n \"updated_at\": \"2015-05-10T09:33:15.853718Z\",\n\
+ \ \"created_at\": \"2015-05-10T09:33:15.551964Z\",\n \"transaction_number\"\
+ : \"CRHCJ-IC9-QVPI\",\n \"failure_reason\": null,\n \"currency\"\
+ : \"USD\",\n \"amount\": 1500,\n \"failure_reason_code\": null,\n\
+ \ \"meta\": {\n \"exchange_id\": \"3\",\n \"participant_id\"\
+ : \"3\"\n },\n \"href\": \"/credits/CR5aEgZceB8rIEnmcESyL1n2\",\n\
+ \ \"appears_on_statement_as\": \"example.com\",\n \"id\": \"CR5aEgZceB8rIEnmcESyL1n2\"\
+ \n }\n ],\n \"links\": {\n \"credits.events\": \"/credits/{credits.id}/events\"\
+ ,\n \"credits.order\": \"/orders/{credits.order}\",\n \"credits.settlement\"\
+ : \"/settlements/{credits.settlement}\",\n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\
+ ,\n \"credits.settlements\": \"/credits/{credits.id}/settlements\",\n \
+ \ \"credits.customer\": \"/customers/{credits.customer}\",\n \"credits.destination\"\
+ : \"/resources/{credits.destination}\"\n }\n}"}
+ headers:
+ content-length: ['1175']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3WDQO04zVftSbz7HFxFPLL
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41Uy27bMBC85ysEnWvrkZfta4ughwBt0ReQohAokoGISKTLRxHH0L93aUsyTaph
+ Ljrszgy5syPuL5IkxUZp0VGp0k3yCwpJsj98ocVRR6HKTdu+G2st408WOoIApoSR2AdCnVClGUea
+ CT6oDCL9pGa2BGlKKqQBkZZ5cb3IrxdF/i1fby7LTb5a5qubfFU+pBMFS/oq5Xa5vinXq8KhEFFX
+ neC68YdhxB77/vvlzw9fPuVXLz8e9df65fbj3fPd5/v705nbRnB/wLSR9NHSs8nBLK4ERuMGcV0p
+ jbSxRqZcLDqkcXM6rqMaeRbTPxZapIGDdrYdRdIfDREiqfI2hZneeUDYE6yUlvPlIizbi/tegMhW
+ QKOtsCAzTSwM13LndoNBaqPgHkpVc6lTilctUvrKH5N2iLVBkZ0Froezftv82Emd8J6iv5winGbg
+ 2iHPKttPix36/bAih4iRJFUjWnJYpRMFh8xInzm4Y5IdjRrxpwrhg0kRmXNooERozWISA2aG6/6t
+ //HB+aVnzKDPmkoOKXjbMCE8uJS1LWLJERIwCVNbo2mEPKECvpaIK4Tt4xXROEMGOvBIGB6bYQTN
+ sP/Cy4zayBUkHWGBgpDk+La/Es4BE3DhqSXRPI2ggP22EEwo+D/7i/4fmxVD+ZMGAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['506']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3ZpSyjOue8vDHTcjSplIYB
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41Uu27cMBDs/RWC6pwl3QOOr0xSJFUKO0UcBAKPZCDaFKnwYeRw0L9nqZN0PFIJ
+ 3ajYnRlyZ0c83WRZjq02sqVK5/vsBxSy7DR8oSVQS6EqLOfvphpn4sVBJxDAtLQKh0CoE6oNE8gw
+ KUaVUaSf1WxHkKGkRgYQ+bqsdqtyt6rKx/J+v1nvq/J2t73b3u+e8pmCFU1QtpvyblN5FCIPdSuF
+ acJhGHHHfvy2eeoejs9fLX3/+unzI35+6PiX7x8uZ3aNFOGAeaPoL0cvZgeLtBIYjRskTK0NMtYZ
+ mQu5apHBzeW4lhoUWEx/DwblkYNutiNFKhwNEaKoDjaFmTkGQNgTrJSul8tVXHYXD70AkU5Cg9dY
+ koUmllYYdfS70SAHq+EeWtdLqdNa1Bxpsw3HpC1iPCqyq8D1cNZPlx83qRfeS/Rv5wjnBbg25FkX
+ p3mxY78fV+QRMVKkbiQnwyq9KHhkRvrCw52T7GkckHipER5MSshcQyMlQg8sJTFiFrj+3/oPH7xf
+ esEM+sdQJSAFbxsmhkeXcrYlLDlDIiZhurOGJsgzKuIbhYRG2D1eCY0rZKQDj4QVqRkm0AL7FV5m
+ xBNXUHSCRQpSkfPb/p9wjpiIC08tSeZpAkXst4VgRsH/2d/0fwHkQe6BkwYAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['502']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3ZpSyjOue8vDHTcjSplIYB/credits?sort=created_at%2Cdesc&limit=10&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA+1VW2/aMBR+769AltanQW6kpUjVNAIIqq1bSzutnabITU7AXW6zHVRU8d9nmzgJ
+ RWxVt75NSBH2uZ/z+TuPB60WCiiEhDPUb30Tx1brUX2FgHHMC3mPWBEEACGE6K0WhsACSnJOslRq
+ LLIEaC2NSfpDWmpfMkzBuFIS2t61c5vPVvefCugth5Or4H6Wx9ObQeVA6IsAnKRYBxi875rzcXZO
+ l/er8df5x+lowZY30V3TJKOh8p8WcawTlXUA5zEkkPJSVtawroop8hBzCH0sNZBtWm7bdNuWeWWe
+ 9B2nb7mdnuscW73bukLRtT+YuK51ctRtmHCKU4YDWZGfFsld2YvLiXfWnnon7Ysvn6d1gAiTuKDg
+ izhM9bhZlegmpZAGK5nv9WxYm+EkK1ShlmuaVYHbzvwgC+GpxwQ4FneNicFDsMDpHHwSyjBOs9U5
+ ppwEJMcpr8Q7bV1QiKSlUULM8C5dPJrfBjDo0ekoTYLRbPXBSu1G+nkOmDJftEjCT03NxwqE8ICT
+ PIZOkCW1/ia1vX5VSuWc/+N6G9d23+52TNPuus5zcS1M7M6x44rfM3DdvRi3e96kPbiwLv8dru2j
+ v8X1S7HbDaMoxoOf3nAxSfCwNzjrno/rV4HwC7G7x+8Gu+L7XT5jtPU+UYyZ4ipD0yoz9pGqfn3v
+ WEb5ac1bb2xPkvhhTBLCTy3zMIsiQZWnZjkrlMKDZswNkaD6QZdk/gpRVTqSv0r2Qpu0xI2+yCks
+ SaY2U82JiGccx+LKLnONCH3FFomJKFpB25tOL9MOLAVxKdqqyO+xZMEOCddGKS9z1RJRGFCG498Y
+ 1ipPbLe2HDLqIzOqyPXlWg9Zh9a7ExnqX8NInXf0m+u8AcIqlJbvGD7Z6wYFlhU0gEbEhsqOeaOu
+ /d1tKslJHax/AdXLEjDqCAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['702']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3WDQO04zVftSbz7HFxFPLL/debits?sort=created_at%2Cdesc&limit=10&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA91WW2/qOBB+P7+iQtrzsNqkzsUhqVStSqAHAiUl3FpWK5Qm5hByreNQDlX/+zoX
+ rlu2VQtaqTwg25Nvxp75vrGfv52dlXxEzNLF2TMd05lnxoTOSudWEpPQRzg+V/vCsNrRgbgcTEj3
+ YVmuXy+ub1utcxs9OCT+Mw4xubQwMgmyxyb5jVdtFFvfPcd3yCUHvoeTSYzIJSj9kYcI0CINESSe
+ V6xMMZqcOGi2GxqDA0XMfFd0ZbUQYTR3wiTe3RoJienRJamATRx8ugTR/LykcUqeE7jpRoqi5Ilm
+ VyXZS9Xznvlllehi3XbiKCEoQxXj+HwFKhb2MX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rm1H
+ MzQFuKenuczSV7AE4Pu7OV9mZVGgv7e7eWugMH11wHQUbXg8mnOffrd/tJvPAKxUoxas1/vtgeQu
+ tKHf7RyJ5q/7zmlO///+9vIPyuOeKMQUAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['1109']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA6VUbW/aMBD+3l+BLLWfBkmg2QAJTeOlKtNeSzutTFPkOge4S5zIdhAI8d9nmzgx
+ oG7S9iWK7+65u+e5s3cXjQYiHGIqBeo3fqhjo7EzX+UQEstC25EoCAGIIUavrDMGQTjNJc2Yjlhl
+ KfDam1D2SyNtLl2mENIEqejRQ2eez7bPnwvorse39+R5lifTx2GVQMWrApIybAsM3137y5vsE18/
+ b2++Lz9OJyuxflw8uZCMxyY/K5LENqp5gJQJpMBk6Ss57CsyRR5jCXGEdQRq+0HY9MNm4N/7vX6n
+ 0w/CVjfsvAm685qhUu0vkDAMeq+vHYjkmAlMNKOIFelTqcXd7eh9czrqNb9++zKtCywwTQoOkaoj
+ jMYuK6Um58DIVvf7MBvXMJxmhSEahL5fETxOFpEshtOMKUisbM7EYENWmC0horEu03GlzjGXlNAc
+ M1m5z2RdcVhopFeumDe6C/FkOScw7PLphKVkMtt+CFjbaT/PAXMRKYn0+pmpRdgsIWxwmifQIlla
+ xx9aezGvaWmvvj+1FOiII0qwMPO27b1NaErloB1e6bjLcEgyJjFl4jIcDxwxrrLFQu3UwC/bQAw2
+ drUOiqNT5v+c2rSkmmyHZeZDbWUph4tyDmuamXtabwiSmcSJMgUlbEH5/5JVApobg44vt30/WrBW
+ szKTqua9KwffovHeK/1lQ9bjPguePQivQlrT3optgUe3Gnn10QHXxjO4fSuQZ/4ckDmfxZ88Rx4H
+ kRWcgAN0Qs7gakiqCE7+oE8dciKRQ+1ldd0gPamL/W9MODQx3QUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['610']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "CRHCJ-IC9-QVPI", "description":
+ "homer", "created_at": "2015-05-10T09:33:15.551964Z", "updated_at": "2015-05-10T09:33:15.853718Z",
+ "failure_reason_code": null, "failure_reason": null, "destination_href": "/resources/BA40gFoNrvjyFXgMIEhsvYfb",
+ "currency": "USD", "amount": 1500, "meta": {"participant_id": "3"}, "customer_href":
+ "/customers/CU3ZpSyjOue8vDHTcjSplIYB", "appears_on_statement_as": "example.com",
+ "settlement": null, "order": null, "id": "CR5aEgZceB8rIEnmcESyL1n2"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/credits/CR5aEgZceB8rIEnmcESyL1n2
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T227iMBR871dEeV5IAk3V8FYoVbPaa2lXLatV5NoHMJs4kS9oEcq/r+3mYkDt
+ SxT7zJyZOTk5XHiejzkQKoU/8X7ro+cd7FMXhERSmXtfKIwBCBD/U1skIDCnlaQlM4hNWQDvqzll
+ fw2z7WVklJAWpNGzp/GyWuy33xVc727vH/F2UeXpy7RroPFaQFKGWoHpzWW4viu/8d12f/e8/prO
+ N2L3snp1KSUntj9Ted4aNTlAyhwKYLKpNRnqLoyqCJJAMmQQ/iiM4kEYD6LwMUwm4/FkFA6T6Coa
+ Jcs+oZ7aR5QoHsZxlFxdOhTJERMIm0QZU8VrM4uH+9nnQTpLBj9//Uh7gRWiueKQaR1hZ+ym0tPk
+ HBjeG79Pi9uehopS2aBRHIZdwONmGS4JnHYsQCJ953yxCnFJMa0QkxklRmnsn41uw2FlSkGzRsHs
+ IUbz9RLD9Jqnc1bg+WL/JWIjx2JVAeIi02MwK2a/TIbsosE/VFQ5DHFZ9Pg37Xf7Wku1fv4xcf3j
+ 1Wu3ewg7rWI1OqeHxvKQkjpo6m8T61jtRvmBfRNBx7HnujHZ4Y9WzQ/6o8PsL8/oXLvgAuUf+Owh
+ J1YdrfdTuqATvvt/Bu3Bsd1enZk++VEDDqJUHIPDdSC1WaH6ov4P6DzT5nsEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['503']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA91VXW/aMBR976+okNqHaYATYgiVqql8dDRF0AItXacpMo5Z3SVOajuMteK/z3EC
+ CUxok8Ze9hLZvj7349x7nLej4+NSQCQqnR2/qbXa+UhItStVPTKjUnzwaUDluQlPk2snsIVDJhFl
+ 4gR2zskSPyH2lbjUOw3nc0HkOSi9T/0wskz8sNj3s5MnTuaH8KwzUo5MmDlOQ6sTkB1EnCxoGIvt
+ +DKUyE9w2a055X9Zqqp0lTgr+ZR9S6JlHKbUVXAsZBgQroteb0T1bce8WlOWnXtURLEkKVXpOgdl
+ xl2MCGOOUwgn6SbHpPtdCEbcc59C39OBkkUhtbVtFxRyL6tHr3KE3u7eVg2PmZcQsx6nTfHUW1XX
+ 5qwfWflkQZjci8msG+ZTkIrwWY9d2gDVESGR1ANQEjHGhHjEy2hWRo8IzGkkaciSG8+IEZlbt5up
+ RVHsZPuuNu3cDoH1ej+X49lro3e5vLzp9zcOkuibdrTbtU9G/cqYhoPRg+9ge3E3sHrLdvH2Vid6
+ fVjrOZheDK4HdNaGwy63WvbVWlc6nXUXcnHp43xwEoPmIxtQbY4jD0niuUjr2wQGLANYNsAENM9q
+ tTPDrEADNmuNx5wKzMlvIMC26/VmASI5YgLhhFuXxcEsHZepMQRl2xyXTWt0nfufI+rHnLgqjNC9
+ KFakWOecMPwjSfdu3MlhKAhjllRhwEY9nR5V37YzF4deIogtj1tPnSal8IRpVop9iRCXFNMIMale
+ uNT8C6s7r1p12oH1PvNu8JAAqzdiTnfhPJsf7wvZRxFBXLiKoGRKSaDm3UV6VlsX/XdkiYLIJxUc
+ BjkmDb/Xt85KP0X/hwSs6aMzGfdG4OH77XjCO/SbsPlDsTf/RAKgXoGgbjXNP5cAgJVmo2k3ipA9
+ Eqjdtst96JQde2gdUAIAZL+9A0nAOIAErMfJ88I07uXo5aLb7b/Yw1ZkXR1GAnt8pxJQ3y9Hq58u
+ Wdrz1wgAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['748']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL53HJciANKNibC5OEr4B8I0",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "W1O0-82S-24RK", "description": "janet", "created_at": "2015-05-10T09:33:12.088669Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:33:12.515937Z",
+ "order": null, "currency": "USD", "amount": 1576, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD56LndPcOe04HRnJEvJj2GV", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD56LndPcOe04HRnJEvJj2GV
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T227iMBB971egPFYLuUAg8NZCu5Qi6EIpe9EqMvagups4kWMjWpR/XzvBJLDq
+ vkQZz5y5nDlzuGo0LAIbKjJr0PilrEbjUHzVeyaQkPrdyiTGAASI9cU4CWSY01TQhOmIN8RAVN6I
+ sj8aaXKpbFhmIomB6+jhqr0efZs7nY+XrVhuPnrj+/3903R6SqCrJ5JjKKKH7R9u98FdJ7PF92iC
+ g91q1hnvh/VojDgJX5OIaMB46rfHE0xvZo8zuhn68zveuQ0enDog4aTohckoMkNpLmiWSqHLasdx
+ 2Pw0tUwJEkBCJHQdz3H9puM3XefZ6Q/a7YHntvp+4PfcnxUVmMP/IK7XcoKg2+3XIIIjliGsuQ2Z
+ jDclaWt37jQDb9n0OovHKv8W0UhyCFWZrNhFfSLFOufA8Ltud7UcVTAUJ5LpKVy/1z3Nd54sxAkx
+ VJxCYhBIwWqbTREXFNMUMRHSYgGe9Q9zrxy22mWXarPXI787ZeQJz8HpjBdscrebvHlfX2odpikg
+ noWKBK1EiEHlR4Ueb2+m17BHcRpBCydxhSnLf5q76CpX3996HOtcpcc7aNWFahsjsw9l4yd3fqxq
+ YEZQll38VYDCvIyudKYYKTVXIY4Pl5jqImwOpVFhSvsSAjtFWkGZ4d2MQUluH73las0cak+SkU8x
+ xn0OOjs/W99hjTBzmrlWRX6V/wVXkhRDdQQAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['541']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL4WZJTSHR0XwQSTrDiks8rX",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "W3QC-L5J-J8O4", "description": "janet", "created_at": "2015-05-10T09:33:05.979872Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:33:06.506492Z",
+ "order": null, "currency": "USD", "amount": 1000, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD4ZTjv21VtRqAEELq8OBp4I", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD4ZTjv21VtRqAEELq8OBp4I
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T227aQBB9z1cgP1YFr40phrcEEhFkhXILlKqylt1F2cS37IXSIP97d20WG6r0
+ xfLszJnLmTPHm0bDwmRLBbf6jZ/KajSOxVe9cwGF1O8WlwgRggm2vhonJhwxmgmaJjriFSZEVN6I
+ Jm8aaXKpbEhykcaE6ejBsr0aTifA+3jeifn2ozt6ODx8D4JzAl09lQyRInrQ/uF8e3RW6dNsHY2R
+ v18+eaPDoB6NIMPhSxphDRgF3mozXsxHM7D+PZ0v2JC+cZ+t64CU4aKXREaRGUpzQXkmhS6rHadh
+ 8/PUMsNQEBxCoeu4wOk0QafpgAXo9dvtvuu2POB2gLepqECM/A8COq1et+d33RpEMJhwiDS3YSLj
+ bUnaqj0dNIPOuDn2J16VfwdpJBkJVRle7KI+kWKdMZKgP7rd5XxYwWCcykRP4QAAzvNdJgtRig0V
+ 55CYCKhgtc1mkAmKaAYTEdJiAa71D3MvjOy0yy7VZq+G3mbxunedZzF7v72/D979yV3mPdY6zDIC
+ GQ8VCVqJJCYqPyz0eHcbfCEHGGcRaaE0rjBl+U9zF13l6vtLj2NdqvR0B626UG1jcPtYNn5256eq
+ BmYEZdnFXwUozOvoSmeKkVJzFeL0cI2pLsJmpDQqTGlfQ8hekVZQZng3Y1Cc2ydvuVozh9qTTPCn
+ GOO+BF2cn63vsEaYOc1cqyK/yf8ClwIHDnUEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['542']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestPayin.yml b/tests/py/fixtures/TestPayin.yml
new file mode 100644
index 0000000000..039d97ad88
--- /dev/null
+++ b/tests/py/fixtures/TestPayin.yml
@@ -0,0 +1,525 @@
+interactions:
+- request:
+ body: '{"amount": 1061, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:33:25.701780Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:33:25.452196Z\",\n \"transaction_number\"\
+ : \"HL14P-920-1IX2\",\n \"expires_at\": \"2015-05-17T09:33:25.621941Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 1061,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL5lNlufICs6d2WvVu56AkY8\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL5lNlufICs6d2WvVu56AkY8\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HL14P-920-1IX2", "description":
+ "janet", "amount": 1061, "created_at": "2015-05-10T09:33:25.452196Z", "card_href":
+ "/cards/CC3Y16I1WoNRXlJc8vUN4HxC", "updated_at": "2015-05-10T09:33:25.701780Z",
+ "expires_at": "2015-05-17T09:33:25.621941Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "2"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL5lNlufICs6d2WvVu56AkY8"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL5lNlufICs6d2WvVu56AkY8
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmtJlCXZ8q1wD3YRGEXbPItCYEgaYUJTAkUaKQz9e0haDypJ
+ 2wsh7O7Mzs6uThdBADCSpHysOGnAKvhlIkFwcq/JNQopbeOg0RhTSigBn/okoQ2WrFasErbiCQmq
+ xixn4tkiey7DVklCpQkJzXnP0gmwBOv1/A7mW3hT7b7f8q94ebzapZuX9cBpagl9YKqj6HS0gyBd
+ E6QoKZGtAEkMs1mczWD8My5W8/kqWYYwL2CR3o8qsaT/hGRhmiWwyD2Ikkg0CNuxS6EPD24ksLmE
+ 6bdZkcQzuL1Nxgb0pWaSNm81LXpNWZgb/hR6DfaIcS1paaQ1zlrfL4C1lFTgP7bp1Y8vYyd0qLSw
+ k8M4h4MnB6qQiXlbsDulFo2RwJRzb6XG4BpJxTCrkVAlI85H8M7oR0n3NhWNtxNtLjO+43q/XTc5
+ SW6O1zrLPz/fLUeB07lKXBErYzLcsWLmxN6aNSxwES6WSZ4UnllnjX9t7qS35v1tHQHTo/ROP6RH
+ KpS7dH+o0zhgyEgbdVVnd314f9ogcl9N5CNdqO2M8FGWfWg5xdjURxD3A/xXZ1f1Xmf//4DoXDLR
+ 6UKtXXd70b4C2w/bUxwEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['473']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/card_holds?meta.state=new&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA92c2Y7iShKG7+cpSlycqzGdmzPTSEcj9n1fDIxGLbANGMxmlio46neftKkqzDQ+
+ uBt3DdVSq9SyHUTYfIT/jIzMv/7x9BTRBrb+dbK09E0k9vRvceTp6S/3rzi32Q62O+d4ZLPTNMPQ
+ DT3yz7eTurHRbHO1NZcL54rhcng+Z5mLmWP39knis5a2btji0GJnWW+f8ereMU8mmbZXYK4WH6v4
+ xTxa+XV1niK9988U1+rG0Ny+fsRrFN/ew9mt9MHW0L8OnCsiCEBZArIEQQsoMcRishLFBBOF9M9R
+ arZxwwRwDBj3mGztwWIz0Jy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Tj
+ mZ0t0/P45udruVAsEXOyLSQieQbD9mQisq2s8Ivyr59I6AAqgURaqqhpT9/pdZHgYPsWEyBYNJyF
+ uLDs45sU2LqpF/KHRTon68PaSLPgc23umTwMY0jm4+OErfj7H2ctXeRij4iINdi4+2d4tnj4l2XO
+ ze2fSP7DuTTq7iDxp9g+4o/laLQxnBOvvzaxp8TLzxtf2Vzilmfw5tiNUISN5NPywMgpNHEEvB5Y
+ 2cbeXLp7mZzHTJHtcjuwxCHMXi8bmfYP3z9wynPuJhSRy4X4nq1Vom+7n0S+uP/bfPnrvIfG6eS3
+ t5vxnHCX4Lv7r3i33PCamvq3L69Xvd6Cx9z577vxpUvnlK9H1+b0qRdxuoeuWRl7Y3E7zternKf1
+ j2//Ba0pvsV8RgAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['2862']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HLUC3-FIS-YH1N", "description":
+ "bob", "amount": 1061, "created_at": "2015-05-10T09:27:59.083078Z", "card_href":
+ "/cards/CC7cv91HPAgW3xizlIqOmD4Y", "updated_at": "2015-05-10T09:27:59.343494Z",
+ "expires_at": "2015-05-17T09:27:59.258494Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "6"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL7dNhyLeN4peRqiqM4z0Os5"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL7dNhyLeN4peRqiqM4z0Os5
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTUW+bMBB+769Afl6CCRAgb1OqKZWydFpXTd00Ice+LtaIIcZEbSP++2wHgmlX
+ 7cVCd/fd9913x+nK8xAlkuW7smA1Wng/dcTzTvbVuVoR1Zg4qhtKARgw9KFPMqip5JXipTAV23I7
+ 5Aou/hhc30n3KiUDqUOiKYq+R0dv4MtlQo9ZsPry8ff38Im/FDeH2/119HDpqWsZbLnqWnQq2ouc
+ pmJEAcuJqUAzHMQTHE8C/A1nizBczLJpiudpnPwYVFIJ70JmySLOpjgNcZI6ECWJqAk1Q+ei2W/t
+ SGi1vl+Gk083d5OHVbAZCOCp4hLq15oSo+lMMIvTKIscgkfCi0ZCrqXV1ljXL0QbKUHQZ0N6f3c9
+ MJF92QgzeYDnwcWTPSiiY84WzEbBoCkRFIrCWag2uCJSccorIlTOmSmbozdG7yQ8mpQ/XI6/Wids
+ s3tewyaq4OuBHz5HL/i2jgeB47lyWjIjYzTcseT6wF6b5SwwDpI4cM06a3yX3Epv9fvLOILGR+kc
+ /hSOIJS9c3eo0zDglLPW76rO7rrw/rSRb79q30XaUNsZ4aJM9wvlGGNS/4LYH+C/Oruqtzr7/wf5
+ 55KRThtqzbrbq/YvLsDLERoEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['476']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "failed", "transaction_number": "HL95E-0SF-F0IZ", "description":
+ "bob", "created_at": "2015-05-10T09:27:53.441492Z", "card_href": "/cards/CC767u1QpBiOKfelTsMWJNQN",
+ "updated_at": "2015-05-10T09:27:53.675084Z", "expires_at": null, "failure_reason":
+ "R758: Account Frozen.", "currency": "USD", "amount": 1061, "meta": {"state":
+ "failed", "participant_id": "6"}, "debit": null, "failure_reason_code": "card-declined",
+ "voided_at": null, "order": null, "id": "HL77rQR79w5n6E9NFv9jmfYs"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL77rQR79w5n6E9NFv9jmfYs
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTXY+bMBB8v1+B/FzAhBAKb+31omt7TZW7q6q2qpBjb3RuiUG2ST8i/nttAwF6
+ PfXFQrs7u7Ozw+nC8xAlkhUPVckUyr0vJuJ5J/eanNJENzaO9oSXwNCzIcNAUclrzSth07tqN+ZK
+ Lr5b0NDGNKokA2lCoinLoUc/28IvL9NV2kTb+iV//3YP5b169/HNZrs59zS1DHZc9y16Fu2ZTlMz
+ ooEVxFagBY4SHyd+hO9xlsdxHuMgznCSLT6PLKmEJyGLNE/iYLmMljOIlkQoQu3ShWgOO7cSur7J
+ kisf3639NX49GQA/ay5BdZymizsxGwmFYaA6/W7T5HnuvaC0aoT21rL6DSKYcG2kBEF/2XEf7l6N
+ CXKwABOO8Co6q3EATeb620OCRf91R6NrTaTmlNdE6IIzW7NCj/R9kLC3qXB0S3h9k6Zye5tmPxKx
+ uso262P27bD/pEZ28z0LWjHHwfbwGVDjk6mljhVnwwlncnWsnhznyLbm/WoFQHP3TewdwBGEdm6e
+ rnEaVwo4a8O+qhNzCh88jEL3pcIp0oXafvUpynY/j5xjbOpfEOf0//Lsqx7zHH4UFHYlM54u1NoD
+ txftH8gQj5gABAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['468']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "debit_href": "/debits/WD4KUwjO07IzOQk28kkQkRSZ",
+ "transaction_number": "HLOQ3-WA6-8SV3", "description": "janet", "created_at":
+ "2015-05-10T09:32:51.908450Z", "card_href": "/cards/CC3Y16I1WoNRXlJc8vUN4HxC",
+ "updated_at": "2015-05-10T09:32:53.013639Z", "expires_at": "2015-05-17T09:32:52.083323Z",
+ "failure_reason": null, "currency": "USD", "amount": 2091, "meta": {"state":
+ "captured", "participant_id": "2"}, "failure_reason_code": null, "voided_at":
+ null, "order": null, "id": "HL4K4eY5ViEZ8lMjvcr9TqFO"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4K4eY5ViEZ8lMjvcr9TqFO
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTXW+bMBR9769APDdgMLSQtyrdlK5dozRNs2aakGu7qgMxzJi0W8R/n+0QPtZV
+ e7HQvffcc+65l/2JZdkYCZK85Bkp7bH1XUUsa29elSslkpWO22WFMaWEEvv0mCS0xIIVkuVcV2wQ
+ p7LLZoynGnnspbrlglChQrzKsmOXRoBuMJnAR+/sylvlt3ffsi842i1vg+nbpO2pagl9YlIXry6D
+ 6+XrZgbOr37P5qkfpek8vVus7UZd3cqsCoIkJQkyOB944QiEIw/cg3gM4RgCJ4K+78frTjsW9GOI
+ Pw49JwZREIIeRArES4S1GQmvtk9mUHt6M5vD0eribBQtHmBHQN8KJmj5t6Zzo0kR+A6IIPRhj+AZ
+ sawSNFHSSmN430UbV0JQjn9p0uXismNC27zienIfxF7ryZZKpGK93ehNU43GqJCKp9uzcr1AQjLM
+ CsRlwoix8b3PL4I+65TbHZQ7vQmuA/oYPrBP6yj7utlhEd///Dzr9A3HSnBOtIrBbLucqbs7eDVI
+ HKR8yGEuoVbvDz23PTzI3tk7dEe5NFfe177v5nAYqd2m6uBhH348a9s1X6XbR5pQ3czbR+nuLeUQ
+ o1P/gpjj/6/Opuq9zvbfcQ8lA50mVOut1if1H9SdiZ0YBAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['492']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "debit_href": null, "transaction_number": "HLRU8-HIQ-9BYI",
+ "description": "bob", "amount": 1061, "created_at": "2015-05-10T09:32:43.805278Z",
+ "card_href": "/cards/CC4zGbP0z6qAKgki7aSRoNff", "updated_at": "2015-05-10T09:32:44.065106Z",
+ "expires_at": "2015-05-17T09:32:43.986313Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "6"},
+ "failure_reason_code": null, "voided_at": null, "order": null, "id": "HL4AXdJwy5Ggi4eLUpFutrrT"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4AXdJwy5Ggi4eLUpFutrrT
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmNLsp72LU2QOK1RNA8DbYpCoMh1QkSmVIpKmxj695C0ZFFJ
+ g14IYXdnZ3Z2tTtyHESwoNlDWdAaLZyfKuI4O/OqXC2xbHQc1Q0hABQoOu6TFGoiWCVZyXVFXuZD
+ rmD8UeP6TqpXKSgIFeJNUfQ9OnoNPz0NXy7yb95L/Pvky/0jS/DNdfl1szn0VLUUcia7Fp2K9iCn
+ qSiWQDOsK9DM86OJF01879abL4JgEfjTOEq90L8bVBIBH0NmizCYpl40S1ILIgXmNSZ66Iw329yM
+ hJar63U6WV5eTeafflwOBPC3YgLqt5oSo8kQzNM48AOLYINZ0QjIlLTaGGv7hUgjBHDyrEnXN2cD
+ E96WDdeT+17sHzzZgsQqZm1BbxQ0mmBOoCishSqDKywkI6zCXGaM6rIYvTP6QcBGp9zhctzlKjz5
+ Tj//eY4u7lkIq3V13kghbgeB47kyUlItYzTcU8nUgb01y1pgkMRxMrfM2mv8kNxIb9X7SzuCxkdp
+ Hf4UnoBLc+f2ULthwCmjrdtV7d214f1pI9d81a6NNKG2M8JG6e4HyjFGp/4FMT/Af3V2Ve919v8P
+ cvclI50m1Op1t0ftKyYoSr4aBAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['477']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "failed", "debit_href": null, "transaction_number": "HLHP8-3NT-IFXK",
+ "description": "bob", "created_at": "2015-05-10T09:32:39.074278Z", "card_href":
+ "/cards/CC4ud6PiKVTTseB0xNoKGBUc", "updated_at": "2015-05-10T09:32:39.317739Z",
+ "expires_at": null, "failure_reason": "R758: Account Frozen.", "currency": "USD",
+ "amount": 1061, "meta": {"state": "failed", "participant_id": "6"}, "failure_reason_code":
+ "card-declined", "voided_at": null, "order": null, "id": "HL4vDmiYy7BelkfSzdqCWJrO"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL4vDmiYy7BelkfSzdqCWJrO
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VT207cMBB95ysiPzf3vZG37iLYdhFFsLSlFYq89qywyNqp46yAVf69tpNsEijq
+ ixXNzJk5c+bkcOI4iGBJ00eR0QIlzm8dcZyDfXWuUFiVJo62mGVA0ac2Q6EgkuWKCW7SG7Hpchnj
+ TwbUttGNhKQgdYiXWdb2aGYb+GIxKunkmq2+r9cFzIPnK7G6mN+RY09dS2HDVNOiYVEd6ZQ5xQpo
+ ik0FioJw7AZjNwzWwWkSx0kceWE0i6azXx1LIuFjSJTEp14wHQ0hSmJeYGKWTnm529iV0PJyeT1z
+ 46u1++X856obAM85k1DUnPqLWzFLCalmUNT63UzHs8T5TIgouXLOpXgF7vW4llICJy9m3N3tWZfA
+ OwPQ4TCYhEc1dqDwUH9zSDDoN3fUuuZYKkZYjrlKGTU1E/RO30cJW5PyO7f4y8vR/mzH7l+mc8ie
+ trev9M/ix1f5rWM33DMlgloOpodLgWif9C21F4y2JxzIVbP6cJwlW+n3wQiAhu7r2duDPXBl3dxf
+ 49Ct5DFa+U1VLWYf3noY+far8PtIG6qa1fso0/04cogxqX9BrNP/y7Opes+z/VGQX5cMeNpQZQ5c
+ nVR/AYHFfE8ABAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['468']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/card_holds?limit=25&meta.state=new&offset=25
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA91YXW/iOBR9n19R5WGeNhB/JkEarShQPlpKC2kLrFYoEEMCIQEnfLXqf98kQDFa
+ mDIqmm33BUW27z3HzuH65rx8u7iQeia3OrbvWoGUufgrGrm4eEl+o7kgNMNZPC4Fs16PMYtZ0h/b
+ SYsFPe5MQsf34hVD02PhbtZ1vFEcuc0VZfO5xXg05M1cd5tlQyBOkMvRIeX1bHU5CIr8uulZml3I
+ jd5SRkst1nXCTYYNjdc3PrOJZYbM6pjxCgkqgMgKliE2gJ7BIENwSkMaxkp7R7LH2TshBFOKgBAS
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313SAQ/l9HQJbmzy
+ kE22NaA4MuFs7vhr1+4XKCtbxqEfmm6UEMENRN/hv3wASuwdJc6MtG8ECnZjausHSunkKUi/7Gyl
+ 9eTrlpQwkXiAiScpulBiqGO9pjerNlsQwuPHt+B9yHjqKGISs866xzMZOhTF5sx7n+dmVXxa317/
+ AaQleYCQFQAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['1149']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HLYZX-XF4-4AGN", "description":
+ "janet", "amount": 2091, "created_at": "2015-05-04T22:02:55.875829Z", "card_href":
+ "/cards/CC2tI0me34eHweS5Oxewy0bH", "updated_at": "2015-05-04T22:02:56.199532Z",
+ "expires_at": "2015-05-11T22:02:56.101100Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "2"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL3ivBN6CkLXAKmqWsPl8gzm"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL3ivBN6CkLXAKmqWsPl8gzm
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VT226cMBB9z1cgP3fB3LILb+lW7VZdpZWSKptUFfLak8YNGGrM5rLi32uzsJgk
+ VV8sNDNnzpkzw/7EcRAlkmV3Zc5qlDo/dMRx9t2rc7UiqjFxVDeUAjBg6N2QZFBTySvFS2EqfhMB
+ aszmXNwb5NBLdyslA6lDosnzoUsvwDRYLgP1GRcQRrB6gIv46yM8POHt6thT1zLYctW36HW0R0FN
+ xYgClhFTgQLsxzMcz3x8iZM0DNMwcucJDqL4ZlRJJbwBwdFlEKQ4SOPYXczjRZBYECWJqAk1Y2ei
+ KbbdSGi1vr7ZzDYfo1l09ul8JIDHikuoX2ryB4JT18e+j7FFcEt43kjItLS6s9b2C9FGShD0yZB+
+ v/gwMpGibISZPMCJf/SkAEV0zNqC2SkYNCWCQp5bK9UGV0QqTnlFhMo463xEr4y+k3BrUt54O95q
+ HfLd+/PT5f16c/al+HNVf8sXv56LUeB0royWzMiYDLcruT6xl2ZZC4ziJJwvLLMOGv9J3klv9fvT
+ OIKmR2mdvgs7EKq7dHuo/Tigy1nr9VUHd234cNrI675qz0Z2obY3wkaZ7kfKKcak3oJ0P8B/dfZV
+ r3UO/w/yDiUTnV2oNetuT9q/yX+IWRwEAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['482']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 4357, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:33:35.695920Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:33:35.415025Z\",\n \"transaction_number\"\
+ : \"HLLW4-AYX-TNB5\",\n \"expires_at\": \"2015-05-17T09:33:35.606296Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 4357,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL5x04kqrCrJVlYlpAEoJOBG\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL5x04kqrCrJVlYlpAEoJOBG\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"status": "succeeded", "transaction_number": "HLLW4-AYX-TNB5", "description":
+ "janet", "amount": 4357, "created_at": "2015-05-10T09:33:35.415025Z", "card_href":
+ "/cards/CC3Y16I1WoNRXlJc8vUN4HxC", "updated_at": "2015-05-10T09:33:35.695920Z",
+ "expires_at": "2015-05-17T09:33:35.606296Z", "failure_reason": null, "currency":
+ "USD", "is_void": true, "meta": {"state": "cancelled", "participant_id": "2"},
+ "debit": null, "failure_reason_code": null, "voided_at": null, "order": null,
+ "id": "HL5x04kqrCrJVlYlpAEoJOBG"}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/card_holds/HL5x04kqrCrJVlYlpAEoJOBG
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA4VTy27bMBC85ysEnmO9H7ZviRPENQwXaJMmTlEIDMkgbGhKpSjDhaF/L0nrQSVp
+ eyGE3Z3Z2dnV8cxxAIIC5y8FwxWYO99VxHGO5lW5SkJZ6zioaoQIwQSD8y6JSYUELSUtuK74CTmR
+ Q5ZR/qqRHZdiKwQmQoV4zVjH0grQBItFtA3ST8F9sfnywFZour/bxMvDoudUtZg8UdlStDqaXlBd
+ YigJzqGuAKEfJBM/mQT+rT+bR9E8mrp+OpuG4eOgEgnyT0jixkHih4kFkQLyCiI9ds7r3ZMZCSzX
+ 6/t4crF9mNxuLpOhATmUVJDqraas05S4qZ+Gs9Rq8AwpqwXJlbTKWGv7BVAtBOHot2569/Vq6AR3
+ Rc315HGUZL0nOyKhillb0DslGo0gR4Qxa6XK4BIKSREtIZc5xcZH8M7oF0GedcobbsdbrpODH7/+
+ Egux+sa2rLy4LlafL28GgeO5clRgLWM03L6g6sTemtUvMHOzbJYGsWXWSeNfmxvpjXp/aEfA+Cit
+ 03fJnnBpLt0e6jgM6FLceG3VyV0b3p028MxX5dlIE2paI2yUZu9bjjE69RHE/AD/1dlWvdfZ/T/A
+ O5WMdJpQo9fdnDV/ACdA10kcBAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['477']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:33:40.262299Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:33:39.994341Z\",\n \"transaction_number\"\
+ : \"HL87G-MI2-CR4Z\",\n \"expires_at\": \"2015-05-17T09:33:40.194229Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL5C9ksRhRUulAvmcgaY3YBO\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL5C9ksRhRUulAvmcgaY3YBO\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/card_holds?meta.state=new&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA92cWY/iSBKA3+dXtHiYpzWdd6aRRitOc+PihtWqZYwBV5mjuKqoUf/3TRsozC4e
+ PF1ulmqphEq2wxFpPsKREZH5529fvsRMYzn8Npk7w1Us8eVf8siXL396n/Lcam2sN+7x2GpjmpY1
+ tIaxfxxPDq2VubQXa3s+c694NGbW+nTWsWdPruTxXvJu8+XQWspDs43jHO9yMMC9QTqNe5AVYGde
+ rXedoim2rSrJv6bf7ymvHVoDe324xcGO7+8GbRZDY20NvxnuFTEEIFUAVSBoAjWBcYKAOGIIqWr/
+ ZKW5tP5KBKtxVSWYQJ/IemnMVobpDvvbbDMdeEOK5cuCa0qlgJR0nfiutl4X9tJa/bdN/GQTVIk0
+ yicyMmxns7S+SdNW3qP1P6+YuVkurZm5c5W2GpnTUIzpfDNzR46ACt+fydRaG/KY71twv1PLlZ5Z
+ L/5HuzCWa9u0F8Zs/c0eek8w9j+PeLK0Ru6prydqvubLNK0+reqTemvjJLdTc2z0cC9VO5l2PqJv
+ 5nzoGnA2rO3clnDtH9PZib0pgTo8Cw8I/N+wnU0K01KprI+tAklvp6+Z3vNb6YPYArUJcQKIBARx
+ IZgg9Cq2fhGqEg5xCGxRv67gXFPptDLo9I0FYMt8NkGMCPvU2BLaHVqt5qL8NMpse6hhl6ooo0eL
+ bYCOe8AWomKj355Wi+NXoCJTNxcFtf9Rb3tgkCUAjROuSgzDYuuJQFVlQITAVu/nlCQtKFqhe/ql
+ xf4SW08BVpHgfnf++bwtrLUfK4PkODnesK5dAeNsdTd6ixbbAB2/OrY0QWgcycgBgrDYShESVxlX
+ QZggod9ASrafUsr9VDOkt/VsghhDxiP0tpio6m2DBLgyHp9z9OXxrTlPZSeUPZRA6xSBxKIIEgJ0
+ 3AO2RN2SAXY6y8luyhlxaoXSppmPIEhAbmxLYRwzLigKhe1RBAgh3WEIb1sUmq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BMu6WphmhGaPKdV8UtF6vdO6t6Aamedt9woYBVREie3tva3xMsqSRd8o
+ ddcvUNblHUOf+RYTR+FsL6v41aH1JmSyFkVZ2BABeyKyK4uCMNBWGFAamYKSb2gkTGQrofUUCC6x
+ /dx5BJ5e5Wp8YMxKOz4am4XxQHWQb0eCKKgN0HEP2MLs6GFenbykRx1Dn8pVM9MW8nUZ/6CvpU2Z
+ EZBLyKAapwTRq1lb6Wt9IohyxMMsatB0oDQreaXdKF2PbNHJJllrIJGGCLf3tejZtjL57UpolSnX
+ SoPVuOmMfIvto8A2QMceW/n5b3exZ+xsN4iYY6y8nTJ8mzn807Gn9voPRH93L417e0X8ITeK+H0+
+ Gq0s98TB5cjdI15/XPjCNhLXNIOjYs9Cd5sLul+/GtubJo+Aw4HF0trac2/fktNWErH1fG048hBG
+ h8tG9vJvjx+4W2J4203Ezjc48W2jEj/ucxL76v23+vrnabeM/cnvx8H4Tnhbm3h7rfg31/CL2sPv
+ Xw9XHYbgE3f/fRc+V+meCtToyezvemand+iSlLW1ZtftPFzlPq3fvv8H/cuu9WhGAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['2729']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/card_holds?limit=25&meta.state=new&offset=25
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA91Y227iSBB9n6+I/DBPa+K+2m1ptAqXcJkQEjDJwGqFHNzEJmCTtrkkUf592wZi
+ o4WF2aBsZl+Q1dVVdbp8KFefly8nJ0rfFk7PDUZOqJgnf8iVk5OX5FfawsiOpvG6Ek77fc4d7ii/
+ rY0OD/vCm0Re4Mc7hrbPo9Q68vyH2HMdS0YLhMOFXPKno9E6ygpAHKBQAKXBdXDpzguDW/tqrDM4
+ bsMGeIsp9zr8zotWIVY4Xt8ATSeOHXGnZ8c7FKgBompYhcQCuomgSVgOYZ1qpJui7Au+x0UDBtZB
+ xi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q9a3m6VLRLK4eGSvBIM
+ JKtoy4TZlYngMy9YqnY/AVlbI46CyB7JgAiuUgw88dMF0GLpKJFllE0hMCM35tZ6oHKaPIWnL6mq
+ tDS+rkFlDIkEmGiSWREq6+o5r6erXasjZNzjxzfnzZSxaWfGxGcZdQNnsrTNi8+4vx/naldcrS+v
+ fwHdXaICkBUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['1150']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [],\n \"meta\": {\n \"\
+ last\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\",\n \
+ \ \"next\": null,\n \"href\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ \n },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['360']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"meta\": {\n \"last\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"next\": null,\n \"href\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/debits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ \n },\n \"links\": {},\n \"debits\": []\n}"}
+ headers:
+ content-length: ['356']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+version: 1
diff --git a/tests/py/fixtures/TestRoutes.yml b/tests/py/fixtures/TestRoutes.yml
index bdf94c353d..a60bb0980c 100644
--- a/tests/py/fixtures/TestRoutes.yml
+++ b/tests/py/fixtures/TestRoutes.yml
@@ -10,14 +10,14 @@ interactions:
: \"321174851\",\n \"bank_name\": \"SAN MATEO CREDIT UNION\",\n \
\ \"account_type\": \"checking\",\n \"name\": \"Alice G. Krebs\",\n \
\ \"links\": {\n \"customer\": null,\n \"bank_account_verification\"\
- : null\n },\n \"can_credit\": true,\n \"created_at\": \"2015-05-09T11:27:28.996649Z\"\
+ : null\n },\n \"can_credit\": true,\n \"created_at\": \"2015-05-10T10:04:15.837713Z\"\
,\n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\"\
- ,\n \"updated_at\": \"2015-05-09T11:27:28.996651Z\",\n \"href\"\
- : \"/bank_accounts/BA3zTiYyqLuXS7YWAi9IaC7H\",\n \"meta\": {},\n \
+ ,\n \"updated_at\": \"2015-05-10T10:04:15.837715Z\",\n \"href\"\
+ : \"/bank_accounts/BA7KEMxn0k0FxMuaUdmiOkJW\",\n \"meta\": {},\n \
\ \"account_number\": \"xxxxxx0001\",\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\": \"BA3zTiYyqLuXS7YWAi9IaC7H\"\
+ \ },\n \"can_debit\": false,\n \"id\": \"BA7KEMxn0k0FxMuaUdmiOkJW\"\
\n }\n ],\n \"links\": {\n \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\
,\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\"\
,\n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\
@@ -36,161 +36,281 @@ interactions:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/customers/CU6gH6X342hhVXOrrH7SVFzL
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41Uy27bMBC85ysEnWvrYSFqfA1Q5FCgh7ZB0KIQaJKNiEiky0dR19C/d2lLMk2q
- YS467M4MubMjHm+SJMVGadFTqdJt8h0KSXI8faHFUU+hyk3XvZtqHeMvFjqBAKaEkdgHQp1QpRlH
- mgk+qowiw6xm9gRpShqkAZGWeVGtinxV1l/yu23+fltW67yu6yr/ls4ULOmrlM36riyKYuNQiNg1
- veC69YdhxB57//X2+eH2aVOVbfv49EnKh/rz44e/Hy9n7lvB/QHTVtKflp7NDmZxJTAat4jrRmmk
- jTUy5WLVI43by3E91cizmP6y0DwNHLSzHSiS/miIEEmVtynM9MEDwp5gpbRcLhdh2V7c9wJE9gIa
- XYMFWWhiYbiWB7cbDLIzCu6hVLOUOqV40yGlK39M2iPWBUV2FbgBzvph82MndcJ7if56jnCagWun
- PKvsOC927A/jihwiRpI0rejIaZVOFBwyI0Pm4M5JdjR2iL80CJ9MishcQwMlQncsJjFiFrju3/of
- H5xfesEM+kdTySEFbxsmhAeXsrZFLDlDAiZham80jZBnVMDXEnGFsH28IhpXyEAHHgnDYzNMoAX2
- b3iZURe5gqQTLFAQkpzf9lfCOWICLjy1JJqnCRSw3xaCGQX/53Az/APeQA0dkwYAAA==
+ H4sIAAAAAAAAA41Uwa7TMBC8v6+IcqYvSds81N4QQhzg9AQIFaFoaxvFamIX2wGqKv/Ouk1S1w74
+ XXLYnRl7Zyc+PyRJSjptZMuUTrfJNywkyfnyxZaAlmFVdE3zaqw1XBwsdAQhTMtOER+Idcq04QIM
+ l2JQGUT6Sa07UjCMVmAQkS7zolzk5aLIP+Wb7Wq5zV8/lkVZPq136UQhikUoq03+tN44FCr3VSuF
+ qf1hOLXHvv28+rL7Wr778CzL/PD88c3qvd79huJ25rGWwh8wrRX7YenZ5GAWV0KjSQ3CVNqA6ayR
+ qZCLFgypb8e1zIBnMftpoXkaOGhnOzFQ/mhAqWLa2xTh5uQBcU+4UracLxdh2V7c9wJFjhIbTUUk
+ nWkS2QmjTm43GGTfabyH1tVc6rQWVQParP0xWQu8CYr8LnA9nvXd5sdO6oT3Fv3HKcJphq5d8qyz
+ 87TYod8PK3KIBBStatnQyyqdKDhkTvvMwV2T7GjsQRwqIBeTIjL30ECJsj2PSQyYGa77t/7DB+eX
+ njGD/TFMCUzBy4YJ4cGlrG0RS66QgEm5PnaGRcgTKuAbBUIDsY9XROMOGejgI9GJ2AwjaIb9C19m
+ aCJXUGyEBQpS0evb/p9wDpiAi08tjeZpBAXsl4VgQuH/2T/0fwGJ0ttSkwYAAA==
headers:
content-encoding: [gzip]
- content-length: ['505']
+ content-length: ['502']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/bank_accounts/BA3zTiYyqLuXS7YWAi9IaC7H
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA7KEMxn0k0FxMuaUdmiOkJW
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41T246bMBB936+weG6DDU6y5I1uV23UNit1U7XbqkLGDF0rXFJjqk0j/r3GgXIJ
- kYIQEnPGM2fmHB9vELJClu0CxnleZqqwVuiHDiJ0NF8Ny7xUIvsVZGUagtS45TqELOntnFiv2iRT
- I2Mp1Pijv0Gf/O39A7r7fP92vUVfNuuHTZfc9ArUYW/y+TPwnW7RZbSV/ERwQO9m6IOEsOjwRGS7
- mmpLUtPkZaHy1BDMyiRpmY3mC/6AFLHgTIk8a1KbGar/w3CWBVxCJJTOULKEDpHAFEQBqxHLwWT+
- GuvX2xKycpYr53bmeYsF9b53VGM9GMi9FJk5M49xyLyYuTEhjgMxcUOPUkYxC2OgFJagYSALz6Ww
- oA7GHnF5SDnFDuNAaFe43EdXcJmTHpdnCXFNwh5Ibr/x3b9b8XT4/bH89rh8+uoLb83ulu+7Xiko
- Vq+721GrYeeKF/NgjHu2YFEkoRgrJdThXCUtKTjTYXIeLpSe/Ty8zzWQBDyPJkBjcHnoo5PSRxAa
- 5WOWFJ30Iqo3d3FVplKlvz9rs1hDgw6v2KwApRJI4XTdxmocB+LMRFTZ/QMnL44q9o+MLW7Zfc8X
- 9qj+xaNVI/+oldlOregVvJvcScq9+2rZ7c8Zuxa4QOZ0S69k0yZP0rm4hiuLD3ZsaQtUN9U/cRed
- OF4FAAA=
+ H4sIAAAAAAAAA41TXY+bMBB8v1+BeO4FG8xxyVvaptX1lERqc6p0pwoZs/QswETGVIki/vsZAuUj
+ RAoPlvDsrmd3Zk93hmEGVMQ+ZSwrhMrNhfGmLw3jVJ8allmhuPjriyINQGrcdGyMPfLoYvNTG1TX
+ EDSFCv+13Bjr5W61Nb78XH192hkvm6ftpgtu3vLVcV/Hs3dgsX6ii2grLRPOwPg+M54lBHmHJ1zE
+ FdWWpKbJilxlaU1QFEnSMhv15/8DySPOqOKZaEKbHsr/zTAqfCYh5EpHKFlAh0igCkKfVohpI+ze
+ I/ceox1GC0QW2J09Op6HndeOaqQbA7mXXNQ5boQCOo+oE2Fs2xBhJ5gTQgmiQQSEgAcaBvwwdwg8
+ EBuhOXZYQBhBNmWASVe42Ie3cHF7XN4lRBUJayC59XnpPa/WB4Fi9O2wLuhLmPJt/ON391YKilbj
+ 7mbUati54lB/CKGeLWgYSsjHSnF1vFRJSwr29DW+vM6V7v3yep9pIPFZFk6AtcHlsY9OSh9CUCsf
+ 0STvpOdhNbmro6orlfr8U5nFHBp0uGKzHJRKIIXzuo3VOA3EmfGwtPoJZy+OKvZTxhY3rb7nc2tU
+ /2pq2cg/eqqeTqXoDbyb2EnKvX01rfbngl0LXCFz3tIb2bTBk3SujuHG4oMZm9oC5V35AUIK2P5e
+ BQAA
headers:
content-encoding: [gzip]
- content-length: ['518']
+ content-length: ['516']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: '{"customer": null, "bank_name": "SAN MATEO CREDIT UNION", "account_type":
- "checking", "name": "Alice G. Krebs", "links": {"customer": "/customers/CU6gH6X342hhVXOrrH7SVFzL"},
- "can_credit": true, "created_at": "2015-05-09T11:27:28.996649Z", "address":
+ "checking", "name": "Alice G. Krebs", "links": {"customer": "/customers/CU3VZX5EKRo50kRLA3GsZwa1"},
+ "can_credit": true, "created_at": "2015-05-10T10:04:15.837713Z", "address":
{"city": null, "line2": null, "line1": null, "state": null, "postal_code": null,
- "country_code": null}, "updated_at": "2015-05-09T11:27:28.996651Z", "meta":
+ "country_code": null}, "updated_at": "2015-05-10T10:04:15.837715Z", "meta":
{}, "bank_account_verification": null, "fingerprint": "5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14",
- "routing_number": "321174851", "can_debit": false, "id": "BA3zTiYyqLuXS7YWAi9IaC7H",
+ "routing_number": "321174851", "can_debit": false, "id": "BA7KEMxn0k0FxMuaUdmiOkJW",
"account_number": "xxxxxx0001"}'
headers: {}
method: PUT
- uri: https://api.balancedpayments.com:443/bank_accounts/BA3zTiYyqLuXS7YWAi9IaC7H
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA7KEMxn0k0FxMuaUdmiOkJW
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41T0Y6aQBR9368gPLcyAyOIb9Zuq+lWk+pu3TYNGYbLOhHBDkNT1/DvHVAWRGwk
- hIQ5d86ce86dw52m6T6NNx5lLMlimepD7ada1LRD+VWwSDLJ4xcvzrY+CIXrlomxQwZ9rL+rikqO
- mG6hwBejmfZ1tLyfa+Nv9x+nS+1xNp3P6uLTWZ7c78p6tga2UUfUFRXTKOIMtM897YsAP63xiMeb
- QmolUslkWSqT7VHg+NF+mdgri5jr9dNqLsTEWTx9en14I2h17f0BwUPOqORJrGjjLIpOneVvLTIa
- e0xAwKWqkCKDGhFAJQQeLRDdRLj/HqnXXWI8NJ2hOei5rm0T90fdQKjaBbETPC739EPkUzekVoix
- aUKILd8lhBJE/RAIAQcUDNh2LQI2MRFyscV8wggyKQNMauJsF/xPi4V6A8fu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549']
+ content-length: ['546']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/customers/CU6gH6X342hhVXOrrH7SVFzL/bank_accounts?limit=10&offset=0
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1/bank_accounts?limit=10&offset=0
response:
body:
string: !!binary |
- H4sIAAAAAAAAA61UXW+bMBR9769APOxpCzY4ECpVU9Z1a7Uukda0azdNyJhLY5VAZkzVtMp/n+1A
- gTSZ+tAoQuJ+nnvO5T4dWJYd0/wuoowVVS5L+9D6rYyW9WSeyi2KSvL8NsqrRQxC+W3PxTggoyG2
- 3zdBpkZOF6D9F+OJ9X08O5laxz9OPp/NrMvJ2XTSBte9Irlamng2B3anWrQRTaVxxhlYXwfWNwFx
- 2foznt9pqA1IBZNVpSwWG4DHl/7tqX/tEXc+v7qeCnEaXFx9eTx/LrA1dXQPgqecUcmLXJXNqyyr
- J1s/j8hoHjEBCZcqQooKWo8AKiGJqPbYLsLDD0j9wxnGh25w6I4GYej7JPzVDpCqcUEsBc9NzjBF
- MQ1T6qUYuy6k2ItDQihBNE6BEAhAuQH7oUfAJy5CIfZYTBhBLmWASVu4Wib/w+KhwSjwh0Ovg2Uu
- INUgnN4iOJ/G3uOM36z+nlfXF8HNzzEPz+hxcNr2WoCkWoSWo0bZdlcezA8h1FkWmiQCym39uFzV
- 1DfEKpWU0ODuNuOX5lKq2V+al4VyZBErkh1Os/Zi1fXulD6B2Cif0qxspeeJZm4vVabSWj3/6Jns
- hjBjtjNaGvGdZnVLZ9/i9qX5mPEFl0cYvSvStAR5hGpN7BwedEm9vxsS7Wdx366J6a66YFT32KBQ
- lsawFHDPi0or3IEiC6WCzqvTUi7ejgBFqVlDvTGd09A/bgNFlsxgAZtDt73xT70PYMCTtdNNqGH3
- g7pv22fEdrp3pXS26u9NXTdy9lttjo8m9RXAm+CdoLu3srN9W/iaqD1wzAfxSjR17E4we2l4Ze0e
- x7beg4P1P2cTce3YBgAA
+ H4sIAAAAAAAAA61UTW/aQBC951dYPvTU4F1/hIAUVTSlUUoBiUJbUVXWej1uVvgDrdcpCPHfu7vY
+ sU2g4hAOSMzMzrx57zG7K8MwA5KufEJpVqQiN/vGLxk0jJ3+lmmeFYKlf/y0SALgMm86NsZd99bD
+ 5vuqSPdISQIq/20wMcaD+XBq3M+Gnx7nxmLyOJ3UxeUsX2zXup4+AV3JEXVF1WkQMwrGQ8cYcQjy
+ Oh+zdKWgViAlTFrkIksOAO8XzvflT284mmUeWs2+DpyHfPmX1HiPtvafgbOIUSJYlsq2aRHH5Wb7
+ lxUpSX3KIWRCVgheQJ3hQASEPlEZ00bYu0beNUZzjPrI7WOvc+t0u9hZ1gtEcl3ga85S/caLUEB6
+ EXEijG0bIuwEPdclLiJBBK4LXZBpwDc9x4Ub10aohx0auNRFNqGA3bpxsQ7/i6XbkV1sx25geeIQ
+ KRBWywjWx0F3NBxvUrRCnzfjgizChE1XX37UsxIQRIlQc1QpW3tloz8IoYZZSBhyyI/1Y2JbUl8R
+ K1WSQoN9Ooxfh3Mhd38dXmcyEfs0C08kte35tpk9KX0IgVY+InFeS89CxdxZqnSnvfz+rXYyK8J0
+ 2IxJrsW3Kuvm1jnjtqX5ELOEiTuM3mVRlIO4Q6UmZgob1VL590Ci+SLu2w3R0+UUjMoZBxQyUgXW
+ HJ5ZViiFG1BEJlVQ78pnEeNvR4CkVNtQOaZxGtrHrSPJEjEkcDh0x47ftf4AHRbureaDEna7qPnr
+ +IyYVvOu5NZR/7NP95Wc7VGH46NIvQB4VXwSdPNWNtx3hK+qOgNH/yEuRFPWngRzloYLe7c4NpUP
+ rvb/AASA9LrYBgAA
headers:
content-encoding: [gzip]
- content-length: ['642']
+ content-length: ['639']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/customers/CU6gH6X342hhVXOrrH7SVFzL/bank_accounts?limit=10&offset=0
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1/bank_accounts?limit=10&offset=0
response:
body:
string: !!binary |
- H4sIAAAAAAAAA61UXW+bMBR9769APOxpCzY4ECpVU9Z1a7Uukda0azdNyJhLY5VAZkzVtMp/n+1A
- gTSZ+tAoQuJ+nnvO5T4dWJYd0/wuoowVVS5L+9D6rYyW9WSeyi2KSvL8NsqrRQxC+W3PxTggoyG2
- 3zdBpkZOF6D9F+OJ9X08O5laxz9OPp/NrMvJ2XTSBte9Irlamng2B3anWrQRTaVxxhlYXwfWNwFx
- 2foznt9pqA1IBZNVpSwWG4DHl/7tqX/tEXc+v7qeCnEaXFx9eTx/LrA1dXQPgqecUcmLXJXNqyyr
- J1s/j8hoHjEBCZcqQooKWo8AKiGJqPbYLsLDD0j9wxnGh25w6I4GYej7JPzVDpCqcUEsBc9NzjBF
- MQ1T6qUYuy6k2ItDQihBNE6BEAhAuQH7oUfAJy5CIfZYTBhBLmWASVu4Wib/w+KhwSjwh0Ovg2Uu
- INUgnN4iOJ/G3uOM36z+nlfXF8HNzzEPz+hxcNr2WoCkWoSWo0bZdlcezA8h1FkWmiQCym39uFzV
- 1DfEKpWU0ODuNuOX5lKq2V+al4VyZBErkh1Os/Zi1fXulD6B2Cif0qxspeeJZm4vVabSWj3/6Jns
- hjBjtjNaGvGdZnVLZ9/i9qX5mPEFl0cYvSvStAR5hGpN7BwedEm9vxsS7Wdx366J6a66YFT32KBQ
- lsawFHDPi0or3IEiC6WCzqvTUi7ejgBFqVlDvTGd09A/bgNFlsxgAZtDt73xT70PYMCTtdNNqGH3
- g7pv22fEdrp3pXS26u9NXTdy9lttjo8m9RXAm+CdoLu3srN9W/iaqD1wzAfxSjR17E4we2l4Ze0e
- x7beg4P1P2cTce3YBgAA
+ H4sIAAAAAAAAA61UTW/aQBC951dYPvTU4F1/hIAUVTSlUUoBiUJbUVXWej1uVvgDrdcpCPHfu7vY
+ sU2g4hAOSMzMzrx57zG7K8MwA5KufEJpVqQiN/vGLxk0jJ3+lmmeFYKlf/y0SALgMm86NsZd99bD
+ 5vuqSPdISQIq/20wMcaD+XBq3M+Gnx7nxmLyOJ3UxeUsX2zXup4+AV3JEXVF1WkQMwrGQ8cYcQjy
+ Oh+zdKWgViAlTFrkIksOAO8XzvflT284mmUeWs2+DpyHfPmX1HiPtvafgbOIUSJYlsq2aRHH5Wb7
+ lxUpSX3KIWRCVgheQJ3hQASEPlEZ00bYu0beNUZzjPrI7WOvc+t0u9hZ1gtEcl3ga85S/caLUEB6
+ EXEijG0bIuwEPdclLiJBBK4LXZBpwDc9x4Ub10aohx0auNRFNqGA3bpxsQ7/i6XbkV1sx25geeIQ
+ KRBWywjWx0F3NBxvUrRCnzfjgizChE1XX37UsxIQRIlQc1QpW3tloz8IoYZZSBhyyI/1Y2JbUl8R
+ K1WSQoN9Ooxfh3Mhd38dXmcyEfs0C08kte35tpk9KX0IgVY+InFeS89CxdxZqnSnvfz+rXYyK8J0
+ 2IxJrsW3Kuvm1jnjtqX5ELOEiTuM3mVRlIO4Q6UmZgob1VL590Ci+SLu2w3R0+UUjMoZBxQyUgXW
+ HJ5ZViiFG1BEJlVQ78pnEeNvR4CkVNtQOaZxGtrHrSPJEjEkcDh0x47ftf4AHRbureaDEna7qPnr
+ +IyYVvOu5NZR/7NP95Wc7VGH46NIvQB4VXwSdPNWNtx3hK+qOgNH/yEuRFPWngRzloYLe7c4NpUP
+ rvb/AASA9LrYBgAA
headers:
content-encoding: [gzip]
- content-length: ['642']
+ content-length: ['639']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/bank_accounts/BA3zTiYyqLuXS7YWAi9IaC7H
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA7KEMxn0k0FxMuaUdmiOkJW
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41T0Y6aQBR9368gPLcyAyOIb9Zuq+lWk+pu3TYNGYbLOhHBDkNT1/DvHVAWRGwk
-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EBshIbYYQFhBNmUASYtcbEJ/6vFG2gW27E7Wt4kRJUI62QQrPdj
+ bzqZbQWK0cftrKCrMOXz+NO39q4UFK1CaD1qkm1nZVt/CKHOsNAwlJD38+Nqd7S+MVanpIMG+/I2
+ Pt/Ole79fHuTaSDxWRZeAOuxl7suejH6EII6+YgmeRs9DyvnrlpVM5V6/Vn1VHXTGdvThzfIQakE
+ Ujg8wn4a+5NwBjwsre6Bg2U9xu6R/oibVnfmc6vHf/VoeYy/d1XtTpXoDbqPtRcld1+x1fycqWuA
+ K2IOr/RGNU3xRTlXbbiR/MRjU49AeVf+BaqdBad0BQAA
headers:
content-encoding: [gzip]
- content-length: ['549']
+ content-length: ['546']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
body: null
headers: {}
method: DELETE
- uri: https://api.balancedpayments.com:443/bank_accounts/BA3zTiYyqLuXS7YWAi9IaC7H
+ uri: https://api.balancedpayments.com:443/bank_accounts/BA7KEMxn0k0FxMuaUdmiOkJW
response:
body: {string: !!python/unicode ''}
headers:
content-length: ['0']
content-type: [application/json]
status: {code: 204, message: NO CONTENT}
+- request:
+ body: !!python/unicode '39722261truefake-valid-nonce'
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods
+ response:
+ body:
+ string: !!binary |
+ H4sIAJorT1UAA7RWTXPiOBC98yso7o4/MISkjFNz2ao97F52soe9TMlSAwq25JFkEvLrt+VvwBim
+ snuzXj+3Wq2n7o5ePrJ0egCluRTrmf/gzaYgqGRcbNez1++/OavZSzyJqALGjUOJYvFkOo0SnqZI
+ cQhjCrS2GKKcxfMwcjmr17TQRmagHGt4egyCYOlHbh+teBuutHEEyWAqeLqeGVXAzK2NKbluozLL
+ iTgOWLRRAKaJb4AAHwYEAzZCSSUlKTdD7hVsMWEDhlxqQ1IHMwjxU+h7j5Hbh5qwC2HUsYQckuY7
+ Egwe7pw1v8USBeaV0xHatUQqIMYmw0zNMYf1jOHS8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ip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"704b6167b2636ef53a16df2153d9959c"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers/39722261
+ response:
+ body:
+ string: !!binary |
+ H4sIAJwrT1UAA+xYyXLjOAy95ytcvitavMRxOUr1ZarmMHOZzhzm0kWJlM1YItUk5SVfP9BOWYvl
+ TvqU3EzgEQSBBwLy5vkUhZMDEZJy9jS1763phDCfY8q2T9OX738Yq+mze7fxE6l4RIR7N5lsKHZn
+ jw+O4yztjQmLVAY6f4eYMmD9+rg94uAV70/naIe3YmPq2hQdUCGVwVBEJoyGT1MlEjI1M1WI+jQ+
+ j2LEzi05iRANW9J4x1nbRoBOLdmReJKqjvMEQYpgA6mJOsfkaYphqWhEpq5j2QvDWhi29d16XDuL
+ 9Wz138asN2T7kxiP2794WM+XsL/ekJ+fxdwIKAmxrFzCVBk+ElgWRpEQ6DxNtU19LgGZR8MQsmkg
+ jAWRspQXeZyXGSxkZaKNRpJ1aY3tz2IB6M1leVh3RgutVIIQVfrdAyInRRhOgzYIC7mPQqr6jhJk
+ C/zvUcZcKhQaUBTEfZzb1sPG1EX6dRKmxDkTGyiMd8jpvfglcjYGyRLIAfWvQIcCPpbSJSWblC6s
+ vJPYmQ2zh5ZAV+bOLdtZrVIMq+Qpp430OPdfKhF4Vq11xI6HGGjaF4KUcelbRFHovrA940cGlmpZ
+ DctDyQODSpkg5hP35Z9vKbatqDa9P7jjy69GptRWwF5wUENW0hKPiUdVfel8WSsDlISl3x7nIUFs
+ 6qbBS6GZsgYnAhJjQM0kYeq/ZvRSU24hp5iKzB8j4kztXNvZmC1hB/pMkIDoOVYDnkkbaIIvfQ9Q
+ KEmxS/NkR1CodkAVUrutyUoYjdCWGIkI3Z1SsVybJpKSKHnvCURZ+jBt4YJHdL4H9pgxOkeEqR8R
+ UTuOf4R8y80DsPQ+Zttnwg5UcJYCniRi2OMneHMr+9WJQKe0HjzE9rVrDWkJzZ7VuWuvVsCNYlHq
+ wBXBQ43dpaACCBIj4NHfHHTF71InE0/6gsZpkJv9pa4gxfeEudvTmzOHHOarUpcw+jPJnikvIytc
+ mUL7Eu585q/mdoB9f+bPguVytlwEZGFbM5+siOdDqfdurWx/wKNzICzihsT7HrJUem2HADfyUurq
+ uC1QLc46GFKJdHM9wRuzEOgY/3CAgpEx2Cd5Q/kLyrgl1LeggzSIEFw0Md1vfoHXOlb7uGHApalm
+ X74A/5lbG8ToBosyAsQr8bPihkdR9vVifdBEfvYYp2+iVN7jfv7w9ua9OmK5eNUGTg2lW4kF98Gx
+ yxC6tmVZaV10a69YUDCMuN9i0BzSZPchdCvglv8zmh9xcwyrxzZdNmLkykBXxq6cdkOjV0He6+NX
+ Bhw3guWeDY5hGWRoFMsDP3IcK655bSbSZpFmXbZH6UIz8AJWueucYfT0dD/f5dnXZp0q8je01fae
+ 68219Oe2WUO7xZV5rED+xr5Rkqa/6xWIcYNBAR4apkrIzVNSGbZRI2p5ryvtvoCNHy4qJ24fgKtQ
+ c5z42Ytbe1XLGoXXU2Qf853yMUND6mZXg29Ki57eulFDkIE2xStJOj/gL7+GIGDBXu8NN3whDPeK
+ 4S4x1B9GdIZRPWGwGwz0gZEdYOzn+NiP8dGf4lebzg3/LK3Wc6f7S3E0tUsbl9SGQU0nWxf1FvKL
+ ep+VejNnbdnvpF5p4xeo93D8ot6npd5ybbX/T7+ReoWNX6Be8z/xL+p9JuoN/DX77lmyQb1qQWBZ
+ 08m9+x8AAP//AwAZGz29khsAAA==
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"8d66e291ca0516c112b960e7b9e275ad"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: DELETE
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods/any/gxz242
+ response:
+ body:
+ string: !!binary |
+ H4sIAJ8rT1UAA1IAAAAA//8DAEXPbOkBAAAA
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"70e729d98d404ce18f54137bc8097ddc"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers/39722261
+ response:
+ body:
+ string: !!binary |
+ H4sIAKIrT1UAA+yWy3aCMBCG9z4Fh33KTbxwEHd9ArvpLiWDRkPgJKHK2zeiiBawVpe6nP+fmYSZ
+ jwPhfJcy4xuEpBmfmc6bbRrA44xQvpyZH4t3NDHn0SCMC6myFEQ0MIyQksibjl3XHTmhpYO9pr14
+ hblCOl5Pl1uSrMlmV6YrshShde7usxMqpEIcp2BwymamEgWYVmUx3OfEWZpjXrZ0SDFlLTVfZbzd
+ I8G7lraFL0lVx3kCsAKCsDJUmcPMJDpUNAUzcm3HR7aPHHthTwPXD7zJZ2g1BVV9kZPb6v1x4Du6
+ vik4nF/NHCUUGJGnKxGqUIwFkcemWAhcHm+MCREgJVx6e6sxD9Fhi8mm3l+l1EtGFws+V+vM/v1V
+ du8OD8d077HypBIACh3v2pkCOwWc7Md0JYllMWZUdR8iYKlp77TyTCrMkH4BIJoOHXscWudS8wgF
+ V6KsRIRZvsJuz6P+zvP+zuOFnjaNryb2D/dmaCfB0G1BW/W4Gdy6xyW4uoN1AVsXer58ofes6Hlu
+ YDsPolf3uAO98faF3tOiNwrs9qf6n+gde9yBnjd8ofes6Om/vOHoQfTqHlfROwWgwwanaPADAAD/
+ /wMABsw9he0LAAA=
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"2b0646af2c90c8eb045ee0671ed982c5"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 200, message: OK}
- request:
body: '{"expiration_month": 12, "number": "4242424242424242", "expiration_year":
2020}'
@@ -202,18 +322,18 @@ interactions:
\ \"customer\": null\n },\n \"fingerprint\": \"1e2c425a579a1c7f27a037f0662b855035ceadbff18a0adbe785fb07e2afe1cc\"\
,\n \"cvv_result\": null,\n \"number\": \"xxxxxxxxxxxx4242\",\n\
\ \"avs_postal_match\": null,\n \"expiration_month\": 12,\n \
- \ \"meta\": {},\n \"id\": \"CC3FBS9UsQCrXGdjLRGKziko\",\n \"category\"\
+ \ \"meta\": {},\n \"id\": \"CCe8Q34169qOvKirnH4Kq0J\",\n \"category\"\
: \"other\",\n \"type\": \"credit\",\n \"cvv_match\": null,\n \
\ \"bank_name\": \"\",\n \"avs_street_match\": null,\n \"brand\"\
- : \"Visa\",\n \"updated_at\": \"2015-05-09T11:27:34.082755Z\",\n \
+ : \"Visa\",\n \"updated_at\": \"2015-05-10T10:04:30.557123Z\",\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\": true,\n\
\ \"name\": null,\n \"expiration_year\": 2020,\n \"cvv\": null,\n\
\ \"is_verified\": true,\n \"avs_result\": \"Postal code matches,\
\ but street address not verified.\",\n \"can_credit\": false,\n \
- \ \"href\": \"/cards/CC3FBS9UsQCrXGdjLRGKziko\",\n \"created_at\": \"\
- 2015-05-09T11:27:34.082754Z\"\n }\n ],\n \"links\": {\n \"cards.card_holds\"\
+ \ \"href\": \"/cards/CCe8Q34169qOvKirnH4Kq0J\",\n \"created_at\": \"\
+ 2015-05-10T10:04:30.557121Z\"\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}"}
@@ -221,29 +341,61 @@ interactions:
access-control-allow-headers: [Content-Type]
access-control-allow-methods: ['POST, OPTIONS']
access-control-allow-origin: ['*']
- content-length: ['1287']
+ content-length: ['1285']
content-type: [application/json]
status: {code: 201, message: CREATED}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/customers/CU6gH6X342hhVXOrrH7SVFzL
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41Uy27bMBC85ysEnWvrYSFqfA1Q5FCgh7ZB0KIQaJKNiEiky0dR19C/d2lLMk2q
- YS467M4MubMjHm+SJMVGadFTqdJt8h0KSXI8faHFUU+hyk3XvZtqHeMvFjqBAKaEkdgHQp1QpRlH
- mgk+qowiw6xm9gRpShqkAZGWeVGtinxV1l/yu23+fltW67yu6yr/ls4ULOmrlM36riyKYuNQiNg1
- veC69YdhxB57//X2+eH2aVOVbfv49EnKh/rz44e/Hy9n7lvB/QHTVtKflp7NDmZxJTAat4jrRmmk
- jTUy5WLVI43by3E91cizmP6y0DwNHLSzHSiS/miIEEmVtynM9MEDwp5gpbRcLhdh2V7c9wJE9gIa
- XYMFWWhiYbiWB7cbDLIzCu6hVLOUOqV40yGlK39M2iPWBUV2FbgBzvph82MndcJ7if56jnCagWun
- PKvsOC927A/jihwiRpI0rejIaZVOFBwyI0Pm4M5JdjR2iL80CJ9MishcQwMlQncsJjFiFrju3/of
- H5xfesEM+kdTySEFbxsmhAeXsrZFLDlDAiZham80jZBnVMDXEnGFsH28IhpXyEAHHgnDYzNMoAX2
- b3iZURe5gqQTLFAQkpzf9lfCOWICLjy1JJqnCRSw3xaCGQX/53Az/APeQA0dkwYAAA==
+ H4sIAAAAAAAAA41Uwa7TMBC8v6+IcqYvSds81N4QQhzg9AQIFaFoaxvFamIX2wGqKv/Ouk1S1w74
+ XXLYnRl7Zyc+PyRJSjptZMuUTrfJNywkyfnyxZaAlmFVdE3zaqw1XBwsdAQhTMtOER+Idcq04QIM
+ l2JQGUT6Sa07UjCMVmAQkS7zolzk5aLIP+Wb7Wq5zV8/lkVZPq136UQhikUoq03+tN44FCr3VSuF
+ qf1hOLXHvv28+rL7Wr778CzL/PD88c3qvd79huJ25rGWwh8wrRX7YenZ5GAWV0KjSQ3CVNqA6ayR
+ qZCLFgypb8e1zIBnMftpoXkaOGhnOzFQ/mhAqWLa2xTh5uQBcU+4UracLxdh2V7c9wJFjhIbTUUk
+ nWkS2QmjTm43GGTfabyH1tVc6rQWVQParP0xWQu8CYr8LnA9nvXd5sdO6oT3Fv3HKcJphq5d8qyz
+ 87TYod8PK3KIBBStatnQyyqdKDhkTvvMwV2T7GjsQRwqIBeTIjL30ECJsj2PSQyYGa77t/7DB+eX
+ njGD/TFMCUzBy4YJ4cGlrG0RS66QgEm5PnaGRcgTKuAbBUIDsY9XROMOGejgI9GJ2AwjaIb9C19m
+ aCJXUGyEBQpS0evb/p9wDpiAi08tjeZpBAXsl4VgQuH/2T/0fwGJ0ttSkwYAAA==
headers:
content-encoding: [gzip]
- content-length: ['505']
+ content-length: ['502']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"cards\": [],\n \"meta\": {\n \"last\"\
+ : \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\",\n \"\
+ next\": null,\n \"href\": \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\"\
+ ,\n \"limit\": 10,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\"\
+ \n },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['364']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"cards\": [],\n \"meta\": {\n \"last\"\
+ : \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\",\n \"\
+ next\": null,\n \"href\": \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\"\
+ ,\n \"limit\": 10,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/customers/CU3VZX5EKRo50kRLA3GsZwa1/cards?limit=10&offset=0\"\
+ \n },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['364']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
@@ -256,36 +408,60 @@ interactions:
\ \"Not Found\",\n \"category_code\": \"not-found\",\n \"description\"\
: \"
The requested URL was not found on the server.
If you entered\
\ the URL manually please check your spelling and try again.
Your request\
- \ id is OHM79c92514f63d11e4a95a06429171ffad.\",\n \"status_code\": 404,\n\
- \ \"category_type\": \"request\",\n \"request_id\": \"OHM79c92514f63d11e4a95a06429171ffad\"\
+ \ id is OHM08cf78a4f6fb11e4bafa06429171ffad.\",\n \"status_code\": 404,\n\
+ \ \"category_type\": \"request\",\n \"request_id\": \"OHM08cf78a4f6fb11e4bafa06429171ffad\"\
\n }\n ]\n}"}
headers:
content-length: ['430']
content-type: [application/json]
status: {code: 404, message: NOT FOUND}
+- request:
+ body: !!python/unicode '39722261truean-invalid-nonce'
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods
+ response:
+ body:
+ string: !!binary |
+ H4sIAKgrT1UAA5RTy27CMBC85ysi300KSC1Iwdz6BeWMjL0EQ2xHa/PI39chTggprdSbd2cfMzty
+ vr7pMr0AOmXNikwnbyQFI6xUpliRzdcnXZA1S3JeKQqIFimCq6xxwJI0ze8p1zz7IPV1BSvCEXlN
+ sghVvNZgPNXgD1a2ydcdHdahjzhkAi9gy/n0bZFn9/cQ5N6j2p09xHmu1jtbEhZ3b9vdW2ONgDzr
+ q59maHCOF8A25mTs1aSveid51pU9uGZPZGPYHSb7KX9YEa6DXLu/TyXOzlsNSJVk8+XHbDZ7n4Yj
+ DLJdpa188NINyAV71b6mgqNkHs9B/TDTcx41jpjQu3jGDVXmwksVE2NxsexX4Y1RotnDBAL3jRNt
+ mESHjUdbloAj31zjeI8l0S0UBx7GB/XHZXGV+6M83Wp9kAU2Jj3QpCXTnfnfPgeWLz7ANwAAAP//
+ AwBNOC1XPQMAAA==
+ headers:
+ cache-control: [no-cache]
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 422, message: Unprocessable Entity}
- request:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/cards/CC6j2lN0CEuf3wt77J2bQW7r
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41UXU/bMBR951dYeaat44Sk6VupEBOIbgzGpE1T5MY2NaR2ZTuFCvW/z3aSJgEm
- LQ+Wcj98zz33+L6dABAUWBEdzMBv+wPAmz+tueTi2Zlbg4ustJEbqqw1WPxI1ovbl5CYsnrS15ch
- 1Q/3JTJBk384bS9iXDxStVVcGJc4LVIGYxRFyRlm02kR0Sg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cP2
+ 3Wnww4s+ew9ifvM9PUejzd08nG2nLUagIk9CFiZaqKWm4FCwKtbEmJEkmKkuiXX/HQ4XkD8nHK4s
+ 6vz68urm02QOprPJ7UdwOpl/OQbz3qTX5TNTkhDV8FmQrAlYSMhtH/csg405X2NdNU6gVYfveoMT
+ d3Diud/ceBz4YzfujUIvjN3HVqqSMh3fFqcm2FJINkSmBZixNG2yl4ImhuR2l5XZM0DPD8AlZBzc
+ 2i7aM9IqUZaHd0dbqQgJbGNi1/fcNhqJnCtZJFWAyf9mSRDkCSYLPZkxUDInjZTLCXRG05JmQaBZ
+ R9/1G23qvXjVpsOyRLPCKCNmAp0EZg8OW+SUvYNKlEBPDJTtAVM9wAJwoYAVTGv2pvpKWGNAYZo1
+ 9S8loYaVvj0z/f/QsCT/0IMX+34cP5ZrstdU/jJsvTpY5VnrmazJUqT2wtVF7GwtPYb3tqrKX1Je
+ 41qnrl/fvaxfIWvDvhpzBcIsW+dKa/7dVAdvJ5Ed+t8QpU83tz/a/wF154OdrAUAAA==
headers:
content-encoding: [gzip]
- content-length: ['671']
+ content-length: ['676']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
@@ -296,22 +472,22 @@ interactions:
response:
body:
string: !!binary |
- H4sIAKLtTVUAA5SRQW6DMBBF9zkF8t41EBWVyJBdT5BuupsyA3GCDbJNA7cvplSpSruo5M387zfj
- P5bHUbfRO1mnOlOw5CFmEZmqQ2Wagr2cnvkTO5Y7WQ3Od5psuYsiqbBMszzfZ/leirkI2uxVZzCe
- z/Ulb25YX/A6TvqMjZXiuxtu18o6zw1oioxqC+btQEwsVgt/OVWnezDTRicNqt2o/bkz2x41jBvt
- Rm9O+V/mWQJPyMFHfuqpYDiXXmliZRonjzyeT35KkkOaHOLsVYo7sPBDj//j78Dn/GXnvFbUogtK
- SAXWq0r16y5TKX4oARQbMmRB5XkFFt36GrAWpjUqIFpyjjbeV6/w8x8AAAD//wMA5OomWiwCAAA=
+ H4sIAK0rT1UAA5SRzVKDMBSF930KJvvIT4u2nUB3PkHduLtyL5CWBCYJFt5egjh1RBcuzzn57l/E
+ aVBN8E7GylZnLH6IWEC6aFHqKmMv52e+Z6d8I4reulaRyTdBICTm6VOy3T3utiKchPemrKhBOz7p
+ y6G6YXnB6zCqGisjwu+pf11KYx3XoCjQssmYMz2xcI4a+CspWtWBHlc+KZDNyu3qVq9rlDCsvBu9
+ Wel+6WcIHCEHF7ixo4zhJJ1UxPIkilMepTyOztHhmO6PUfoqwjsw832H/+PvwGf/+ea8lNSg9Y7f
+ CoyTheyWWyYi/OF4MFyRfheUjhdg0C7TgDEwLqsCoiFraZV91fI//wEAAP//AwCvpSQMLAIAAA==
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"18e001fcefa80c8140bff63e5e33ff9c"']
+ etag: ['"c36dda552959ebd146294df5c1dc98e6"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
status: {code: 201, message: Created}
- request:
- body: !!python/unicode '26993693572346432'
headers: {}
method: POST
@@ -319,30 +495,30 @@ interactions:
response:
body:
string: !!binary |
- H4sIAKbtTVUAA7xVyW7jOBC95yuC3HtaouxMBCRpxItkCRbVlm0tvImU3FpI2fGi7eun6LjbCToY
- NDDAHAwDYrHqvVevio/fWsFv63R/yLfV0536l3J3m1Zsm+TVj6e79cr48nD37fnmkfE8rY5fjtsy
- rZ5vbm8f65if0ue0sxEJ7T4O9JNVbLv52M6S0NtSzd6lwlDkd0/wE0F+x2b2jlaL3M3tPCqmnVO8
- qKQgJe7tMkJG7q78LFotNBysB26w1nDB1EhEmjtZIHdiDclkVOLCap3JuosCpyPmdAjfNcdcK7hI
- so2JOxIYCgm8TRQudMjf4qXSyJ/rL1pnte3g1zrjgeYUjuqu2MDprb0zeWkco1Xhv8MCq0zzahr4
- XYh4+X1lIXdV9rgo+3C2bpyJheRZhLKMVt4mDhZ6XPAqQ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qdXusKg1hBL6pH/Fy2+2eFP+glXNMCvTPOVRQn5Qs7s6de5XQS8Es17
+ usT/lX/GzK5JlBN24NHrk2ADXEFegvcMjWvoe2Ut9CX0kQYz/fUd/7/PAKELCrOOiY2Mq8I+4PU4
+ nV20AOcF1HOQGnyfr4u6vYy1CuT9YNeAVZE9f+6FQXL/bu5OCMJNcrEfEtMaR4OrpeU+jwq7x4X/
+ cpoBGtw7kA/RuB0jfcqQxyX/vo9nVqmc5i5gONXmfZ9Q6NMYSS4u2M+xPtXySRsQhwXfpE1DBcm3
+ 7v393de3e/Lq7uvHG/QfAAAA//8DANpbYGt4BwAA
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"433581f12e9ddc36d0a94b5309b1d589"']
+ etag: ['"0686eec3183310f6788919db7438907b"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
@@ -351,51 +527,126 @@ interactions:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/cards/CC6j2lN0CEuf3wt77J2bQW7r
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods/any/jzc6hg
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41UXU/bMBR951dYeaat44Sk6VupEBOIbgzGpE1T5MY2NaR2ZTuFCvW/z3aSJgEm
- LQ+Wcj98zz33+L6dABAUWBEdzMBv+wPAmz+tueTi2Zlbg4ustJEbqqw1WPxI1ovbl5CYsnrS15ch
- 1Q/3JTJBk384bS9iXDxStVVcGJc4LVIGYxRFyRlm02kR0SgpGERpnNACJzEjBYsSQgpEQxZlNpwW
- GYsYI/AMoyQNjhcXu12uqK5Kd6+oyvLoEdVmVcN87X2h/bpsvNP5VmqDy3yDTbF22ITs/PR1yxU2
- XIp8I4Vx/hAeK2yowUNyFH20sZ4aKVil3U8b7rjjZp8b+eIj+g5MiG1C58g5zuUr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uSO
+ 2FkUnKDPOxVmPSl2nhn1t6mVtu9PGqN9TdOsiC/AM+YWmEWFsuQNtUcPTBDns1ZMORhODN1rYMrX
+ +OnhOOYJFiiyYSsgnVW09r5193HMnAPvJqVlUofHYoXLvLDtBN0Qt2zbgPbPDfjaiGdlVibeoNsm
+ rV49gN5Ia3QgLB3TojSv+OYd6vfd0B7ByyXT6+NIb9DR/mmb0TTP0yIegoBje2vUiUP3QJ+00DL0
+ xGeD+PA74K4rHbeyDSK6QTRmLdsOzvdmDZp+/8kX9aqId1HAOy1/dP3TUfZmw7VkJcHS2ZTns7QS
+ nE/5tFospot5BfM0mXLIoeR4JW8eHf2HB2EDujHEifUNAxzyA9ti690VuNi+v3HH/69fAAAA//8D
+ AHwBI/j1BgAA
headers:
+ cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
- content-length: ['671']
- content-type: [application/json]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"f065e7c0ac441e6fbff4ab9d4e374593"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
status: {code: 200, message: OK}
- request:
- body: !!python/unicode '2'
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers/86110204
+ response:
+ body:
+ string: !!binary |
+ H4sIALYrT1UAA6xVyXLbMAy95ys8ujNavNTJyMr00mMvTXroJUOJkMSYIlWSSux+fUlZmxc5yiQ3
+ 4eGBhIBHIHzYFWz2ClJRwTeOf+s5M+CJIJRnG+fp8QdaOw/RTZhUSosCZHQzm4WUROuV73uBtwhd
+ Y1jM+JIcc42M/XKXvZH0hWx3+yInmQzdodeyUyqVRhwXMOOUbRwtK3Dc2sXwmCcRRYn5/gyHAlN2
+ hpa54OdnpHh3hr1BrKi+cJ8ErIEgrGd6X8LGIcbUtAAnCjx/ibwl8r1H7+4+WN4vvD+h2wfU8VVJ
+ pscHJr4PONxf1xylFBhRXUqEapRgSVRzKJYS7x3rPfYfEIPFlDHTTYQJkaBUix/6WMRtBxusbTQ6
+ avIQ7bnjXWwIo71sL7vc0cartATQbd4jJNhp4MQW7SqNiQQzqseukpAZ/Y84S6E0Zsg8CojuFr73
+ LXSH0PB3Kq7lvoYRZmWOg9EfP2XOpzB5ZXpAk3eo1wr+EUkHZ5JuTvmksOsz3BFZGrnyaOH5wXpt
+ ObzDraaRvS76TRU2mXX2kJELRoxMx0pgFWdnEcUseuJbLt64OanHetqhlCJFVKkK8wSip1/fLffc
+ 0QV9vrjTn1/PtNLWRr0mwQGzQ1s+gZjq/qcPZu9MccXavGMhGGDuRLZ4llo7e3IlTWOQeTMVs/kP
+ Dj31tCGwK6ms80GF4DqP/CB0z8AL7D1gaaoXeEf0Gj1iAznNPcVMQRM1yCQHzHRupAJ92gOspdEC
+ Z4AqyaJc61Lduy5WCrS6jSWm3A6mzPzgG97fGvW4Jd4XwPVzAToX5JmJTLivRqW3Jc8egL9SKbgl
+ bBTmJBY7M3O787sbjZzse4gx3/apHaEttR6ri8hfr/3QbYzWZ1KRgg3U3QIdQUKJjY5+CuNrvluf
+ qmKVSFraIh/vl/4FabEFHr38S1Z5FroHq/VVnP6t6jEV12I1v0zN+pLRYp6sF35KkmSezNPVar5a
+ prD0vXkCa4gT89RHQ7uzv2DovAIvBFJkOyKWzj+IkCaNw1O6WJH6FQ937hFQj7WwGXFwcWWfzr+z
+ pfyBmXB9IV9fx9eW8YRVPGkRX13DV5bwxBU8dQFPXb+Tl++7q/dLdsOnX0DoDsTWGWDMXk7RzX8A
+ AAD//wMARKJlrRMMAAA=
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"fdcebf89d39963bf241be1f4c29ca04b"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 200, message: OK}
+- request:
+ body: !!python/unicode '861102042'
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/client_token
+ response:
+ body:
+ string: !!binary |
+ H4sIALgrT1UAA7xVXW+jOhB976+o+r53wTS9i9R21TSBgIKzIQlgv2FDCsSGNB98/fo7TrObVltd
+ rXSl+xBFwuMzZ86cGd9/b6W4rtPdPq/Khxv9L+3mOi15leTly8PNaml9+Xbz/fHqnos8LQ9fDtUm
+ LR+vrq/v61gc08e0cxGN3D4OzaNTVN302c2SyK+Y4W5TaWnquy/FkaKg4xN3y8p5PssdAyOnISHp
+ MfILjIINtsfIG807b5lIIr3BbJnlszAovEJ9H2beKJOz0cYgyBvQ5ZNBQpzjnjekf9HwMpC02Bhr
+ G3c0tDQa+msSzU2veGrxQmvg13rWvJktK302qlqc3xreiNx6o3GDl087b/TUeFarw3+HJda54dcs
+ DLoIic2P5QvyluMGsLRosmq8kYPUGUFZxkp/HYdzMy5EmSBfxtLfpRNxiG2/5OKMVw51Itst0c0d
+ jTamJ+mAh1sNR1bvIa4lZdLS3Nk7EtdM0i3Vg449O3eOzLRkMuxn+beaRMPttMQZk37OjJcjKd0s
+ Dgcal4GgCOqNkixdDAqGtDs8mvdTpAsucUVUTGe+zsLEoDZ9pfbhNg31itpJN0V4H4fBMbHMjNub
+ OinGNUHmkUqoJYIe2qJmb7wAp93TcFDSyMtn4pBAjwUr6ZZL88gUhuJ74ZfDecFsATH+kNsi4LKB
+ nrtVMvEb3lf1FFlNvBj0wG9DpHk7lW5HQnFMJq6gYQK5A4NEmyPwOcyKueZ15gE8VsS2BTFe/ane
+ ufkz51rp5eRNTiLc08jvg8jdgzfzeOJrfOLdTTuo2cACsP5Ny/ynlz+7r75PSyqY1Os/7M0Jj0lr
+ n0b+lhigZbnPk9+xz3XMD6BPxiYCZgj3f5pjvWjyxM5gDoLxCgUF4AsfcMCDgkKfQGOdfhLjFNu/
+ HdnWDB10bv1PHjT8St2PkL/mZx5TdObw7JqgV0MiAXuitUC3nNnBBnhqvAzE5aw56Uht0XO7zdIV
+ aBaulN8mXO2faAi8Tj5+8/tYKIxjAp5WGFwKBLtk8KHHI+XR4JaEesPs1cmHU2PYKE8lERZ8Y5WK
+ 98n7H7R6Uv0TqW0dgIuYqplemBqDXkMu5UfxX7z4Foc/mSdc0RDvmBFo0xLqhZrZ8697mxh0JYb/
+ fMn/q/6M2W2daCfuoKPfJeEKtIK6pOgYGhxg7rWlNGcwRwbs9N07/X/fAdKUFHYdkyuVV4dz4OsL
+ Or54Ae5L6GevPPi+3jlqtyrXIlTvg3sArpqa+fMs9Er7d3t3SBCuk0t8n9jOIO7nRlpu87hwO1wE
+ r6cdYMC7A/UQQ7gcmSOGfKH0DwI8dkrttHeBw6k37+eEwpxypLS4cD/n+tTLJ29AHhZ+UzE1lSRf
+ zx8e7r++vZNX918/vqD/AAAA//8DAGMTLUx4BwAA
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"d926c643776b14f873104507def7232c"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
+- request:
+ body: !!python/unicode '6'
headers: {}
method: POST
uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers
response:
body:
string: !!binary |
- H4sIAKrtTVUAA5SRTW6DMBCF9zkF8t4lJonyI0N2PUG66W7KDOAEG2SbBm5fTKlSlXZRyZt5z9+M
- 31iee11H72SdakzKxNOaRWTyBpUpU/ZyeeYHds5WMu+cbzTZbBVFUmG2P2w2u/1WyHgsgjZ6eQXG
- 87G+Hss7Fle89YOusLQy/u6G24WyznMDmiKj6pR52xGLJ6uGv5y80S2YYaGTBlUv1LZqzLJHAf1C
- u9ObU/6XeZbAE3LwkR9aShmOpVeaWJasxY6vx3O8CHFKxElsX2X8ACa+a/F//AP4nD/tnBeKanRB
- CanAepWrdt5lIuMfSgDjBRmyoPI8B4tufg1YC8McFRAtOUcL76tX+PkPAAAA//8DAMJ8bnEsAgAA
+ H4sIALsrT1UAA5SRzVKDMBSF930KJvsIOEOFTqA7n6Bu3F25F5qWBCYJFt5egjh1jC5cnnPy3b+I
+ 46S66J2Mlb0uWfqQsIh03aPUbcleTs88Z8dqJ+rRul6RqXZRJCRWT3me74usEPEivLdk9Rm044u+
+ FO0Nmwtep1mdsTUi/p7614001nENiiItu5I5MxKL16iDv5K6VwPoOfBJgewCdzj3OqzRwBR4N3qz
+ 0v3SzxA4Qg4ucvNAJcNFOqmIVY9JmvEk42lySopDlh/S4lXEd2DlxwH/x9+Bz/7rzXkjqUPrHb8V
+ GCdrOWy33Iv4h+PBOCD9Ligdr8Gg3aYBY2DeVgVEQ9ZSkH3V8j//AQAA//8DAKmOUJ4sAgAA
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"0befb0918dfb0d42253017ea05dfce7e"']
+ etag: ['"5d1465fb93c6a0b817e407796c235f5d"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
status: {code: 201, message: Created}
- request:
- body: !!python/unicode '78335741788869592'
headers: {}
method: POST
@@ -403,58 +654,183 @@ interactions:
response:
body:
string: !!binary |
- H4sIAKztTVUAA7xV227bOBB9z1cEee9WouJsBCQp4tiSLVh0Ldu68E0k5epCSo4vun39Dh23TtBg
- UWCBfRAIkcOZM2fODB++tVJc18lun1Xl443+l3ZznZSs4ln54/FmvbK+3N98e7p6YCJLysOXQ1Uk
- 5dPV9fVDHYtj8pR0DiKh08eBeZzmVTd7cVIeehU1nG0iLU3te1IcCfI7NnG2tFxk88xJcT/VcO7l
- sPbYng6wHDewIhJEBg4WXSS93F25XYRIgXOe4RWH/zXs+xkerRt3VXTuyNWIbYn5ystwP9Y2Nu5I
- YGkk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N4z65Qma9DM
+ X0u/TZjcP8EIeJ19/Ob3MZcYxxg8LTGY4Cj08fBDjw3pUW8Q+mpLrfXZhzNt1EpPxQHmrDBLyfvs
+ /Q9aPcv+8cQya+DCZ3Kml7pCodeQS/qR/xcvvsXhT+YJV8THe6p5yqyEeqFm+vLrXhGBrqHmvlzz
+ /6o/pdapiZUzd9DR7WJ/DVpBXYJ3FA1rmHtlJfQ5zJEGO33/Tv/fd4DQBYFdR8Va5lXhHPi6nIyv
+ XoD7AvrZSw++r3eBTjuZa+mf34cauCpy5i+z0Evt3+3dUYhwE1/j+9iaDqN+oSXlLotyu8O593re
+ ARq8O1BPqHGbId2gyOVSf8/D42mpnPcucDj35v2cEJhThqQWV+6XXJ96+ewNyEP9bzKmISLMNovH
+ x4evb+/kzcPXjy/oPwAAAP//AwAQUIcyeAcAAA==
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"b5d9272abddafe4ab1a2b12bdfe3b700"']
+ etag: ['"610410392113c5afe1c060e217041a56"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
status: {code: 201, message: Created}
- request:
- body: !!python/unicode '4'
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA41U21LbMBB95ys0fobEtzhx3kJamlIIFAq0dDoeRReiwZEyspzGZPLvlWQ7toFO
+ 64fMZHePdvfs2d0dAeAgKHHmjMFP/QeAnf3V5pTxZ2OuDSYyz5RYEamtzvQuePjw9coNX+6pul28
+ DGdn27Priwunwu+P64co409EriXjygBHaEjd0A+CaADpaIQCEkSIuv4wjAiCUUgxokGEMfKJR4NY
+ hxMU04BS7A6gHw2dw8Nos0kkyfLUvMvzND14eL5alGVuW5+nvwYNN1myFpmCabKCCi1NbVw0frJd
+ MwkVEzxZCa6M33MPGVZEwS45kjzpWEuN4DTPzJ863HDHVJEo8dtGtB0QY91ElvjGcSq2wH9LIcP2
+ 3Wnww4s+ew9ifvM9PUejzd08nG2nLUagIk9CFiZaqKWm4FCwKtbEmJEkmKkuiXX/HQ4XkD8nHK4s
+ 6vz68urm02QOprPJ7UdwOpl/OQbz3qTX5TNTkhDV8FmQrAlYSMhtH/csg405X2NdNU6gVYfveoMT
+ d3Diud/ceBz4YzfujUIvjN3HVqqSMh3fFqcm2FJINkSmBZixNG2yl4ImhuR2l5XZM0DPD8AlZBzc
+ 2i7aM9IqUZaHd0dbqQgJbGNi1/fcNhqJnCtZJFWAyf9mSRDkCSYLPZkxUDInjZTLCXRG05JmQaBZ
+ R9/1G23qvXjVpsOyRLPCKCNmAp0EZg8OW+SUvYNKlEBPDJTtAVM9wAJwoYAVTGv2pvpKWGNAYZo1
+ 9S8loYaVvj0z/f/QsCT/0IMX+34cP5ZrstdU/jJsvTpY5VnrmazJUqT2wtVF7GwtPYb3tqrKX1Je
+ 41qnrl/fvaxfIWvDvhpzBcIsW+dKa/7dVAdvJ5Ed+t8QpU83tz/a/wF154OdrAUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['676']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: !!python/unicode '2'
headers: {}
method: POST
uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers
response:
body:
string: !!binary |
- H4sIAK/tTVUAA5SRwVKDMBCG730KJvcIqbVTOoHefIJ68bayC6QlgUmChbeXIE4d0YMzuez/59vN
- v5GnQTfRO1mnWpMx8ZCwiEzRojJVxl7Oz/zATvlGFr3zrSabb6JIKswPu3T/KJK9jKciaJNX1GA8
- n+pLWt2wvOB1GHWNlZXxdzfcLpV1nhvQFBnVZMzbnlg8Ww385RSt7sCMK500qGaldnVr1j1KGFba
- jd6c8r/MswSekIOP/NhRxnAqvdLE8m0inngynfQsxHErjiJ9lfEdmPm+w//xd+Bz/rxzXipq0AUl
- pALrVaG6ZZc7Gf9QAhivyJAFlecFWHTLa8BaGJeogGjJOVp5X73Cz38AAAD//wMAqkJ7liwCAAA=
+ H4sIAMErT1UAA5SRTW6DMBCF9zkF8t7lJ0KCyJBdT5BuupsyAzjBBtmmgdsXU6pUpV3Uu3nP34zf
+ WJwn1QXvZKzsdcHip4gFpKsepW4K9nJ55hk7lwdRjdb1ikx5CAIhscyOSb6cowiXwmuLV7WgHV/q
+ a97csb7ibZpVi40R4XfX366lsY5rUBRo2RXMmZFYuFod/OVUvRpAzzudFMhupw5tr/c9aph22p3e
+ rHS/zDMEjpCDC9w8UMFwKZ1UxMokilMepTyOLlF+SrNTkr6K8AGs/Djg//gH8Dl/3TmvJXVoveJT
+ gXGyksO2y0SEPxQPhjvSZ0HpeAUG7fYaMAbmLSogGrKWdt5XL//zHwAAAP//AwDoJBJCLAIAAA==
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"cb15f079b556871f647f371bbeb87ccb"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 201, message: Created}
+- request:
+ body: !!python/unicode '832999932'
+ headers: {}
+ method: POST
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/client_token
+ response:
+ body:
+ string: !!binary |
+ H4sIAMMrT1UAA7xVXW/iOhB976+o+r53E6fp3UhtV6WQkIiYJUA+/BY7oUmwEwohX7/+jim7tNrq
+ aqUr3QcEwuOZc86cGd9/7wS/btL9Ia/Khxv1L+XmOi1ZleTly8PNemV++Xbz/fHqnvE8LesvdbVN
+ y8er6+v7JubH9DHtHURCZ4gD42gXVT97drIk9CqqObtUmIr83xP8SJDfs6mzo+Uin+f2rYtwhge/
+ IAHJ8Oqpm1vw21q0xFp3bsF0bK17sppoWPicrJ6Qu0o4Hk9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q7/t4YpfKae8ChlNv3s8JgTllSGpxwX6u9amXT96AOjT4JmMaIqJ8
+ s3h4uP/69k5e3X/9+IL+AwAA//8DAP9vcwN4BwAA
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"e774a13803f4bd8b30a253abf0c0dcb2"']
+ etag: ['"687c0b2a695eaa1c282f97f863090510"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
status: {code: 201, message: Created}
- request:
- body: !!python/unicode '84963106861102042'
headers: {}
method: POST
@@ -462,30 +838,30 @@ interactions:
response:
body:
string: !!binary |
- H4sIALHtTVUAA7xVXW+jOhB976+o+r53wSS9i9R21XxAQMHZkASw37AhBWKTNCEQ+PV3nGY3rba6
- WulK9wFFisdnzpw5M374fpLitk73h3xbPt7pf2l3t2nJt0levjzerZbWl293359uHrjI07L6Um03
- afl0c3v7UMfimD6lrYto5HZxaB6dYttOh26WRP6WGe4ulZam/velOFIUtHzi7lg5z2e5K2noISp9
- iaXTo0vSkWLeUnuuk2UgScdbD40bT/obPAoKWgwyLMf6bMn7pFu1VDo6Xj6fPBtLUnB9NgqEhyyx
- tnFLQ0ujob8m0dz0iucTXmiN+mbB/OQtt+35G/b6sxFB3tLpzUarvTd6bjzrpMNviyXWueHXLAza
- CInNj+WLNgN+3vIZRZNV440cpM4IyjJW+us4nJtxIcoE+TKW/j6diCq2/ZKLC1450Ik87Yhu7mm0
- MT1J+zzcaTiyOg9xLSmTE82dgyNxzSTdUT1o2dC5d2SmJZNBN8u/1SQa7KYlzpj0c2a8HEnpZnHY
- 17gMBEVQb5Rk6aJfMKTd49G8myJdcIm3RMW05ussTAxq01dqV7001LfUTtopwoc4DI6JZWbc3tRJ
- Ma4JMo9UQi0R9NAWNXvjBTinAw37JY28fCaqBHosWEl3XJpHpjAU3yu/HM4LZguI8QfcFgGXjer5
- Npn4De+29RRZTbzod8BvQ6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6/uv358Qf8BAAD//wMAhr62ZHgHAAA=
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"b502ff8553c663fa664a4bb95858ac11"']
+ etag: ['"58410933ef047267ecb91f47d22b331f"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
@@ -494,25 +870,25 @@ interactions:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/cards/CC6j2lN0CEuf3wt77J2bQW7r
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41UXU/bMBR951dYeaat44Sk6VupEBOIbgzGpE1T5MY2NaR2ZTuFCvW/z3aSJgEm
- LQ+Wcj98zz33+L6dABAUWBEdzMBv+wPAmz+tueTi2Zlbg4ustJEbqqw1WPxI1ovbl5CYsnrS15ch
- 1Q/3JTJBk384bS9iXDxStVVcGJc4LVIGYxRFyRlm02kR0SgpGERpnNACJzEjBYsSQgpEQxZlNpwW
- GYsYI/AMoyQNjhcXu12uqK5Kd6+oyvLoEdVmVcN87X2h/bpsvNP5VmqDy3yDTbF22ITs/PR1yxU2
- XIp8I4Vx/hAeK2yowUNyFH20sZ4aKVil3U8b7rjjZp8b+eIj+g5MiG1C58g5zuUrQB8p5MTfu0ie
- ULmEi4uKRS8mTa/Q6vZnqnqMYEMfpdq7aGnWloIjYLPfUmcuFCXcDEls+x9wuMLiORd447Ouvt18
- /X45X4LFl/ndBTifL69PwXI8Hw/51EZRajo+91R3ASuFhe/jgWvcmastsahJjr06EAzPRjAaoeg+
- jGZxNovTcRimYRr/6pWqKbPxfXFagq2l30OtYuqY/cQcunohisAN5gLceej9wVhpGN/8p/NspFNI
- 4mMyiELYzy5kJYza502Aq//hZRRY5ISu7DhmgOFS007ANe+DgfQEuafYPUIEUadI+xre9Rlwne+o
- 4oxTx7tRVVfAq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xfIWvDvhpzBcIsW+dKa/7dVAdvJ5Ed+t8QpU83tz/a/wF154OdrAUAAA==
headers:
content-encoding: [gzip]
- content-length: ['671']
+ content-length: ['676']
content-type: [application/json]
status: {code: 200, message: OK}
- request:
@@ -523,22 +899,22 @@ interactions:
response:
body:
string: !!binary |
- H4sIALTtTVUAA5RRQVKEMBC87yuo3GMWRHStwN58wXrxNjIDZCWBSoILv5cg1lqiB6vm0t3pmemJ
- PI66jd7JOtWZnMU3exaRKTtUps7Z8+mJP7BjsZPl4HynyRa7KJIKiyzL0vQ+vpViBoGbtbIB4/mM
- z4f6gtUZ38ZJN1hbKb6r4XWlrPPcgKbIqDZn3g7ExCK18JdSdroHM2140qDaDds3ndn2qGDccBd6
- dcr/Ms8SeEIOPvJTTznDGXqliRXJPr7j+7kOpzh+TOZKX6S4Ghb/0OP//FfD5/zl5rxS1KILTEgF
- 1qtS9estEyl+MMEoNs6QBZXnJVh06zZgLUxrVEC05BxttK9e4ec/AAAA//8DAFoyPUMsAgAA
+ H4sIAM4rT1UAA5SRzVKDMBSF930KJvsIFDNDO4HufIK6cXflXmgqCUwSLLy9BHHqiC5cnnPy3b/I
+ 06jb6J2sU50pWPqQsIhM1aEyTcGez088Z6dyJ6vB+U6TLXdRJBWWQogsyx9TGc8ieHNWXcB4Puvr
+ oblhfcW3cdIXbKyMv6fhda2s89yApsiotmDeDsTiJWrhr6TqdA9m2vikQbUbt790ZlujhnHj3ejV
+ Kf9LP0vgCTn4yE89FQxn6ZUmVu6TVPBE8DQ5J4ejyI9Z/iLjO7DwQ4//4+/AZ//l5rxW1KILTtgK
+ rFeV6tdb7mX8wwlgvCHDLqg8r8CiW6cBa2FaVwVES87RJvuqFX7+AwAA//8DALDmzT4sAgAA
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"4fceafd6131707e4d21c00f307c1f813"']
+ etag: ['"aa55c2b7dfe7c0006d4c99060d6f51b4"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
status: {code: 201, message: Created}
- request:
- body: !!python/unicode '66644713555338412'
headers: {}
method: POST
@@ -546,30 +922,30 @@ interactions:
response:
body:
string: !!binary |
- H4sIALftTVUAA7xVXW+jOhB976+o+r53wTS9i9R21TSBgIKzIQlgv2GbFIhN0nxA4NffcZrdtNrq
- aqUr3QcLZI9nzpw5M77/flTyus62u2JdPdyYfxk311nF16KoXh5uFnPny7eb749X91wWWbX/sl+v
- surx6vr6vk7lIXvMWh/RxO/S2D545bodP/u5SMI1s/xNphxD74dKHiiKWj7yN6yaFpPCOxLlWThe
- GKTzTDwP4PtiBWVUYEQa3Dkl7BukHCJcTlv4hyXKyXx6S2MnD1CAJi5BdBC0uMsLPBAlmfvF0sUt
- nBs0DpckmdpB+XTEM6PRaxJNj8F83eqFi9veZMBRMB82QTfdBoOnJnCOJnxbrLDJrbBmcdQmSK5+
- zInGYOBu2CWjRRMMPKTPCMpzVoXLNJ7aaSkrgUKVqnCbjeQ+dcOKy7O/qm8SddwQ097SZGUHivZ4
- vDFw4nQB4oaoxJEW3s5TuGaKbqgZtezZu/NUbohRv5sU32qS9DfjCudMhQWzXg6k8vM07hlcRZIi
- yDcReTbrlQwZd3gw7cbIlFzhNdE2rf06iYVFXfpK3f1tFptr6op2jPAujaODcOycu6talMOaIPtA
- FeSSQA1dWbM3XODnuKNxr6JJUEzkXkCNJavohiv7wLQPjfeCr4DzkrkSbMI+d2XEVQM199diFDa8
- W9dj5DTprNcBvhVR9u1Y+S2J5UGMfEljAbEjiySrA+DZT4D7oLX3oLEydR2wCepP+S7snzGXmi+v
- aAqS4I4mYRcl/g60WaSj0OCj4G7cQs4WluDr37gsfmr5s/t6f1xRyZRZ/2FtTv6YcnZZEm6IBVxW
- u0L87vucx3QP/ORsJKGHcPenMZazphBuDn0QDRcoKsG/DMEPaFBSqBNwbNJPbLxy87enjjVDe5M7
- /5MGrXCt7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9Nfl36sUZO+UrMaJL5aUjPuFggfQ987xYaeRuaujvNp
+ TZB+ogJ6CWCGJq/ZGy7I0x6pPyxoYGdLXsUwY84Kuo+EfmIyh8R7xZeBPWcmBx93FJnci0QjZ17G
+ M7eJ+rJeIKMJV8Me8O2I0AcLYXXE56d4ZnHqx1Db00iwOwGeapk7it3pFWgsD00DfOz6U74z/WfN
+ reRrnjUZCXBPA7f3AusI2szCmatEM/t+0UHPGuaQ69+4zH5q+bN4+X1RUM6EWv/hbM75mDCOSeDu
+ iQZcFscs/j33pQ+nAn5SNuOwQ7j/0xrbVZPFZgp74E03yMshP3chD2iQU5gTcKzST3zm+f7vuWhr
+ hio1Mv4nDWpuKeMD5G6jC44FumAYWzrw1ZCAN6A/A3jLmOntAKcSFR6/2pozj9TkfWS2abIBzvyN
+ 1NsskvcnGAGus47f9D7lMscpBk3LHJHgiPh4+GHGE6lRb0B8tWHm5qzDhTZqpKbiAPNoZxQS91n7
+ H7h6kfPjiWlUgIUv5E6vdIXBrKGW1CP/L1p888Of7BMuqY8PTPOURQH9Qs9s/CtuFwKvRHPH1/q/
+ +k+Z2daxcsYOPLpd7G+AK+hL8I6hYQV7r6yFvoQ90uCmH97x//sNELqgcOuY2Mi6KtgBr8vp9KoF
+ iBcwz15q8H2/Dmr3stbKP78PFWBV5M5fdqGX3L+7uyOCcB1f/fvYnA/D3tGSYp+FudXh3Hs93wAN
+ 3h3oh2jcipA+Ycjlkn/Pw9N5oZzvLmA4z+b9nlDY0whJLq7YL7U+1fJZG1CH+Q/Sp6aCZFvn6enx
+ 69s7efP49eML+g8AAAD//wMAmMl9BXgHAAA=
headers:
cache-control: ['max-age=0, private, must-revalidate']
content-encoding: [gzip]
content-type: [application/xml; charset=utf-8]
- etag: ['"5aabc18516a9cea04a44bdbb581e723e"']
+ etag: ['"0ec3bf2d59b3dbca26179d4d2be87f8f"']
strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
transfer-encoding: [chunked]
vary: [Accept-Encoding]
@@ -578,27 +954,57 @@ interactions:
body: null
headers: {}
method: GET
- uri: https://api.balancedpayments.com:443/cards/CC6j2lN0CEuf3wt77J2bQW7r
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC
response:
body:
string: !!binary |
- H4sIAAAAAAAAA41UXU/bMBR951dYeaat44Sk6VupEBOIbgzGpE1T5MY2NaR2ZTuFCvW/z3aSJgEm
- LQ+Wcj98zz33+L6dABAUWBEdzMBv+wPAmz+tueTi2Zlbg4ustJEbqqw1WPxI1ovbl5CYsnrS15ch
- 1Q/3JTJBk384bS9iXDxStVVcGJc4LVIGYxRFyRlm02kR0SgpGERpnNACJzEjBYsSQgpEQxZlNpwW
- GYsYI/AMoyQNjhcXu12uqK5Kd6+oyvLoEdVmVcN87X2h/bpsvNP5VmqDy3yDTbF22ITs/PR1yxU2
- XIp8I4Vx/hAeK2yowUNyFH20sZ4aKVil3U8b7rjjZp8b+eIj+g5MiG1C58g5zuUrQB8p5MTfu0ie
- ULmEi4uKRS8mTa/Q6vZnqnqMYEMfpdq7aGnWloIjYLPfUmcuFCXcDEls+x9wuMLiORd447Ouvt18
- /X45X4LFl/ndBTifL69PwXI8Hw/51EZRajo+91R3ASuFhe/jgWvcmastsahJjr06EAzPRjAaoeg+
- jGZxNovTcRimYRr/6pWqKbPxfXFagq2l30OtYuqY/cQcunohisAN5gLceej9wVhpGN/8p/NspFNI
- 4mMyiELYzy5kJYza502Aq//hZRRY5ISu7DhmgOFS007ANe+DgfQEuafYPUIEUadI+xre9Rlwne+o
- 4oxTx7tRVVfAqf/4doK6edBIEdg5gbo/4OADIoGQBniZ9Cbu4Ddyeo9/rShztEz8cpn8h3IVHaog
- HoVwhNJ7mM3gdIaSMYRZklkVeBYP9vzj2Hq3puplNnZV87Us/V5rQbx5LGNODh5V468pb/N6C27S
- bjs9aTJbw6GZc5NEuN5Wxir901JH76CQn/q/Mmqfbe5wcvgLinZLo6IFAAA=
+ H4sIAAAAAAAAA41U21LbMBB95ys0fobEtzhx3kJamlIIFAq0dDoeRReiwZEyspzGZPLvlWQ7toFO
+ 64fMZHePdvfs2d0dAeAgKHHmjMFP/QeAnf3V5pTxZ2OuDSYyz5RYEamtzvQuePjw9coNX+6pul28
+ DGdn27Priwunwu+P64co409EriXjygBHaEjd0A+CaADpaIQCEkSIuv4wjAiCUUgxokGEMfKJR4NY
+ hxMU04BS7A6gHw2dw8Nos0kkyfLUvMvzND14eL5alGVuW5+nvwYNN1myFpmCabKCCi1NbVw0frJd
+ MwkVEzxZCa6M33MPGVZEwS45kjzpWEuN4DTPzJ863HDHVJEo8dtGtB0QY91ElvjGcSq2wH9LIcP2
+ 3Wnww4s+ew9ifvM9PUejzd08nG2nLUagIk9CFiZaqKWm4FCwKtbEmJEkmKkuiXX/HQ4XkD8nHK4s
+ 6vz68urm02QOprPJ7UdwOpl/OQbz3qTX5TNTkhDV8FmQrAlYSMhtH/csg405X2NdNU6gVYfveoMT
+ d3Diud/ceBz4YzfujUIvjN3HVqqSMh3fFqcm2FJINkSmBZixNG2yl4ImhuR2l5XZM0DPD8AlZBzc
+ 2i7aM9IqUZaHd0dbqQgJbGNi1/fcNhqJnCtZJFWAyf9mSRDkCSYLPZkxUDInjZTLCXRG05JmQaBZ
+ R9/1G23qvXjVpsOyRLPCKCNmAp0EZg8OW+SUvYNKlEBPDJTtAVM9wAJwoYAVTGv2pvpKWGNAYZo1
+ 9S8loYaVvj0z/f/QsCT/0IMX+34cP5ZrstdU/jJsvTpY5VnrmazJUqT2wtVF7GwtPYb3tqrKX1Je
+ 41qnrl/fvaxfIWvDvhpzBcIsW+dKa/7dVAdvJ5Ed+t8QpU83tz/a/wF154OdrAUAAA==
headers:
content-encoding: [gzip]
- content-length: ['671']
+ content-length: ['676']
content-type: [application/json]
status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods/any/jzc6hg
+ response:
+ body:
+ string: !!binary |
+ H4sIANMrT1UAA6xVuXLbMBDt9RUa9hAPHaE9FDxpUqaJnSKNBwSWIiIQYABQtvL1WVDUYR1OMkmn
+ ffuwx+MDVDy8Nmq8Aeuk0csonSTRGDQ3QurVMnp6/ETy6IGOCm5BSE84s4KOxuOilEohhTAhLDgX
+ MESloE1ZxFIMMe+cNw1Ygki+SNMkS2ZFfIrueJW0zhPNGhhrqZaRtx1E8ZBU7HaOm6Zlensl47wF
+ 8Pv5rhDg1YMWIN6hKMOZkv5aeQsrFOxKojXOM0VQQaB3szT5UMSn0H7sTnu77SHCVFuz7Opy56zp
+ 71i6Q10lf4d2S0gLzAcx/NhvW1hGAkMvG4holqRzksxJmjwmd/fZ/H6WfcOPeDgwVOha8XcVjgd6
+ R8VXLIU203SWpFmeh7zuseBBElrQr9IxnOQQ77O1UQLtdW3V4BiUiEum6JNea/OiscIRG51IZSoi
+ neuY5kCfvnwMvMvE6N/F+7NrcmQFW3p0Hw51wjqggSuglP644C7cJSrWqf2cpTEKmI5oECjQ+uSO
+ 2FkUnKDPOxVmPSl2nhn1t6mVtu9PGqN9TdOsiC/AM+YWmEWFsuQNtUcPTBDns1ZMORhODN1rYMrX
+ +OnhOOYJFiiyYSsgnVW09r5193HMnAPvJqVlUofHYoXLvLDtBN0Qt2zbgPbPDfjaiGdlVibeoNsm
+ rV49gN5Ia3QgLB3TojSv+OYd6vfd0B7ByyXT6+NIb9DR/mmb0TTP0yIegoBje2vUiUP3QJ+00DL0
+ xGeD+PA74K4rHbeyDSK6QTRmLdsOzvdmDZp+/8kX9aqId1HAOy1/dP3TUfZmw7VkJcHS2ZTns7QS
+ nE/5tFospot5BfM0mXLIoeR4JW8eHf2HB2EDujHEifUNAxzyA9ti690VuNi+v3HH/69fAAAA//8D
+ AHwBI/j1BgAA
+ headers:
+ cache-control: ['max-age=0, private, must-revalidate']
+ content-encoding: [gzip]
+ content-type: [application/xml; charset=utf-8]
+ etag: ['"140e3ca34972e2d7092cd1ad0f9dc63d"']
+ strict-transport-security: [max-age=31536000, max-age=31536000; includeSubDomains]
+ transfer-encoding: [chunked]
+ vary: [Accept-Encoding]
+ status: {code: 200, message: OK}
- request:
body: null
headers: {}
diff --git a/tests/py/fixtures/TestSyncWithBalanced.yml b/tests/py/fixtures/TestSyncWithBalanced.yml
new file mode 100644
index 0000000000..a52aa176e0
--- /dev/null
+++ b/tests/py/fixtures/TestSyncWithBalanced.yml
@@ -0,0 +1,264 @@
+interactions:
+- request:
+ body: '{"amount": 2091, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:52.163202Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:51.908450Z\",\n \"transaction_number\"\
+ : \"HLOQ3-WA6-8SV3\",\n \"expires_at\": \"2015-05-17T09:32:52.083323Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 2091,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4K4eY5ViEZ8lMjvcr9TqFO\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4K4eY5ViEZ8lMjvcr9TqFO\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: '{"amount": 1061, "meta": {"exchange_id": 1, "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/card_holds/HL4K4eY5ViEZ8lMjvcr9TqFO/debits
+ response:
+ body: {string: !!python/unicode "{\n \"debits\": [\n {\n \"status\":\
+ \ \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"customer\": \"CU3WDQO04zVftSbz7HFxFPLL\",\n \"source\":\
+ \ \"CC3Y16I1WoNRXlJc8vUN4HxC\",\n \"card_hold\": \"HL4K4eY5ViEZ8lMjvcr9TqFO\"\
+ ,\n \"order\": null,\n \"dispute\": null\n },\n \"\
+ updated_at\": \"2015-05-10T09:32:53.010283Z\",\n \"created_at\": \"2015-05-10T09:32:52.659586Z\"\
+ ,\n \"transaction_number\": \"WBNG-YMR-3QPI\",\n \"failure_reason\"\
+ : null,\n \"currency\": \"USD\",\n \"amount\": 1061,\n \"failure_reason_code\"\
+ : null,\n \"meta\": {\n \"exchange_id\": \"1\",\n \"participant_id\"\
+ : \"2\"\n },\n \"href\": \"/debits/WD4KUwjO07IzOQk28kkQkRSZ\",\n\
+ \ \"appears_on_statement_as\": \"BAL*example.com\",\n \"id\": \"\
+ WD4KUwjO07IzOQk28kkQkRSZ\"\n }\n ],\n \"links\": {\n \"debits.customer\"\
+ : \"/customers/{debits.customer}\",\n \"debits.order\": \"/orders/{debits.order}\"\
+ ,\n \"debits.dispute\": \"/disputes/{debits.dispute}\",\n \"debits.source\"\
+ : \"/resources/{debits.source}\",\n \"debits.events\": \"/debits/{debits.id}/events\"\
+ ,\n \"debits.refunds\": \"/debits/{debits.id}/refunds\",\n \"debits.card_hold\"\
+ : \"/holds/{debits.card_hold}\"\n }\n}"}
+ headers:
+ content-length: ['1169']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta.exchange_id=1&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA51UUW/aMBB+76+o8tCHaUASCIVK1bTCunalUNpS1k5TZOxjdUmczHYYo+K/z3YM
+ SZC6h75YPp/vvvu+O/v14PDQiUEi5+TwVe2VFSEhleU0CMyoFJ8iGlN56gdH+lodVvgZsV8QUnLq
+ HSXzuQB56jof81gGKx3LsiiyJ88c5u/NZpBVsB/YZDmcOnHtQcphSZNMVDFlIlGkjjx7a075Oygp
+ RhudwIkoW2gEq08uSx1nQiYxcENua4jG6557s5XGnhMq0kxCLkm+L4Kscz8GlsCkrmDbkx0KJZuG
+ 9VquFibhxJZmdgWEMfcBVI8yRt5E2LqrEBhxEj4nETGF6U2J/da3jySSjOOcPYfcKKJye+PslM/J
+ qPw/zHjlDVAdERJJ03RHZBgDECBWZuUkIDCnqaQJ0zdeEANZeKvNNANf7mRv0pz2xyO3tX6Yy7vZ
+ +vjifHV+MxjsEmj0HYder/notS+9aTK8/R59w53lZNi6WPXKtysyXQxaVy14DB7ol6dOdP2yxLx7
+ //t8VA7Ytq54RKbKYnC0w+hhB9S4s5QgCSRE5u36rhfU3KDmufdu96TpnwTNuuu5fqf5VEiBOfw3
+ xK+3g27QaZdCJEdMIKy1DVkWz/IZm54Nv9Yer29rzfHNZZF/jmiUcQgVjDC9KDNSqnMODP/V5U7u
+ +kUYipOMaRae27YvWPGrJgtxQvQUVTJWvjEjSumz0jBeWeYUcUkxTRGT6i8zounBq6q693s1pv3W
+ 1eTPy8g9vlyPxgu/s1iMF7d3JYVQmgLiIlQC6SmFWD3dEJlZPfs8+AArFKcR1HESF4xz+Ddzm6o2
+ av15sPkHjyKqSLAFAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['641']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta.exchange_id=1&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA51UUW/aMBB+76+o8tCHaUASCIVK1bTCunalUNpS1k5TZOxjdUmczHYYo+K/z3YM
+ SZC6h75YPp/vvvu+O/v14PDQiUEi5+TwVe2VFSEhleU0CMyoFJ8iGlN56gdH+lodVvgZsV8QUnLq
+ HSXzuQB56jof81gGKx3LsiiyJ88c5u/NZpBVsB/YZDmcOnHtQcphSZNMVDFlIlGkjjx7a075Oygp
+ RhudwIkoW2gEq08uSx1nQiYxcENua4jG6557s5XGnhMq0kxCLkm+L4Kscz8GlsCkrmDbkx0KJZuG
+ 9VquFibhxJZmdgWEMfcBVI8yRt5E2LqrEBhxEj4nETGF6U2J/da3jySSjOOcPYfcKKJye+PslM/J
+ qPw/zHjlDVAdERJJ03RHZBgDECBWZuUkIDCnqaQJ0zdeEANZeKvNNANf7mRv0pz2xyO3tX6Yy7vZ
+ +vjifHV+MxjsEmj0HYder/notS+9aTK8/R59w53lZNi6WPXKtysyXQxaVy14DB7ol6dOdP2yxLx7
+ //t8VA7Ytq54RKbKYnC0w+hhB9S4s5QgCSRE5u36rhfU3KDmufdu96TpnwTNuuu5fqf5VEiBOfw3
+ xK+3g27QaZdCJEdMIKy1DVkWz/IZm54Nv9Yer29rzfHNZZF/jmiUcQgVjDC9KDNSqnMODP/V5U7u
+ +kUYipOMaRae27YvWPGrJgtxQvQUVTJWvjEjSumz0jBeWeYUcUkxTRGT6i8zounBq6q693s1pv3W
+ 1eTPy8g9vlyPxgu/s1iMF7d3JYVQmgLiIlQC6SmFWD3dEJlZPfs8+AArFKcR1HESF4xz+Ddzm6o2
+ av15sPkHjyKqSLAFAAA=
+ headers:
+ content-encoding: [gzip]
+ content-length: ['641']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"amount": 3499, "meta": {"state": "new", "participant_id": 2}, "description":
+ "janet"}'
+ headers: {}
+ method: POST
+ uri: https://api.balancedpayments.com:443/cards/CC3Y16I1WoNRXlJc8vUN4HxC/card_holds
+ response:
+ body: {string: !!python/unicode "{\n \"card_holds\": [\n {\n \"status\"\
+ : \"succeeded\",\n \"description\": \"janet\",\n \"links\": {\n\
+ \ \"order\": null,\n \"card\": \"CC3Y16I1WoNRXlJc8vUN4HxC\"\
+ ,\n \"debit\": null\n },\n \"updated_at\": \"2015-05-10T09:32:55.267663Z\"\
+ ,\n \"created_at\": \"2015-05-10T09:32:55.002281Z\",\n \"transaction_number\"\
+ : \"HL1PB-6UI-X6VT\",\n \"expires_at\": \"2015-05-17T09:32:55.189115Z\"\
+ ,\n \"failure_reason\": null,\n \"currency\": \"USD\",\n \"\
+ amount\": 3499,\n \"meta\": {\n \"state\": \"new\",\n \"\
+ participant_id\": \"2\"\n },\n \"href\": \"/card_holds/HL4Ny28qsvvcy5kAApQJv3Ve\"\
+ ,\n \"failure_reason_code\": null,\n \"voided_at\": null,\n \
+ \ \"id\": \"HL4Ny28qsvvcy5kAApQJv3Ve\"\n }\n ],\n \"links\": {\n \
+ \ \"card_holds.events\": \"/card_holds/{card_holds.id}/events\",\n \"card_holds.order\"\
+ : \"/orders/{card_holds.order}\",\n \"card_holds.card\": \"/cards/{card_holds.card}\"\
+ ,\n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\",\n \
+ \ \"card_holds.debit\": \"/debits/{card_holds.debit}\"\n }\n}"}
+ headers:
+ content-length: ['1021']
+ content-type: [application/json]
+ status: {code: 201, message: CREATED}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta.exchange_id=2&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"meta\": {\n \"last\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ ,\n \"next\": null,\n \"href\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ \n },\n \"links\": {},\n \"debits\": []\n}"}
+ headers:
+ content-length: ['320']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta.exchange_id=2&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"meta\": {\n \"last\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ ,\n \"next\": null,\n \"href\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/debits?limit=25&meta.exchange_id=2&offset=0\"\
+ \n },\n \"links\": {},\n \"debits\": []\n}"}
+ headers:
+ content-length: ['320']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta.exchange_id=4&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [],\n \"meta\": {\n \"\
+ last\": \"/credits?limit=25&meta.exchange_id=4&offset=0\",\n \"next\":\
+ \ null,\n \"href\": \"/credits?limit=25&meta.exchange_id=4&offset=0\",\n\
+ \ \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"total\"\
+ : 0,\n \"first\": \"/credits?limit=25&meta.exchange_id=4&offset=0\"\n \
+ \ },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['324']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta.exchange_id=4&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [],\n \"meta\": {\n \"\
+ last\": \"/credits?limit=25&meta.exchange_id=4&offset=0\",\n \"next\":\
+ \ null,\n \"href\": \"/credits?limit=25&meta.exchange_id=4&offset=0\",\n\
+ \ \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"total\"\
+ : 0,\n \"first\": \"/credits?limit=25&meta.exchange_id=4&offset=0\"\n \
+ \ },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['324']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/credits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body: {string: !!python/unicode "{\n \"credits\": [],\n \"meta\": {\n \"\
+ last\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\",\n \
+ \ \"next\": null,\n \"href\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ ,\n \"limit\": 25,\n \"offset\": 0,\n \"previous\": null,\n \"\
+ total\": 0,\n \"first\": \"/credits?limit=25&meta%5Bcontains%5D=exchange_id&offset=0\"\
+ \n },\n \"links\": {}\n}"}
+ headers:
+ content-length: ['360']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: null
+ headers: {}
+ method: GET
+ uri: https://api.balancedpayments.com:443/debits?meta%5Bcontains%5D=exchange_id&limit=25&offset=0
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA61U0U7bMBR95ytQJHiY1jZJm1KQ0DTaMToKpS2lg2mKjH07TBMns52uA/XfZztu
+ k1RiL9tLZPvmnnPPudd+3dvfd2KQyDnZf1VrtYuQkGrnNAg8Uik+RDSm8tQPDvVvB8EZTphElImD
+ oHcKK/yE2A8IKTlM5nMB8tR13uc4DFYah2VRZE+eOMz/B7KpSAH5gQXOqdWJaw9SDkuaZKLKLxOJ
+ InXk2b/mlP+jVKV0rcGciLKFZrMe5tbVcSZkEgM3ojcb0XjdCa83ltlzQkWaScitytdFkg3u5sAS
+ mNQVbPq2ZaFk3bBRq9vSJJzY0syqoDDbXQLVu4yRNxk24SoFRpyET0lETGF6UVK/ie0yiSTjOFfP
+ Id8UWfl+7Wydz8Uo/G9m7PIGqI4IiaQZAEdkGAMQINZmFSQgMKeppAnTfzwjBrKIVptpLkW5k91p
+ c9YbDd3Wy91cTh5fji7OV+c3g8EWQLNvNXS7zXuv3fdmyfX4a/QFd5bT69bFqlv+u2LTxaB12YL7
+ 4I5+euhEV89LzI9vf54Pywmb1hWXy1RZDI4OGD/sgJpwlhIkgYTI3G/f9YKaG9Q899Y9Pmn6J0Gz
+ 7nqu32k+FFZgDn9N8evt4DjotEspkiMmENbehiyLH/MZm51df67dX41rzdFNv8CfIxplHEJFI0wv
+ yoqU65wDw791udNJr0hDcZIxrcJz2/Y2K31VsBAnRE9RBbHy1BlTSk+YpvHKNqeIS4ppiphUL5wx
+ TQ9e1dWdV60x67Uup7+eh+5R/2U4WvidxWK0GE9KDqE0BcRFqAzSUwqxurohMrN69nHwDlYoTiOo
+ 4yQuFOf0b2Kbqtbq+31v/QeEHal51AUAAA==
+ headers:
+ content-encoding: [gzip]
+ content-length: ['652']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+- request:
+ body: '{"status": "succeeded", "card_hold_href": "/holds/HL4K4eY5ViEZ8lMjvcr9TqFO",
+ "source_href": "/resources/CC3Y16I1WoNRXlJc8vUN4HxC", "transaction_number":
+ "WBNG-YMR-3QPI", "description": "janet", "created_at": "2015-05-10T09:32:52.659586Z",
+ "appears_on_statement_as": "BAL*example.com", "updated_at": "2015-05-10T09:32:53.010283Z",
+ "order": null, "currency": "USD", "amount": 1061, "meta": {"participant_id":
+ "2"}, "customer_href": "/customers/CU3WDQO04zVftSbz7HFxFPLL", "failure_reason_code":
+ null, "failure_reason": null, "id": "WD4KUwjO07IzOQk28kkQkRSZ", "dispute": null}'
+ headers: {}
+ method: PUT
+ uri: https://api.balancedpayments.com:443/debits/WD4KUwjO07IzOQk28kkQkRSZ
+ response:
+ body:
+ string: !!binary |
+ H4sIAAAAAAAAA31T23LaMBB9z1cwfuwUfAGD4a2BUmgIBAihpNPxCGmZGHyLLFEK43+vZCNs6KQv
+ Hq92z+6es7unu0pFI7D2WKJ1Kj+FVamcsq94TxhiXL5rCccYgADRPisngQRTL2ZeFMqILQqBFV7f
+ C3cSqXKJbJgnLAqAyujuor7sTSdG4/iyYfP1sTXoH/pPo9ElgawecYohi+7WV2ZzaC6j8eyH/x07
+ +8W4MTh0y9EYUeK+RT6RgMGo8dCAlf3ifX11/MftHtP283t/UgZElGS9hNz3FSmphZfEnMmy0nEm
+ m15Y85ggBsRFTNaxDNOuGnbVNJ6Ndqdudex2zTAds2W9FlJgCv+FWLWm3badZgnCKAoThKW2bsiD
+ dS7a8n78rbp6nFXr06dhkX+DPJ9TcEWZJJtFmZFQnVII8R/Z7mLeK2AoiHgoWZhG07zwu07m4ogo
+ KS4hATAkYKXJxogyD3sxCpnrZQOwtH+Ue6OwkS493zZ92Ws8LH5vJ0ZreJxMd5az2013s3lJBRTH
+ gGjiChHkJkIAIj/K9vH+y+gTHFAQ+1DDUVCwyst/mDvrKhXfX5KOdr2l5zuolRdVV0ain/LGL+70
+ XFXB1EJpevZXADLzNrrYM6FIvnMF4vxwiykuQqeQGwUmt28hsBeiZZIp3RUNj6T62ZuPVvEQc+Ih
+ +RCj3Negq/PT5R2WBFOnmcqtSO/Sv5wqKE11BAAA
+ headers:
+ content-encoding: [gzip]
+ content-length: ['543']
+ content-type: [application/json]
+ status: {code: 200, message: OK}
+version: 1