balanced-ach 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +29 -0
- data/Gemfile +1 -1
- data/balanced.gemspec +1 -1
- data/lib/{balanced.rb → balanced_ach.rb} +7 -7
- data/lib/{balanced → balanced_ach}/client.rb +1 -1
- data/lib/{balanced → balanced_ach}/error.rb +0 -0
- data/lib/{balanced → balanced_ach}/pager.rb +2 -2
- data/lib/{balanced → balanced_ach}/resources.rb +1 -1
- data/lib/{balanced → balanced_ach}/resources/bank_account.rb +0 -0
- data/lib/{balanced → balanced_ach}/resources/credit.rb +0 -0
- data/lib/{balanced → balanced_ach}/resources/debit.rb +0 -0
- data/lib/{balanced → balanced_ach}/resources/resource.rb +0 -0
- data/lib/{balanced → balanced_ach}/response/balanced_exception_middleware.rb +1 -1
- data/lib/{balanced → balanced_ach}/utils.rb +0 -0
- data/lib/{balanced → balanced_ach}/version.rb +1 -1
- data/x.rb +2 -7
- metadata +15 -114
- data/.idea/.name +0 -1
- data/.idea/.rakeTasks +0 -7
- data/.idea/balanced-ach.iml +0 -9
- data/.idea/encodings.xml +0 -5
- data/.idea/misc.xml +0 -5
- data/.idea/modules.xml +0 -9
- data/.idea/scopes/scope_settings.xml +0 -5
- data/.idea/vcs.xml +0 -7
- data/.idea/workspace.xml +0 -561
- data/spec/balanced/pager_spec.rb +0 -42
- data/spec/balanced/resources/account_spec.rb +0 -571
- data/spec/balanced/resources/api_key_spec.rb +0 -55
- data/spec/balanced/resources/hold_spec.rb +0 -55
- data/spec/balanced/resources/marketplace_spec.rb +0 -97
- data/spec/balanced/resources/transactions_spec.rb +0 -72
- data/spec/balanced/response/balanced_exception_middleware_spec.rb +0 -47
- data/spec/balanced_spec.rb +0 -77
- data/spec/cassettes/Balanced/configure.yml +0 -48
- data/spec/cassettes/Balanced/configure/reconfigure_with_new_api_key.yml +0 -48
- data/spec/cassettes/Balanced_Account.yml +0 -110
- data/spec/cassettes/Balanced_Account/Account_uri/when_ApiKey_is_configured.yml +0 -240
- data/spec/cassettes/Balanced_Account/Account_uri/when_ApiKey_is_not_configured.yml +0 -44
- data/spec/cassettes/Balanced_Account/_find.yml +0 -400
- data/spec/cassettes/Balanced_Account/_find/_all_some_field_op_.yml +0 -186
- data/spec/cassettes/Balanced_Account/_find/_first_some_field_op_.yml +0 -186
- data/spec/cassettes/Balanced_Account/_find_by_email.yml +0 -400
- data/spec/cassettes/Balanced_Account/_find_by_email/email_address_does_not_exist.yml +0 -175
- data/spec/cassettes/Balanced_Account/_find_by_email/email_address_is_in_system.yml +0 -186
- data/spec/cassettes/Balanced_Account/buyer/_add_card/after_executing.yml +0 -530
- data/spec/cassettes/Balanced_Account/buyer/_add_card/when_executing.yml +0 -455
- data/spec/cassettes/Balanced_Account/buyer/_debit.yml +0 -363
- data/spec/cassettes/Balanced_Account/buyer/_promote_to_merchant/after_executing.yml +0 -281
- data/spec/cassettes/Balanced_Account/buyer/_promote_to_merchant/when_executing.yml +0 -281
- data/spec/cassettes/Balanced_Account/buyer/_save/after_save/attributes.yml +0 -1013
- data/spec/cassettes/Balanced_Account/buyer/_save/when_creating.yml +0 -229
- data/spec/cassettes/Balanced_Account/merchant/_add_bank_account/after_executing.yml +0 -536
- data/spec/cassettes/Balanced_Account/merchant/_add_bank_account/when_executing.yml +0 -460
- data/spec/cassettes/Balanced_Account/merchant/_save/after_save/attributes.yml +0 -232
- data/spec/cassettes/Balanced_Account/merchant/_save/when_creating.yml +0 -232
- data/spec/cassettes/Balanced_Account/merchant/new.yml +0 -179
- data/spec/cassettes/Balanced_ApiKey/attributes.yml +0 -48
- data/spec/cassettes/Balanced_ApiKey/new_key/after_configure.yml +0 -93
- data/spec/cassettes/Balanced_ApiKey/new_key/before_configure.yml +0 -48
- data/spec/cassettes/Balanced_Hold.yml +0 -335
- data/spec/cassettes/Balanced_Hold/_void.yml +0 -62
- data/spec/cassettes/Balanced_Hold/_void/after.yml +0 -62
- data/spec/cassettes/Balanced_Hold/_void/when_exception_is_thrown.yml +0 -306
- data/spec/cassettes/Balanced_Marketplace.yml +0 -339
- data/spec/cassettes/Balanced_Transaction.yml +0 -1261
- data/spec/cassettes/Balanced_Transaction/Transaction.yml +0 -634
- data/spec/cassettes/Balanced_Transaction/Transaction_paginate.yml +0 -634
- data/spec/client_spec.rb +0 -12
- data/spec/spec_helper.rb +0 -31
- data/spec/utils_spec.rb +0 -8
- data/upload_docs.rb +0 -39
@@ -1,175 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- balanced-ruby/0.3.5
|
12
|
-
Authorization:
|
13
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: !!null
|
18
|
-
headers:
|
19
|
-
content-type:
|
20
|
-
- application/json
|
21
|
-
date:
|
22
|
-
- Fri, 06 Jul 2012 04:24:03 GMT
|
23
|
-
server:
|
24
|
-
- nginx/1.0.14
|
25
|
-
x-balanced-guru:
|
26
|
-
- OHM6b18cf58c72211e1ad0d026ba7e5e72e
|
27
|
-
x-balanced-marketplace:
|
28
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
29
|
-
x-balanced-merchant:
|
30
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
31
|
-
x-balanced-version:
|
32
|
-
- ''
|
33
|
-
content-length:
|
34
|
-
- '2062'
|
35
|
-
connection:
|
36
|
-
- Close
|
37
|
-
body:
|
38
|
-
encoding: US-ASCII
|
39
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
40
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
41
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
42
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
43
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC37Gs6XP3gcheHoLnuDaMOJ\",
|
44
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
45
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"bank_accounts_uri\":
|
46
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/bank_accounts\", \n \"support_phone_number\":
|
47
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/refunds\",
|
48
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/debits\",
|
49
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/holds\",
|
50
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/transactions\",
|
51
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts\",
|
52
|
-
\n \"id\": \"TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"credits_uri\":
|
53
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/credits\", \n \"cards_uri\":
|
54
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/cards\"\n }, \n \"name\":
|
55
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
56
|
-
\n \"created_at\": \"2012-07-06T04:23:55.134151Z\", \n \"uri\":
|
57
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"accounts_uri\":
|
58
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/accounts\", \n \"meta\":
|
59
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
60
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
61
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/api_keys\", \n \"id\":
|
62
|
-
\"TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"street_address\": \"123 Fake
|
63
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
64
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
65
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
66
|
-
http_version: !!null
|
67
|
-
recorded_at: Fri, 06 Jul 2012 04:24:04 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- balanced-ruby/0.3.5
|
77
|
-
Authorization:
|
78
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
79
|
-
response:
|
80
|
-
status:
|
81
|
-
code: 200
|
82
|
-
message: !!null
|
83
|
-
headers:
|
84
|
-
content-type:
|
85
|
-
- application/json
|
86
|
-
date:
|
87
|
-
- Fri, 06 Jul 2012 04:24:04 GMT
|
88
|
-
server:
|
89
|
-
- nginx/1.0.14
|
90
|
-
x-balanced-guru:
|
91
|
-
- OHM6b616f6ac72211e1a476026ba7e239a9
|
92
|
-
x-balanced-marketplace:
|
93
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
94
|
-
x-balanced-merchant:
|
95
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
96
|
-
x-balanced-version:
|
97
|
-
- ''
|
98
|
-
content-length:
|
99
|
-
- '2062'
|
100
|
-
connection:
|
101
|
-
- Close
|
102
|
-
body:
|
103
|
-
encoding: US-ASCII
|
104
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
105
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
106
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
107
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
108
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC37Gs6XP3gcheHoLnuDaMOJ\",
|
109
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
110
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"bank_accounts_uri\":
|
111
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/bank_accounts\", \n \"support_phone_number\":
|
112
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/refunds\",
|
113
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/debits\",
|
114
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/holds\",
|
115
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/transactions\",
|
116
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts\",
|
117
|
-
\n \"id\": \"TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"credits_uri\":
|
118
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/credits\", \n \"cards_uri\":
|
119
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/cards\"\n }, \n \"name\":
|
120
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
121
|
-
\n \"created_at\": \"2012-07-06T04:23:55.134151Z\", \n \"uri\":
|
122
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"accounts_uri\":
|
123
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/accounts\", \n \"meta\":
|
124
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
125
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
126
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/api_keys\", \n \"id\":
|
127
|
-
\"TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"street_address\": \"123 Fake
|
128
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
129
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
130
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
131
|
-
http_version: !!null
|
132
|
-
recorded_at: Fri, 06 Jul 2012 04:24:04 GMT
|
133
|
-
- request:
|
134
|
-
method: get
|
135
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?email_address=foo%40bar.com
|
136
|
-
body:
|
137
|
-
encoding: US-ASCII
|
138
|
-
string: ''
|
139
|
-
headers:
|
140
|
-
User-Agent:
|
141
|
-
- balanced-ruby/0.3.5
|
142
|
-
Authorization:
|
143
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
144
|
-
response:
|
145
|
-
status:
|
146
|
-
code: 200
|
147
|
-
message: !!null
|
148
|
-
headers:
|
149
|
-
content-type:
|
150
|
-
- application/json
|
151
|
-
date:
|
152
|
-
- Fri, 06 Jul 2012 04:24:04 GMT
|
153
|
-
server:
|
154
|
-
- nginx/1.0.14
|
155
|
-
x-balanced-guru:
|
156
|
-
- OHM6b952ad0c72211e1a29c026ba7e5e72e
|
157
|
-
x-balanced-marketplace:
|
158
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
159
|
-
x-balanced-merchant:
|
160
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
161
|
-
x-balanced-version:
|
162
|
-
- ''
|
163
|
-
content-length:
|
164
|
-
- '466'
|
165
|
-
connection:
|
166
|
-
- Close
|
167
|
-
body:
|
168
|
-
encoding: US-ASCII
|
169
|
-
string: ! "{\n \"first_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=foo%40bar.com&offset=0\",
|
170
|
-
\n \"items\": [], \n \"previous_uri\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=foo%40bar.com&offset=0\",
|
171
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 0, \n \"next_uri\":
|
172
|
-
null, \n \"last_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=foo%40bar.com&offset=0\"\n}"
|
173
|
-
http_version: !!null
|
174
|
-
recorded_at: Fri, 06 Jul 2012 04:24:04 GMT
|
175
|
-
recorded_with: VCR 2.2.2
|
@@ -1,186 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- balanced-ruby/0.3.5
|
12
|
-
Authorization:
|
13
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: !!null
|
18
|
-
headers:
|
19
|
-
content-type:
|
20
|
-
- application/json
|
21
|
-
date:
|
22
|
-
- Fri, 06 Jul 2012 04:24:00 GMT
|
23
|
-
server:
|
24
|
-
- nginx/1.0.14
|
25
|
-
x-balanced-guru:
|
26
|
-
- OHM69606356c72211e1a476026ba7e239a9
|
27
|
-
x-balanced-marketplace:
|
28
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
29
|
-
x-balanced-merchant:
|
30
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
31
|
-
x-balanced-version:
|
32
|
-
- ''
|
33
|
-
content-length:
|
34
|
-
- '2062'
|
35
|
-
connection:
|
36
|
-
- Close
|
37
|
-
body:
|
38
|
-
encoding: US-ASCII
|
39
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
40
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
41
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
42
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
43
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC37Gs6XP3gcheHoLnuDaMOJ\",
|
44
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
45
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"bank_accounts_uri\":
|
46
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/bank_accounts\", \n \"support_phone_number\":
|
47
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/refunds\",
|
48
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/debits\",
|
49
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/holds\",
|
50
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/transactions\",
|
51
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts\",
|
52
|
-
\n \"id\": \"TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"credits_uri\":
|
53
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/credits\", \n \"cards_uri\":
|
54
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/cards\"\n }, \n \"name\":
|
55
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
56
|
-
\n \"created_at\": \"2012-07-06T04:23:55.134151Z\", \n \"uri\":
|
57
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"accounts_uri\":
|
58
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/accounts\", \n \"meta\":
|
59
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
60
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
61
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/api_keys\", \n \"id\":
|
62
|
-
\"TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"street_address\": \"123 Fake
|
63
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
64
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
65
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
66
|
-
http_version: !!null
|
67
|
-
recorded_at: Fri, 06 Jul 2012 04:24:01 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- balanced-ruby/0.3.5
|
77
|
-
Authorization:
|
78
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
79
|
-
response:
|
80
|
-
status:
|
81
|
-
code: 200
|
82
|
-
message: !!null
|
83
|
-
headers:
|
84
|
-
content-type:
|
85
|
-
- application/json
|
86
|
-
date:
|
87
|
-
- Fri, 06 Jul 2012 04:24:02 GMT
|
88
|
-
server:
|
89
|
-
- nginx/1.0.14
|
90
|
-
x-balanced-guru:
|
91
|
-
- OHM6a79f05ec72211e1ad0d026ba7e5e72e
|
92
|
-
x-balanced-marketplace:
|
93
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
94
|
-
x-balanced-merchant:
|
95
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
96
|
-
x-balanced-version:
|
97
|
-
- ''
|
98
|
-
content-length:
|
99
|
-
- '2062'
|
100
|
-
connection:
|
101
|
-
- Close
|
102
|
-
body:
|
103
|
-
encoding: US-ASCII
|
104
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
105
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
106
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
107
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
108
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC37Gs6XP3gcheHoLnuDaMOJ\",
|
109
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
110
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"bank_accounts_uri\":
|
111
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/bank_accounts\", \n \"support_phone_number\":
|
112
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/refunds\",
|
113
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/debits\",
|
114
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/holds\",
|
115
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/transactions\",
|
116
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts\",
|
117
|
-
\n \"id\": \"TEST-MP37ipYHIZCJYNVu4hNAgbaN\", \n \"credits_uri\":
|
118
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/credits\", \n \"cards_uri\":
|
119
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/cards\"\n }, \n \"name\":
|
120
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
121
|
-
\n \"created_at\": \"2012-07-06T04:23:55.134151Z\", \n \"uri\":
|
122
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"accounts_uri\":
|
123
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/accounts\", \n \"meta\":
|
124
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
125
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
126
|
-
\"/v1/merchants/TEST-MR36oxV2BZ6BFoehSzWvOSaa/api_keys\", \n \"id\":
|
127
|
-
\"TEST-MR36oxV2BZ6BFoehSzWvOSaa\", \n \"street_address\": \"123 Fake
|
128
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
129
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
130
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
131
|
-
http_version: !!null
|
132
|
-
recorded_at: Fri, 06 Jul 2012 04:24:03 GMT
|
133
|
-
- request:
|
134
|
-
method: get
|
135
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?email_address=john.doe%40example.com
|
136
|
-
body:
|
137
|
-
encoding: US-ASCII
|
138
|
-
string: ''
|
139
|
-
headers:
|
140
|
-
User-Agent:
|
141
|
-
- balanced-ruby/0.3.5
|
142
|
-
Authorization:
|
143
|
-
- Basic NjYyM2Q4MTJjNzIyMTFlMTllYWUwMjZiYTdlNWU3MmU6
|
144
|
-
response:
|
145
|
-
status:
|
146
|
-
code: 200
|
147
|
-
message: !!null
|
148
|
-
headers:
|
149
|
-
content-type:
|
150
|
-
- application/json
|
151
|
-
date:
|
152
|
-
- Fri, 06 Jul 2012 04:24:03 GMT
|
153
|
-
server:
|
154
|
-
- nginx/1.0.14
|
155
|
-
x-balanced-guru:
|
156
|
-
- OHM6ab21d76c72211e1a476026ba7e239a9
|
157
|
-
x-balanced-marketplace:
|
158
|
-
- TEST-MP37ipYHIZCJYNVu4hNAgbaN
|
159
|
-
x-balanced-merchant:
|
160
|
-
- TEST-MR36oxV2BZ6BFoehSzWvOSaa
|
161
|
-
x-balanced-version:
|
162
|
-
- ''
|
163
|
-
content-length:
|
164
|
-
- '1638'
|
165
|
-
connection:
|
166
|
-
- Close
|
167
|
-
body:
|
168
|
-
encoding: US-ASCII
|
169
|
-
string: ! "{\n \"first_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=john.doe%40example.com&offset=0\",
|
170
|
-
\n \"items\": [\n {\n \"holds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/holds\",
|
171
|
-
\n \"name\": null, \n \"roles\": [\n \"buyer\"\n ],
|
172
|
-
\n \"created_at\": \"2012-07-06T04:23:58.995503Z\", \n \"uri\":
|
173
|
-
\"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy\",
|
174
|
-
\n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/bank_accounts\",
|
175
|
-
\n \"refunds_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/refunds\",
|
176
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/debits\",
|
177
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/transactions\",
|
178
|
-
\n \"email_address\": \"john.doe@example.com\", \n \"id\": \"AC3aJPDRPCxqjmnWBW7oIKSy\",
|
179
|
-
\n \"credits_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/credits\",
|
180
|
-
\n \"cards_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts/AC3aJPDRPCxqjmnWBW7oIKSy/cards\"\n
|
181
|
-
\ }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=john.doe%40example.com&offset=0\",
|
182
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
183
|
-
null, \n \"last_uri\": \"/v1/marketplaces/TEST-MP37ipYHIZCJYNVu4hNAgbaN/accounts?limit=10&email_address=john.doe%40example.com&offset=0\"\n}"
|
184
|
-
http_version: !!null
|
185
|
-
recorded_at: Fri, 06 Jul 2012 04:24:03 GMT
|
186
|
-
recorded_with: VCR 2.2.2
|
@@ -1,530 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- balanced-ruby/0.3.5
|
12
|
-
Authorization:
|
13
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 200
|
17
|
-
message: !!null
|
18
|
-
headers:
|
19
|
-
content-type:
|
20
|
-
- application/json
|
21
|
-
date:
|
22
|
-
- Fri, 06 Jul 2012 04:23:29 GMT
|
23
|
-
server:
|
24
|
-
- nginx/1.0.14
|
25
|
-
x-balanced-guru:
|
26
|
-
- OHM56699452c72211e19eae026ba7e5e72e
|
27
|
-
x-balanced-marketplace:
|
28
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
29
|
-
x-balanced-merchant:
|
30
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
31
|
-
x-balanced-version:
|
32
|
-
- ''
|
33
|
-
content-length:
|
34
|
-
- '2062'
|
35
|
-
connection:
|
36
|
-
- Close
|
37
|
-
body:
|
38
|
-
encoding: US-ASCII
|
39
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
40
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
41
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
42
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
43
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC1TCUdnBEr1KwYUyKqb91wZ\",
|
44
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
45
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"bank_accounts_uri\":
|
46
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/bank_accounts\", \n \"support_phone_number\":
|
47
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/refunds\",
|
48
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/debits\",
|
49
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/holds\",
|
50
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/transactions\",
|
51
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts\",
|
52
|
-
\n \"id\": \"TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"credits_uri\":
|
53
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/credits\", \n \"cards_uri\":
|
54
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards\"\n }, \n \"name\":
|
55
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
56
|
-
\n \"created_at\": \"2012-07-06T04:22:47.628360Z\", \n \"uri\":
|
57
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"accounts_uri\":
|
58
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/accounts\", \n \"meta\":
|
59
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
60
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
61
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/api_keys\", \n \"id\":
|
62
|
-
\"TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"street_address\": \"123 Fake
|
63
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
64
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
65
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
66
|
-
http_version: !!null
|
67
|
-
recorded_at: Fri, 06 Jul 2012 04:23:29 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- balanced-ruby/0.3.5
|
77
|
-
Authorization:
|
78
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
79
|
-
response:
|
80
|
-
status:
|
81
|
-
code: 200
|
82
|
-
message: !!null
|
83
|
-
headers:
|
84
|
-
content-type:
|
85
|
-
- application/json
|
86
|
-
date:
|
87
|
-
- Fri, 06 Jul 2012 04:23:29 GMT
|
88
|
-
server:
|
89
|
-
- nginx/1.0.14
|
90
|
-
x-balanced-guru:
|
91
|
-
- OHM56bcfbc4c72211e1a476026ba7e239a9
|
92
|
-
x-balanced-marketplace:
|
93
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
94
|
-
x-balanced-merchant:
|
95
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
96
|
-
x-balanced-version:
|
97
|
-
- ''
|
98
|
-
content-length:
|
99
|
-
- '2062'
|
100
|
-
connection:
|
101
|
-
- Close
|
102
|
-
body:
|
103
|
-
encoding: US-ASCII
|
104
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
105
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
106
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
107
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
108
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC1TCUdnBEr1KwYUyKqb91wZ\",
|
109
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
110
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"bank_accounts_uri\":
|
111
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/bank_accounts\", \n \"support_phone_number\":
|
112
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/refunds\",
|
113
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/debits\",
|
114
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/holds\",
|
115
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/transactions\",
|
116
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts\",
|
117
|
-
\n \"id\": \"TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"credits_uri\":
|
118
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/credits\", \n \"cards_uri\":
|
119
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards\"\n }, \n \"name\":
|
120
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
121
|
-
\n \"created_at\": \"2012-07-06T04:22:47.628360Z\", \n \"uri\":
|
122
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"accounts_uri\":
|
123
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/accounts\", \n \"meta\":
|
124
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
125
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
126
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/api_keys\", \n \"id\":
|
127
|
-
\"TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"street_address\": \"123 Fake
|
128
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
129
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
130
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
131
|
-
http_version: !!null
|
132
|
-
recorded_at: Fri, 06 Jul 2012 04:23:29 GMT
|
133
|
-
- request:
|
134
|
-
method: post
|
135
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards
|
136
|
-
body:
|
137
|
-
encoding: UTF-8
|
138
|
-
string: ! '{"card_number":"4111111111111111","expiration_month":"12","expiration_year":"2015"}'
|
139
|
-
headers:
|
140
|
-
User-Agent:
|
141
|
-
- balanced-ruby/0.3.5
|
142
|
-
Authorization:
|
143
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
144
|
-
Content-Type:
|
145
|
-
- application/json
|
146
|
-
response:
|
147
|
-
status:
|
148
|
-
code: 201
|
149
|
-
message: !!null
|
150
|
-
headers:
|
151
|
-
content-type:
|
152
|
-
- application/json
|
153
|
-
date:
|
154
|
-
- Fri, 06 Jul 2012 04:23:30 GMT
|
155
|
-
server:
|
156
|
-
- nginx/1.0.14
|
157
|
-
x-balanced-guru:
|
158
|
-
- OHM56f7cbc8c72211e1ad0d026ba7e5e72e
|
159
|
-
x-balanced-marketplace:
|
160
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
161
|
-
x-balanced-merchant:
|
162
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
163
|
-
x-balanced-version:
|
164
|
-
- ''
|
165
|
-
content-length:
|
166
|
-
- '371'
|
167
|
-
connection:
|
168
|
-
- Close
|
169
|
-
body:
|
170
|
-
encoding: US-ASCII
|
171
|
-
string: ! "{\n \"card_type\": \"visa\", \n \"account\": null, \n \"name\":
|
172
|
-
null, \n \"expiration_year\": 2015, \n \"created_at\": \"2012-07-06T04:23:30.077548Z\",
|
173
|
-
\n \"brand\": \"Visa\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards/CC2EdhVvBsNqDds4bKiTbKj4\",
|
174
|
-
\n \"expiration_month\": 12, \n \"is_valid\": true, \n \"meta\": {}, \n
|
175
|
-
\ \"last_four\": 1111, \n \"id\": \"CC2EdhVvBsNqDds4bKiTbKj4\"\n}"
|
176
|
-
http_version: !!null
|
177
|
-
recorded_at: Fri, 06 Jul 2012 04:23:30 GMT
|
178
|
-
- request:
|
179
|
-
method: get
|
180
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
181
|
-
body:
|
182
|
-
encoding: US-ASCII
|
183
|
-
string: ''
|
184
|
-
headers:
|
185
|
-
User-Agent:
|
186
|
-
- balanced-ruby/0.3.5
|
187
|
-
Authorization:
|
188
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
189
|
-
response:
|
190
|
-
status:
|
191
|
-
code: 200
|
192
|
-
message: !!null
|
193
|
-
headers:
|
194
|
-
content-type:
|
195
|
-
- application/json
|
196
|
-
date:
|
197
|
-
- Fri, 06 Jul 2012 04:23:30 GMT
|
198
|
-
server:
|
199
|
-
- nginx/1.0.14
|
200
|
-
x-balanced-guru:
|
201
|
-
- OHM575d330ac72211e1a977026ba7e239a9
|
202
|
-
x-balanced-marketplace:
|
203
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
204
|
-
x-balanced-merchant:
|
205
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
206
|
-
x-balanced-version:
|
207
|
-
- ''
|
208
|
-
content-length:
|
209
|
-
- '2062'
|
210
|
-
connection:
|
211
|
-
- Close
|
212
|
-
body:
|
213
|
-
encoding: US-ASCII
|
214
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
215
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
216
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
217
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
218
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC1TCUdnBEr1KwYUyKqb91wZ\",
|
219
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
220
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"bank_accounts_uri\":
|
221
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/bank_accounts\", \n \"support_phone_number\":
|
222
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/refunds\",
|
223
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/debits\",
|
224
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/holds\",
|
225
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/transactions\",
|
226
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts\",
|
227
|
-
\n \"id\": \"TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"credits_uri\":
|
228
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/credits\", \n \"cards_uri\":
|
229
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards\"\n }, \n \"name\":
|
230
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
231
|
-
\n \"created_at\": \"2012-07-06T04:22:47.628360Z\", \n \"uri\":
|
232
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"accounts_uri\":
|
233
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/accounts\", \n \"meta\":
|
234
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
235
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
236
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/api_keys\", \n \"id\":
|
237
|
-
\"TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"street_address\": \"123 Fake
|
238
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
239
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
240
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
241
|
-
http_version: !!null
|
242
|
-
recorded_at: Fri, 06 Jul 2012 04:23:30 GMT
|
243
|
-
- request:
|
244
|
-
method: get
|
245
|
-
uri: https://api.balancedpayments.com/v1/merchants
|
246
|
-
body:
|
247
|
-
encoding: US-ASCII
|
248
|
-
string: ''
|
249
|
-
headers:
|
250
|
-
User-Agent:
|
251
|
-
- balanced-ruby/0.3.5
|
252
|
-
Authorization:
|
253
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
254
|
-
response:
|
255
|
-
status:
|
256
|
-
code: 200
|
257
|
-
message: !!null
|
258
|
-
headers:
|
259
|
-
content-type:
|
260
|
-
- application/json
|
261
|
-
date:
|
262
|
-
- Fri, 06 Jul 2012 04:23:31 GMT
|
263
|
-
server:
|
264
|
-
- nginx/1.0.14
|
265
|
-
x-balanced-guru:
|
266
|
-
- OHM57a5dab0c72211e1ad0d026ba7e5e72e
|
267
|
-
x-balanced-marketplace:
|
268
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
269
|
-
x-balanced-merchant:
|
270
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
271
|
-
x-balanced-version:
|
272
|
-
- ''
|
273
|
-
content-length:
|
274
|
-
- '2062'
|
275
|
-
connection:
|
276
|
-
- Close
|
277
|
-
body:
|
278
|
-
encoding: US-ASCII
|
279
|
-
string: ! "{\n \"first_uri\": \"/v1/merchants?limit=10&offset=0\", \n \"items\":
|
280
|
-
[\n {\n \"phone_number\": \"+16505551212\", \n \"city\": \"Nowhere\",
|
281
|
-
\n \"marketplace\": {\n \"in_escrow\": 0, \n \"domain_url\":
|
282
|
-
\"example.com\", \n \"name\": \"Test Marketplace\", \n \"owner_account_uri\":
|
283
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC1TCUdnBEr1KwYUyKqb91wZ\",
|
284
|
-
\n \"support_email_address\": \"support@example.com\", \n \"uri\":
|
285
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"bank_accounts_uri\":
|
286
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/bank_accounts\", \n \"support_phone_number\":
|
287
|
-
\"+16505551234\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/refunds\",
|
288
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/debits\",
|
289
|
-
\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/holds\",
|
290
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/transactions\",
|
291
|
-
\n \"accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts\",
|
292
|
-
\n \"id\": \"TEST-MP1TeztGGOGLPPCo2cLKo6SZ\", \n \"credits_uri\":
|
293
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/credits\", \n \"cards_uri\":
|
294
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards\"\n }, \n \"name\":
|
295
|
-
\"William Henry Cavendish III\", \n \"email_address\": \"whc@example.org\",
|
296
|
-
\n \"created_at\": \"2012-07-06T04:22:47.628360Z\", \n \"uri\":
|
297
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"accounts_uri\":
|
298
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/accounts\", \n \"meta\":
|
299
|
-
{}, \n \"postal_code\": \"90210\", \n \"country_code\": \"USA\",
|
300
|
-
\n \"type\": \"person\", \n \"balance\": 0, \n \"api_keys_uri\":
|
301
|
-
\"/v1/merchants/TEST-MR1StaiKg1wIPZi4BqZBFKgK/api_keys\", \n \"id\":
|
302
|
-
\"TEST-MR1StaiKg1wIPZi4BqZBFKgK\", \n \"street_address\": \"123 Fake
|
303
|
-
St\"\n }\n ], \n \"previous_uri\": null, \n \"uri\": \"/v1/merchants?limit=10&offset=0\",
|
304
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 1, \n \"next_uri\":
|
305
|
-
null, \n \"last_uri\": \"/v1/merchants?limit=10&offset=0\"\n}"
|
306
|
-
http_version: !!null
|
307
|
-
recorded_at: Fri, 06 Jul 2012 04:23:31 GMT
|
308
|
-
- request:
|
309
|
-
method: post
|
310
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards
|
311
|
-
body:
|
312
|
-
encoding: UTF-8
|
313
|
-
string: ! '{"card_number":"5105105105105100","expiration_month":"1","expiration_year":"2017"}'
|
314
|
-
headers:
|
315
|
-
User-Agent:
|
316
|
-
- balanced-ruby/0.3.5
|
317
|
-
Authorization:
|
318
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
319
|
-
Content-Type:
|
320
|
-
- application/json
|
321
|
-
response:
|
322
|
-
status:
|
323
|
-
code: 201
|
324
|
-
message: !!null
|
325
|
-
headers:
|
326
|
-
content-type:
|
327
|
-
- application/json
|
328
|
-
date:
|
329
|
-
- Fri, 06 Jul 2012 04:23:31 GMT
|
330
|
-
server:
|
331
|
-
- nginx/1.0.14
|
332
|
-
x-balanced-guru:
|
333
|
-
- OHM57e4da8ac72211e1a476026ba7e239a9
|
334
|
-
x-balanced-marketplace:
|
335
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
336
|
-
x-balanced-merchant:
|
337
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
338
|
-
x-balanced-version:
|
339
|
-
- ''
|
340
|
-
content-length:
|
341
|
-
- '382'
|
342
|
-
connection:
|
343
|
-
- Close
|
344
|
-
body:
|
345
|
-
encoding: US-ASCII
|
346
|
-
string: ! "{\n \"card_type\": \"mastercard\", \n \"account\": null, \n \"name\":
|
347
|
-
null, \n \"expiration_year\": 2017, \n \"created_at\": \"2012-07-06T04:23:31.665822Z\",
|
348
|
-
\n \"brand\": \"MasterCard\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards/CC2FZGL3Lpoqgf9hjTlGx8OR\",
|
349
|
-
\n \"expiration_month\": 1, \n \"is_valid\": true, \n \"meta\": {}, \n
|
350
|
-
\ \"last_four\": 5100, \n \"id\": \"CC2FZGL3Lpoqgf9hjTlGx8OR\"\n}"
|
351
|
-
http_version: !!null
|
352
|
-
recorded_at: Fri, 06 Jul 2012 04:23:32 GMT
|
353
|
-
- request:
|
354
|
-
method: post
|
355
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts
|
356
|
-
body:
|
357
|
-
encoding: UTF-8
|
358
|
-
string: ! '{"email_address":"buyer4@example.org","card_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards/CC2EdhVvBsNqDds4bKiTbKj4","name":"Jack
|
359
|
-
Q Buyer"}'
|
360
|
-
headers:
|
361
|
-
User-Agent:
|
362
|
-
- balanced-ruby/0.3.5
|
363
|
-
Authorization:
|
364
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
365
|
-
Content-Type:
|
366
|
-
- application/json
|
367
|
-
response:
|
368
|
-
status:
|
369
|
-
code: 201
|
370
|
-
message: !!null
|
371
|
-
headers:
|
372
|
-
content-type:
|
373
|
-
- application/json
|
374
|
-
date:
|
375
|
-
- Fri, 06 Jul 2012 04:23:32 GMT
|
376
|
-
server:
|
377
|
-
- nginx/1.0.14
|
378
|
-
x-balanced-guru:
|
379
|
-
- OHM586ae936c72211e1ad0d026ba7e5e72e
|
380
|
-
x-balanced-marketplace:
|
381
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
382
|
-
x-balanced-merchant:
|
383
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
384
|
-
x-balanced-version:
|
385
|
-
- ''
|
386
|
-
content-length:
|
387
|
-
- '1077'
|
388
|
-
connection:
|
389
|
-
- Close
|
390
|
-
body:
|
391
|
-
encoding: US-ASCII
|
392
|
-
string: ! "{\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/holds\",
|
393
|
-
\n \"name\": \"Jack Q Buyer\", \n \"roles\": [\n \"buyer\"\n ], \n \"created_at\":
|
394
|
-
\"2012-07-06T04:23:32.403298Z\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc\",
|
395
|
-
\n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/bank_accounts\",
|
396
|
-
\n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/refunds\",
|
397
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/debits\",
|
398
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/transactions\",
|
399
|
-
\n \"email_address\": \"buyer4@example.org\", \n \"id\": \"AC2GPtKLMD99vyeMhZ9YlDVc\",
|
400
|
-
\n \"credits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/credits\",
|
401
|
-
\n \"cards_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards\"\n}"
|
402
|
-
http_version: !!null
|
403
|
-
recorded_at: Fri, 06 Jul 2012 04:23:33 GMT
|
404
|
-
- request:
|
405
|
-
method: put
|
406
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc
|
407
|
-
body:
|
408
|
-
encoding: UTF-8
|
409
|
-
string: ! '{"holds_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/holds","name":"Jack
|
410
|
-
Q Buyer","roles":["buyer"],"created_at":"2012-07-06T04:23:32.403298Z","bank_accounts_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/bank_accounts","refunds_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/refunds","meta":{},"debits_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/debits","transactions_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/transactions","email_address":"buyer4@example.org","id":"AC2GPtKLMD99vyeMhZ9YlDVc","credits_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/credits","cards_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards","card_uri":"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/cards/CC2FZGL3Lpoqgf9hjTlGx8OR"}'
|
411
|
-
headers:
|
412
|
-
User-Agent:
|
413
|
-
- balanced-ruby/0.3.5
|
414
|
-
Authorization:
|
415
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
416
|
-
Content-Type:
|
417
|
-
- application/json
|
418
|
-
response:
|
419
|
-
status:
|
420
|
-
code: 200
|
421
|
-
message: !!null
|
422
|
-
headers:
|
423
|
-
content-type:
|
424
|
-
- application/json
|
425
|
-
date:
|
426
|
-
- Fri, 06 Jul 2012 04:23:33 GMT
|
427
|
-
server:
|
428
|
-
- nginx/1.0.14
|
429
|
-
x-balanced-guru:
|
430
|
-
- OHM590c936cc72211e1a977026ba7e239a9
|
431
|
-
x-balanced-marketplace:
|
432
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
433
|
-
x-balanced-merchant:
|
434
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
435
|
-
x-balanced-version:
|
436
|
-
- ''
|
437
|
-
content-length:
|
438
|
-
- '1077'
|
439
|
-
connection:
|
440
|
-
- Close
|
441
|
-
body:
|
442
|
-
encoding: US-ASCII
|
443
|
-
string: ! "{\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/holds\",
|
444
|
-
\n \"name\": \"Jack Q Buyer\", \n \"roles\": [\n \"buyer\"\n ], \n \"created_at\":
|
445
|
-
\"2012-07-06T04:23:32.403298Z\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc\",
|
446
|
-
\n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/bank_accounts\",
|
447
|
-
\n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/refunds\",
|
448
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/debits\",
|
449
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/transactions\",
|
450
|
-
\n \"email_address\": \"buyer4@example.org\", \n \"id\": \"AC2GPtKLMD99vyeMhZ9YlDVc\",
|
451
|
-
\n \"credits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/credits\",
|
452
|
-
\n \"cards_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards\"\n}"
|
453
|
-
http_version: !!null
|
454
|
-
recorded_at: Fri, 06 Jul 2012 04:23:34 GMT
|
455
|
-
- request:
|
456
|
-
method: get
|
457
|
-
uri: https://api.balancedpayments.com/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards
|
458
|
-
body:
|
459
|
-
encoding: US-ASCII
|
460
|
-
string: ''
|
461
|
-
headers:
|
462
|
-
User-Agent:
|
463
|
-
- balanced-ruby/0.3.5
|
464
|
-
Authorization:
|
465
|
-
- Basic M2RkZGE5MDBjNzIyMTFlMWEyOWMwMjZiYTdlNWU3MmU6
|
466
|
-
response:
|
467
|
-
status:
|
468
|
-
code: 200
|
469
|
-
message: !!null
|
470
|
-
headers:
|
471
|
-
content-type:
|
472
|
-
- application/json
|
473
|
-
date:
|
474
|
-
- Fri, 06 Jul 2012 04:23:34 GMT
|
475
|
-
server:
|
476
|
-
- nginx/1.0.14
|
477
|
-
x-balanced-guru:
|
478
|
-
- OHM596bbc48c72211e1a29c026ba7e5e72e
|
479
|
-
x-balanced-marketplace:
|
480
|
-
- TEST-MP1TeztGGOGLPPCo2cLKo6SZ
|
481
|
-
x-balanced-merchant:
|
482
|
-
- TEST-MR1StaiKg1wIPZi4BqZBFKgK
|
483
|
-
x-balanced-version:
|
484
|
-
- ''
|
485
|
-
content-length:
|
486
|
-
- '3765'
|
487
|
-
connection:
|
488
|
-
- Close
|
489
|
-
body:
|
490
|
-
encoding: US-ASCII
|
491
|
-
string: ! "{\n \"first_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards?limit=10&offset=0\",
|
492
|
-
\n \"items\": [\n {\n \"expiration_month\": 1, \n \"account\":
|
493
|
-
{\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/holds\",
|
494
|
-
\n \"name\": \"Jack Q Buyer\", \n \"roles\": [\n \"buyer\"\n
|
495
|
-
\ ], \n \"created_at\": \"2012-07-06T04:23:32.403298Z\", \n \"uri\":
|
496
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc\",
|
497
|
-
\n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/bank_accounts\",
|
498
|
-
\n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/refunds\",
|
499
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/debits\",
|
500
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/transactions\",
|
501
|
-
\n \"email_address\": \"buyer4@example.org\", \n \"id\": \"AC2GPtKLMD99vyeMhZ9YlDVc\",
|
502
|
-
\n \"credits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/credits\",
|
503
|
-
\n \"cards_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards\"\n
|
504
|
-
\ }, \n \"name\": null, \n \"expiration_year\": 2017, \n \"created_at\":
|
505
|
-
\"2012-07-06T04:23:31.665822Z\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards/CC2FZGL3Lpoqgf9hjTlGx8OR\",
|
506
|
-
\n \"id\": \"CC2FZGL3Lpoqgf9hjTlGx8OR\", \n \"card_type\": \"mastercard\",
|
507
|
-
\n \"is_valid\": true, \n \"meta\": {}, \n \"last_four\": 5100,
|
508
|
-
\n \"brand\": \"MasterCard\"\n }, \n {\n \"expiration_month\":
|
509
|
-
12, \n \"account\": {\n \"holds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/holds\",
|
510
|
-
\n \"name\": \"Jack Q Buyer\", \n \"roles\": [\n \"buyer\"\n
|
511
|
-
\ ], \n \"created_at\": \"2012-07-06T04:23:32.403298Z\", \n \"uri\":
|
512
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc\",
|
513
|
-
\n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/bank_accounts\",
|
514
|
-
\n \"refunds_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/refunds\",
|
515
|
-
\n \"meta\": {}, \n \"debits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/debits\",
|
516
|
-
\n \"transactions_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/transactions\",
|
517
|
-
\n \"email_address\": \"buyer4@example.org\", \n \"id\": \"AC2GPtKLMD99vyeMhZ9YlDVc\",
|
518
|
-
\n \"credits_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/credits\",
|
519
|
-
\n \"cards_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards\"\n
|
520
|
-
\ }, \n \"name\": null, \n \"expiration_year\": 2015, \n \"created_at\":
|
521
|
-
\"2012-07-06T04:23:30.077548Z\", \n \"uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards/CC2EdhVvBsNqDds4bKiTbKj4\",
|
522
|
-
\n \"id\": \"CC2EdhVvBsNqDds4bKiTbKj4\", \n \"card_type\": \"visa\",
|
523
|
-
\n \"is_valid\": true, \n \"meta\": {}, \n \"last_four\": 1111,
|
524
|
-
\n \"brand\": \"Visa\"\n }\n ], \n \"previous_uri\": null, \n \"uri\":
|
525
|
-
\"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards?limit=10&offset=0\",
|
526
|
-
\n \"limit\": 10, \n \"offset\": 0, \n \"total\": 2, \n \"next_uri\":
|
527
|
-
null, \n \"last_uri\": \"/v1/marketplaces/TEST-MP1TeztGGOGLPPCo2cLKo6SZ/accounts/AC2GPtKLMD99vyeMhZ9YlDVc/cards?limit=10&offset=0\"\n}"
|
528
|
-
http_version: !!null
|
529
|
-
recorded_at: Fri, 06 Jul 2012 04:23:34 GMT
|
530
|
-
recorded_with: VCR 2.2.2
|