balanced 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/CHANGELOG.md +5 -0
- data/lib/balanced/resources/credit.rb +2 -7
- data/lib/balanced/resources/debit.rb +2 -7
- data/lib/balanced/resources/order.rb +10 -9
- data/lib/balanced/version.rb +1 -1
- data/scenarios/api_key_create/ruby.mako +6 -6
- data/scenarios/api_key_delete/ruby.mako +2 -2
- data/scenarios/api_key_list/ruby.mako +10 -10
- data/scenarios/api_key_show/ruby.mako +6 -6
- data/scenarios/bank_account_associate_to_customer/definition.rb +1 -1
- data/scenarios/bank_account_associate_to_customer/request.rb +2 -2
- data/scenarios/bank_account_associate_to_customer/ruby.mako +15 -15
- data/scenarios/bank_account_create/ruby.mako +11 -11
- data/scenarios/bank_account_credit/ruby.mako +15 -15
- data/scenarios/bank_account_debit/ruby.mako +15 -15
- data/scenarios/bank_account_delete/ruby.mako +2 -2
- data/scenarios/bank_account_list/ruby.mako +22 -22
- data/scenarios/bank_account_show/ruby.mako +12 -12
- data/scenarios/bank_account_update/ruby.mako +12 -12
- data/scenarios/bank_account_verification_create/ruby.mako +9 -9
- data/scenarios/bank_account_verification_show/ruby.mako +9 -9
- data/scenarios/bank_account_verification_update/ruby.mako +9 -9
- data/scenarios/callback_create/ruby.mako +4 -4
- data/scenarios/callback_delete/ruby.mako +2 -2
- data/scenarios/callback_list/ruby.mako +4 -4
- data/scenarios/callback_show/ruby.mako +5 -5
- data/scenarios/card_associate_to_customer/definition.rb +1 -1
- data/scenarios/card_associate_to_customer/request.rb +1 -1
- data/scenarios/card_associate_to_customer/ruby.mako +13 -14
- data/scenarios/card_create/ruby.mako +9 -9
- data/scenarios/card_create_dispute/definition.rb +1 -0
- data/scenarios/card_create_dispute/request.rb +4 -0
- data/scenarios/card_create_dispute/ruby.mako +53 -0
- data/scenarios/card_debit/ruby.mako +16 -16
- data/scenarios/card_debit_dispute/definition.rb +1 -0
- data/scenarios/card_debit_dispute/request.rb +5 -0
- data/scenarios/card_debit_dispute/ruby.mako +49 -0
- data/scenarios/card_delete/ruby.mako +2 -2
- data/scenarios/card_hold_capture/ruby.mako +16 -16
- data/scenarios/card_hold_create/ruby.mako +14 -14
- data/scenarios/card_hold_list/ruby.mako +25 -25
- data/scenarios/card_hold_show/ruby.mako +14 -14
- data/scenarios/card_hold_update/ruby.mako +14 -14
- data/scenarios/card_hold_void/definition.rb +1 -1
- data/scenarios/card_hold_void/request.rb +1 -1
- data/scenarios/card_hold_void/ruby.mako +17 -17
- data/scenarios/card_list/ruby.mako +18 -18
- data/scenarios/card_show/ruby.mako +10 -10
- data/scenarios/card_update/ruby.mako +10 -10
- data/scenarios/credit_list/ruby.mako +14 -14
- data/scenarios/credit_list_bank_account/ruby.mako +2 -2
- data/scenarios/credit_show/ruby.mako +15 -15
- data/scenarios/credit_update/ruby.mako +15 -15
- data/scenarios/customer_create/ruby.mako +18 -18
- data/scenarios/customer_delete/ruby.mako +1 -1
- data/scenarios/customer_list/ruby.mako +35 -35
- data/scenarios/customer_show/ruby.mako +19 -19
- data/scenarios/customer_update/ruby.mako +19 -19
- data/scenarios/debit_dispute_show/definition.rb +1 -0
- data/scenarios/debit_dispute_show/request.rb +3 -0
- data/scenarios/debit_dispute_show/ruby.mako +31 -0
- data/scenarios/debit_list/ruby.mako +29 -29
- data/scenarios/debit_show/ruby.mako +16 -16
- data/scenarios/debit_update/ruby.mako +16 -16
- data/scenarios/dispute_list/definition.rb +1 -0
- data/scenarios/dispute_list/request.rb +2 -0
- data/scenarios/dispute_list/ruby.mako +29 -0
- data/scenarios/dispute_show/definition.rb +1 -0
- data/scenarios/dispute_show/request.rb +2 -0
- data/scenarios/dispute_show/ruby.mako +31 -0
- data/scenarios/event_list/ruby.mako +55 -55
- data/scenarios/event_show/ruby.mako +35 -40
- data/scenarios/order_create/ruby.mako +14 -14
- data/scenarios/order_list/ruby.mako +13 -13
- data/scenarios/order_show/ruby.mako +14 -14
- data/scenarios/order_update/ruby.mako +14 -14
- data/scenarios/refund_create/ruby.mako +13 -13
- data/scenarios/refund_list/ruby.mako +12 -12
- data/scenarios/refund_show/ruby.mako +13 -13
- data/scenarios/refund_update/ruby.mako +13 -13
- data/scenarios/render_mako.rb +15 -3
- data/scenarios/reversal_create/ruby.mako +12 -12
- data/scenarios/reversal_list/ruby.mako +11 -11
- data/scenarios/reversal_show/ruby.mako +12 -12
- data/scenarios/reversal_update/ruby.mako +12 -12
- data/spec/balanced/resources/credit_spec.rb +26 -5
- data/spec/balanced/resources/debit_spec.rb +7 -2
- data/spec/balanced/resources/order_spec.rb +25 -3
- metadata +17 -3
- data/scenario.cache +0 -619
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: balanced
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Balanced
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -108,7 +108,6 @@ files:
|
|
108
108
|
- lib/balanced/response/balanced_exception_middleware.rb
|
109
109
|
- lib/balanced/utils.rb
|
110
110
|
- lib/balanced/version.rb
|
111
|
-
- scenario.cache
|
112
111
|
- scenarios/api_key_create/definition.rb
|
113
112
|
- scenarios/api_key_create/request.rb
|
114
113
|
- scenarios/api_key_create/ruby.mako
|
@@ -172,9 +171,15 @@ files:
|
|
172
171
|
- scenarios/card_create/definition.rb
|
173
172
|
- scenarios/card_create/request.rb
|
174
173
|
- scenarios/card_create/ruby.mako
|
174
|
+
- scenarios/card_create_dispute/definition.rb
|
175
|
+
- scenarios/card_create_dispute/request.rb
|
176
|
+
- scenarios/card_create_dispute/ruby.mako
|
175
177
|
- scenarios/card_debit/definition.rb
|
176
178
|
- scenarios/card_debit/request.rb
|
177
179
|
- scenarios/card_debit/ruby.mako
|
180
|
+
- scenarios/card_debit_dispute/definition.rb
|
181
|
+
- scenarios/card_debit_dispute/request.rb
|
182
|
+
- scenarios/card_debit_dispute/ruby.mako
|
178
183
|
- scenarios/card_delete/definition.rb
|
179
184
|
- scenarios/card_delete/request.rb
|
180
185
|
- scenarios/card_delete/ruby.mako
|
@@ -232,6 +237,9 @@ files:
|
|
232
237
|
- scenarios/customer_update/definition.rb
|
233
238
|
- scenarios/customer_update/request.rb
|
234
239
|
- scenarios/customer_update/ruby.mako
|
240
|
+
- scenarios/debit_dispute_show/definition.rb
|
241
|
+
- scenarios/debit_dispute_show/request.rb
|
242
|
+
- scenarios/debit_dispute_show/ruby.mako
|
235
243
|
- scenarios/debit_list/definition.rb
|
236
244
|
- scenarios/debit_list/request.rb
|
237
245
|
- scenarios/debit_list/ruby.mako
|
@@ -241,6 +249,12 @@ files:
|
|
241
249
|
- scenarios/debit_update/definition.rb
|
242
250
|
- scenarios/debit_update/request.rb
|
243
251
|
- scenarios/debit_update/ruby.mako
|
252
|
+
- scenarios/dispute_list/definition.rb
|
253
|
+
- scenarios/dispute_list/request.rb
|
254
|
+
- scenarios/dispute_list/ruby.mako
|
255
|
+
- scenarios/dispute_show/definition.rb
|
256
|
+
- scenarios/dispute_show/request.rb
|
257
|
+
- scenarios/dispute_show/ruby.mako
|
244
258
|
- scenarios/event_list/definition.rb
|
245
259
|
- scenarios/event_list/request.rb
|
246
260
|
- scenarios/event_list/ruby.mako
|
data/scenario.cache
DELETED
@@ -1,619 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"accept_type": "application/vnd.api+json;revision=1.1",
|
3
|
-
"api_key": "ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul",
|
4
|
-
"api_key_create": {
|
5
|
-
"request": {
|
6
|
-
"uri": "/api_keys"
|
7
|
-
},
|
8
|
-
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-03-06T19:22:18.256643Z\", \n \"href\": \"/api_keys/AK4Vt1mJyCtjdSiGgqAebarR\", \n \"id\": \"AK4Vt1mJyCtjdSiGgqAebarR\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-4bQUCg96rUwLV8FZXSTeq8WUSqROO9yT\"\n }\n ], \n \"links\": {}\n}"
|
9
|
-
},
|
10
|
-
"api_key_delete": {
|
11
|
-
"request": {
|
12
|
-
"uri": "/api_keys/AK4Vt1mJyCtjdSiGgqAebarR"
|
13
|
-
}
|
14
|
-
},
|
15
|
-
"api_key_list": {
|
16
|
-
"request": {
|
17
|
-
"uri": "/api_keys"
|
18
|
-
},
|
19
|
-
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-03-06T19:22:18.256643Z\", \n \"href\": \"/api_keys/AK4Vt1mJyCtjdSiGgqAebarR\", \n \"id\": \"AK4Vt1mJyCtjdSiGgqAebarR\", \n \"links\": {}, \n \"meta\": {}\n }, \n {\n \"created_at\": \"2014-03-06T19:22:11.872886Z\", \n \"href\": \"/api_keys/AK4OhVZUPzjD3YSCWBjU1dHO\", \n \"id\": \"AK4OhVZUPzjD3YSCWBjU1dHO\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul\"\n }\n ], \n \"links\": {}, \n \"meta\": {\n \"first\": \"/api_keys?limit=10&offset=0\", \n \"href\": \"/api_keys?limit=10&offset=0\", \n \"last\": \"/api_keys?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 2\n }\n}"
|
20
|
-
},
|
21
|
-
"api_key_show": {
|
22
|
-
"request": {
|
23
|
-
"uri": "/api_keys/AK4Vt1mJyCtjdSiGgqAebarR"
|
24
|
-
},
|
25
|
-
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-03-06T19:22:18.256643Z\", \n \"href\": \"/api_keys/AK4Vt1mJyCtjdSiGgqAebarR\", \n \"id\": \"AK4Vt1mJyCtjdSiGgqAebarR\", \n \"links\": {}, \n \"meta\": {}\n }\n ], \n \"links\": {}\n}"
|
26
|
-
},
|
27
|
-
"api_location": "https://api.balancedpayments.com",
|
28
|
-
"api_rev": "rev1",
|
29
|
-
"bank_account_associate_to_customer": {
|
30
|
-
"request": {
|
31
|
-
"customer_href": "/customers/CU64R7DS6DwuXYVg9RTskFK8",
|
32
|
-
"payload": {
|
33
|
-
"customer": "/customers/CU64R7DS6DwuXYVg9RTskFK8"
|
34
|
-
},
|
35
|
-
"uri": "/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m"
|
36
|
-
},
|
37
|
-
"response": "{\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:23:27.876147Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m\", \n \"id\": \"BA6bLGpQZPOiTNRxF24rMd9m\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:23:28.930538Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n}"
|
38
|
-
},
|
39
|
-
"bank_account_create": {
|
40
|
-
"request": {
|
41
|
-
"payload": {
|
42
|
-
"account_number": "9900000001",
|
43
|
-
"account_type": "checking",
|
44
|
-
"name": "Johann Bernoulli",
|
45
|
-
"routing_number": "121000358"
|
46
|
-
},
|
47
|
-
"uri": "/bank_accounts"
|
48
|
-
},
|
49
|
-
"response": "{\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:23:27.876147Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m\", \n \"id\": \"BA6bLGpQZPOiTNRxF24rMd9m\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:23:27.876150Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n}"
|
50
|
-
},
|
51
|
-
"bank_account_credit": {
|
52
|
-
"request": {
|
53
|
-
"bank_account_href": "/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m",
|
54
|
-
"payload": {
|
55
|
-
"amount": 5000
|
56
|
-
},
|
57
|
-
"uri": "/bank_accounts/BA6bLGpQZPOiTNRxF24rMd9m/credits"
|
58
|
-
},
|
59
|
-
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-03-06T19:23:54.514782Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR6NpuEtezCdLTYngDrSEODv\", \n \"id\": \"CR6NpuEtezCdLTYngDrSEODv\", \n \"links\": {\n \"customer\": \"CU64R7DS6DwuXYVg9RTskFK8\", \n \"destination\": \"BA6bLGpQZPOiTNRxF24rMd9m\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR855-415-1670\", \n \"updated_at\": \"2014-03-06T19:23:55.019500Z\"\n }\n ], \n \"links\": {\n \"credits.customer\": \"/customers/{credits.customer}\", \n \"credits.destination\": \"/resources/{credits.destination}\", \n \"credits.events\": \"/credits/{credits.id}/events\", \n \"credits.order\": \"/orders/{credits.order}\", \n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\n }\n}"
|
60
|
-
},
|
61
|
-
"bank_account_debit": {
|
62
|
-
"request": {
|
63
|
-
"bank_account_href": "/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM",
|
64
|
-
"payload": {
|
65
|
-
"amount": 5000,
|
66
|
-
"appears_on_statement_as": "Statement text",
|
67
|
-
"description": "Some descriptive text for the debit in the dashboard"
|
68
|
-
},
|
69
|
-
"uri": "/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM/debits"
|
70
|
-
},
|
71
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:22:35.961050Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5qunOPeKdCnWXIg9EHyHge\", \n \"id\": \"WD5qunOPeKdCnWXIg9EHyHge\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"BA50LpPrCTB63Ecm0wEgdOQM\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W051-293-0823\", \n \"updated_at\": \"2014-03-06T19:22:36.418154Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n}"
|
72
|
-
},
|
73
|
-
"bank_account_delete": {
|
74
|
-
"request": {
|
75
|
-
"uri": "/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"bank_account_list": {
|
79
|
-
"request": {
|
80
|
-
"uri": "/bank_accounts"
|
81
|
-
},
|
82
|
-
"response": "{\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:22:30.247406Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V\", \n \"id\": \"BA58WYAEUMrEtAkW5KAvWo5V\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:22:30.247410Z\"\n }, \n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2014-03-06T19:22:22.966278Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM\", \n \"id\": \"BA50LpPrCTB63Ecm0wEgdOQM\", \n \"links\": {\n \"bank_account_verification\": \"BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:22:27.888575Z\"\n }, \n {\n \"account_number\": \"xxxxxxxxxxx5555\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"WELLS FARGO BANK NA\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2014-03-06T19:22:12.982029Z\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"href\": \"/bank_accounts/BA4WYHt1wCRMAJGm6k0BDaeR\", \n \"id\": \"BA4WYHt1wCRMAJGm6k0BDaeR\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU4Wt8xSbREzV2NWtdVAFGeR\"\n }, \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"updated_at\": \"2014-03-06T19:22:12.982032Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }, \n \"meta\": {\n \"first\": \"/bank_accounts?limit=10&offset=0\", \n \"href\": \"/bank_accounts?limit=10&offset=0\", \n \"last\": \"/bank_accounts?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 3\n }\n}"
|
83
|
-
},
|
84
|
-
"bank_account_show": {
|
85
|
-
"request": {
|
86
|
-
"uri": "/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V"
|
87
|
-
},
|
88
|
-
"response": "{\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:22:30.247406Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V\", \n \"id\": \"BA58WYAEUMrEtAkW5KAvWo5V\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:22:30.247410Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n}"
|
89
|
-
},
|
90
|
-
"bank_account_update": {
|
91
|
-
"request": {
|
92
|
-
"payload": {
|
93
|
-
"meta": {
|
94
|
-
"facebook.user_id": "0192837465",
|
95
|
-
"my-own-customer-id": "12345",
|
96
|
-
"twitter.id": "1234987650"
|
97
|
-
}
|
98
|
-
},
|
99
|
-
"uri": "/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V"
|
100
|
-
},
|
101
|
-
"response": "{\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"checking\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:22:30.247406Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V\", \n \"id\": \"BA58WYAEUMrEtAkW5KAvWo5V\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {\n \"facebook.user_id\": \"0192837465\", \n \"my-own-customer-id\": \"12345\", \n \"twitter.id\": \"1234987650\"\n }, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:22:33.744499Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n}"
|
102
|
-
},
|
103
|
-
"bank_account_verification_create": {
|
104
|
-
"request": {
|
105
|
-
"bank_account_uri": "/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM",
|
106
|
-
"uri": "/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM/verifications"
|
107
|
-
},
|
108
|
-
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2014-03-06T19:22:24.651572Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"id\": \"BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"links\": {\n \"bank_account\": \"BA50LpPrCTB63Ecm0wEgdOQM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:22:25.233126Z\", \n \"verification_status\": \"pending\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
|
109
|
-
},
|
110
|
-
"bank_account_verification_show": {
|
111
|
-
"request": {
|
112
|
-
"uri": "/verifications/BZ5alC0fajkuBOvOU7lVT7QJ"
|
113
|
-
},
|
114
|
-
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2014-03-06T19:22:24.651572Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"id\": \"BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"links\": {\n \"bank_account\": \"BA50LpPrCTB63Ecm0wEgdOQM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:22:25.233126Z\", \n \"verification_status\": \"pending\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
|
115
|
-
},
|
116
|
-
"bank_account_verification_update": {
|
117
|
-
"request": {
|
118
|
-
"payload": {
|
119
|
-
"amount_1": 1,
|
120
|
-
"amount_2": 1
|
121
|
-
},
|
122
|
-
"uri": "/verifications/BZ5alC0fajkuBOvOU7lVT7QJ"
|
123
|
-
},
|
124
|
-
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 1, \n \"attempts_remaining\": 2, \n \"created_at\": \"2014-03-06T19:22:24.651572Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"id\": \"BZ5alC0fajkuBOvOU7lVT7QJ\", \n \"links\": {\n \"bank_account\": \"BA50LpPrCTB63Ecm0wEgdOQM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:22:27.893114Z\", \n \"verification_status\": \"succeeded\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
|
125
|
-
},
|
126
|
-
"callback_create": {
|
127
|
-
"request": {
|
128
|
-
"payload": {
|
129
|
-
"method": "post",
|
130
|
-
"url": "http://www.example.com/callback"
|
131
|
-
},
|
132
|
-
"uri": "/callbacks"
|
133
|
-
},
|
134
|
-
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB5pnz4XnaDpRFGlNMb6u50R\", \n \"id\": \"CB5pnz4XnaDpRFGlNMb6u50R\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"links\": {}\n}"
|
135
|
-
},
|
136
|
-
"callback_delete": {
|
137
|
-
"request": {
|
138
|
-
"uri": "/callbacks/CB5pnz4XnaDpRFGlNMb6u50R"
|
139
|
-
}
|
140
|
-
},
|
141
|
-
"callback_list": {
|
142
|
-
"request": {
|
143
|
-
"uri": "/callbacks"
|
144
|
-
},
|
145
|
-
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB5pnz4XnaDpRFGlNMb6u50R\", \n \"id\": \"CB5pnz4XnaDpRFGlNMb6u50R\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"links\": {}, \n \"meta\": {\n \"first\": \"/callbacks?limit=10&offset=0\", \n \"href\": \"/callbacks?limit=10&offset=0\", \n \"last\": \"/callbacks?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
|
146
|
-
},
|
147
|
-
"callback_show": {
|
148
|
-
"request": {
|
149
|
-
"uri": "/callbacks/CB5pnz4XnaDpRFGlNMb6u50R"
|
150
|
-
},
|
151
|
-
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB5pnz4XnaDpRFGlNMb6u50R\", \n \"id\": \"CB5pnz4XnaDpRFGlNMb6u50R\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"links\": {}\n}"
|
152
|
-
},
|
153
|
-
"card": {
|
154
|
-
"address": {
|
155
|
-
"city": "Balo Alto",
|
156
|
-
"country_code": "USA",
|
157
|
-
"line1": null,
|
158
|
-
"line2": null,
|
159
|
-
"postal_code": "10023",
|
160
|
-
"state": null
|
161
|
-
},
|
162
|
-
"avs_postal_match": "yes",
|
163
|
-
"avs_result": "Postal code matches, but street address not verified.",
|
164
|
-
"avs_street_match": "yes",
|
165
|
-
"brand": "Visa",
|
166
|
-
"created_at": "2014-03-06T19:22:15.395346Z",
|
167
|
-
"cvv": null,
|
168
|
-
"cvv_match": null,
|
169
|
-
"cvv_result": null,
|
170
|
-
"expiration_month": 4,
|
171
|
-
"expiration_year": 2016,
|
172
|
-
"fingerprint": "979a26c05f2fb1c7ae38656312b176da2c9be1d938d442040bc79539caac6c0d",
|
173
|
-
"href": "/cards/CC4SdMF0rukpL3XdVvpqoC4m",
|
174
|
-
"id": "CC4SdMF0rukpL3XdVvpqoC4m",
|
175
|
-
"is_verified": true,
|
176
|
-
"links": {
|
177
|
-
"customer": "CU4Q8w3Fcg1ed7rrx2bWcw18"
|
178
|
-
},
|
179
|
-
"meta": {},
|
180
|
-
"name": "Benny Riemann",
|
181
|
-
"number": "xxxxxxxxxxxx1111",
|
182
|
-
"updated_at": "2014-03-06T19:22:15.395350Z"
|
183
|
-
},
|
184
|
-
"card_associate_to_customer": {
|
185
|
-
"request": {
|
186
|
-
"payload": {
|
187
|
-
"customer": "/customers/CU64R7DS6DwuXYVg9RTskFK8"
|
188
|
-
},
|
189
|
-
"uri": "/cards/CC68IoCVpoFlkugB7xt52p8C"
|
190
|
-
},
|
191
|
-
"response": "{\n \"cards\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:23:25.159503Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC68IoCVpoFlkugB7xt52p8C\", \n \"id\": \"CC68IoCVpoFlkugB7xt52p8C\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:23:25.633918Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }\n}"
|
192
|
-
},
|
193
|
-
"card_create": {
|
194
|
-
"request": {
|
195
|
-
"payload": {
|
196
|
-
"cvv": "123",
|
197
|
-
"expiration_month": "12",
|
198
|
-
"expiration_year": "2020",
|
199
|
-
"number": "5105105105105100"
|
200
|
-
},
|
201
|
-
"uri": "/cards"
|
202
|
-
},
|
203
|
-
"response": "{\n \"cards\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:23:25.159503Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC68IoCVpoFlkugB7xt52p8C\", \n \"id\": \"CC68IoCVpoFlkugB7xt52p8C\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:23:25.159506Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }\n}"
|
204
|
-
},
|
205
|
-
"card_debit": {
|
206
|
-
"request": {
|
207
|
-
"card_href": "/cards/CC68IoCVpoFlkugB7xt52p8C",
|
208
|
-
"payload": {
|
209
|
-
"amount": 5000,
|
210
|
-
"appears_on_statement_as": "Statement text",
|
211
|
-
"description": "Some descriptive text for the debit in the dashboard"
|
212
|
-
},
|
213
|
-
"uri": "/cards/CC68IoCVpoFlkugB7xt52p8C/debits"
|
214
|
-
},
|
215
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:23:44.148512Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"id\": \"WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"links\": {\n \"customer\": \"CU64R7DS6DwuXYVg9RTskFK8\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC68IoCVpoFlkugB7xt52p8C\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W274-713-3734\", \n \"updated_at\": \"2014-03-06T19:23:45.554127Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n}"
|
216
|
-
},
|
217
|
-
"card_delete": {
|
218
|
-
"request": {
|
219
|
-
"uri": "/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O"
|
220
|
-
}
|
221
|
-
},
|
222
|
-
"card_hold_capture": {
|
223
|
-
"request": {
|
224
|
-
"card_hold_href": "/card_holds/HL5wAfv8JaMsEn9idXrLZZZT",
|
225
|
-
"payload": {
|
226
|
-
"appears_on_statement_as": "ShowsUpOnStmt",
|
227
|
-
"description": "Some descriptive text for the debit in the dashboard"
|
228
|
-
},
|
229
|
-
"uri": "/card_holds/HL5wAfv8JaMsEn9idXrLZZZT/debits"
|
230
|
-
},
|
231
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2014-03-06T19:22:49.584629Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5Co9XwRZJg1QtvC5QeekhX\", \n \"id\": \"WD5Co9XwRZJg1QtvC5QeekhX\", \n \"links\": {\n \"customer\": \"CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC5nCSU0yFp3qxR4p6UZST7y\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W493-697-4873\", \n \"updated_at\": \"2014-03-06T19:22:50.608819Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n}"
|
232
|
-
},
|
233
|
-
"card_hold_create": {
|
234
|
-
"request": {
|
235
|
-
"card_href": "/cards/CC5nCSU0yFp3qxR4p6UZST7y",
|
236
|
-
"payload": {
|
237
|
-
"amount": 5000,
|
238
|
-
"description": "Some descriptive text for the debit in the dashboard"
|
239
|
-
},
|
240
|
-
"uri": "/cards/CC5nCSU0yFp3qxR4p6UZST7y/card_holds"
|
241
|
-
},
|
242
|
-
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-03-06T19:22:51.758438Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-03-13T19:22:52.154430Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL5Ig892KbmJyDqED5fYsJ8m\", \n \"id\": \"HL5Ig892KbmJyDqED5fYsJ8m\", \n \"links\": {\n \"card\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL671-938-5651\", \n \"updated_at\": \"2014-03-06T19:22:52.362482Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n}"
|
243
|
-
},
|
244
|
-
"card_hold_list": {
|
245
|
-
"request": {
|
246
|
-
"uri": "/card_holds"
|
247
|
-
},
|
248
|
-
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-03-06T19:22:44.421804Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-03-13T19:22:44.661981Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL5wAfv8JaMsEn9idXrLZZZT\", \n \"id\": \"HL5wAfv8JaMsEn9idXrLZZZT\", \n \"links\": {\n \"card\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL116-606-6128\", \n \"updated_at\": \"2014-03-06T19:22:44.816617Z\", \n \"voided_at\": null\n }, \n {\n \"amount\": 10000000, \n \"created_at\": \"2014-03-06T19:22:16.137074Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": \"2014-03-13T19:22:16.821934Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL50LRASJbs8Kbcwqpu2TFdD\", \n \"id\": \"HL50LRASJbs8Kbcwqpu2TFdD\", \n \"links\": {\n \"card\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"debit\": \"WD50VxLKoVBNdkbovF4D56xX\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL974-747-7939\", \n \"updated_at\": \"2014-03-06T19:22:17.708358Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }, \n \"meta\": {\n \"first\": \"/card_holds?limit=10&offset=0\", \n \"href\": \"/card_holds?limit=10&offset=0\", \n \"last\": \"/card_holds?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 2\n }\n}"
|
249
|
-
},
|
250
|
-
"card_hold_show": {
|
251
|
-
"request": {
|
252
|
-
"uri": "/card_holds/HL5wAfv8JaMsEn9idXrLZZZT"
|
253
|
-
},
|
254
|
-
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-03-06T19:22:44.421804Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-03-13T19:22:44.661981Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL5wAfv8JaMsEn9idXrLZZZT\", \n \"id\": \"HL5wAfv8JaMsEn9idXrLZZZT\", \n \"links\": {\n \"card\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL116-606-6128\", \n \"updated_at\": \"2014-03-06T19:22:44.816617Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n}"
|
255
|
-
},
|
256
|
-
"card_hold_update": {
|
257
|
-
"request": {
|
258
|
-
"payload": {
|
259
|
-
"description": "update this description",
|
260
|
-
"meta": {
|
261
|
-
"holding.for": "user1",
|
262
|
-
"meaningful.key": "some.value"
|
263
|
-
}
|
264
|
-
},
|
265
|
-
"uri": "/card_holds/HL5wAfv8JaMsEn9idXrLZZZT"
|
266
|
-
},
|
267
|
-
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-03-06T19:22:44.421804Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"expires_at\": \"2014-03-13T19:22:44.661981Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL5wAfv8JaMsEn9idXrLZZZT\", \n \"id\": \"HL5wAfv8JaMsEn9idXrLZZZT\", \n \"links\": {\n \"card\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"debit\": null\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL116-606-6128\", \n \"updated_at\": \"2014-03-06T19:22:48.496101Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n}"
|
268
|
-
},
|
269
|
-
"card_hold_void": {
|
270
|
-
"request": {
|
271
|
-
"payload": {
|
272
|
-
"is_void": "true"
|
273
|
-
},
|
274
|
-
"uri": "/card_holds/HL5Ig892KbmJyDqED5fYsJ8m"
|
275
|
-
},
|
276
|
-
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-03-06T19:22:51.758438Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-03-13T19:22:52.154430Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL5Ig892KbmJyDqED5fYsJ8m\", \n \"id\": \"HL5Ig892KbmJyDqED5fYsJ8m\", \n \"links\": {\n \"card\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL671-938-5651\", \n \"updated_at\": \"2014-03-06T19:22:52.865612Z\", \n \"voided_at\": \"2014-03-06T19:22:52.865616Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n}"
|
277
|
-
},
|
278
|
-
"card_id": "CC4SdMF0rukpL3XdVvpqoC4m",
|
279
|
-
"card_list": {
|
280
|
-
"request": {
|
281
|
-
"uri": "/cards"
|
282
|
-
},
|
283
|
-
"response": "{\n \"cards\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:22:55.617351Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"id\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:22:55.617354Z\"\n }, \n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:22:43.295192Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC5nCSU0yFp3qxR4p6UZST7y\", \n \"id\": \"CC5nCSU0yFp3qxR4p6UZST7y\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU4Wt8xSbREzV2NWtdVAFGeR\"\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:22:44.417128Z\"\n }, \n {\n \"address\": {\n \"city\": \"Balo Alto\", \n \"country_code\": \"USA\", \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"10023\", \n \"state\": null\n }, \n \"avs_postal_match\": \"yes\", \n \"avs_result\": \"Postal code matches, but street address not verified.\", \n \"avs_street_match\": \"yes\", \n \"brand\": \"Visa\", \n \"created_at\": \"2014-03-06T19:22:15.395346Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 4, \n \"expiration_year\": 2016, \n \"fingerprint\": \"979a26c05f2fb1c7ae38656312b176da2c9be1d938d442040bc79539caac6c0d\", \n \"href\": \"/cards/CC4SdMF0rukpL3XdVvpqoC4m\", \n \"id\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\"\n }, \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"number\": \"xxxxxxxxxxxx1111\", \n \"updated_at\": \"2014-03-06T19:22:15.395350Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }, \n \"meta\": {\n \"first\": \"/cards?limit=10&offset=0\", \n \"href\": \"/cards?limit=10&offset=0\", \n \"last\": \"/cards?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 3\n }\n}"
|
284
|
-
},
|
285
|
-
"card_show": {
|
286
|
-
"request": {
|
287
|
-
"uri": "/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O"
|
288
|
-
},
|
289
|
-
"response": "{\n \"cards\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:22:55.617351Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"id\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:22:55.617354Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }\n}"
|
290
|
-
},
|
291
|
-
"card_update": {
|
292
|
-
"request": {
|
293
|
-
"payload": {
|
294
|
-
"meta": {
|
295
|
-
"facebook.user_id": "0192837465",
|
296
|
-
"my-own-customer-id": "12345",
|
297
|
-
"twitter.id": "1234987650"
|
298
|
-
}
|
299
|
-
},
|
300
|
-
"uri": "/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O"
|
301
|
-
},
|
302
|
-
"response": "{\n \"cards\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"avs_postal_match\": null, \n \"avs_result\": null, \n \"avs_street_match\": null, \n \"brand\": \"MasterCard\", \n \"created_at\": \"2014-03-06T19:22:55.617351Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"id\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {\n \"facebook.user_id\": \"0192837465\", \n \"my-own-customer-id\": \"12345\", \n \"twitter.id\": \"1234987650\"\n }, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-03-06T19:22:59.186980Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }\n}"
|
303
|
-
},
|
304
|
-
"card_uri": "/cards/CC4SdMF0rukpL3XdVvpqoC4m",
|
305
|
-
"cards_uri": "/customers/CU4Q8w3Fcg1ed7rrx2bWcw18/cards",
|
306
|
-
"credit_list": {
|
307
|
-
"request": {
|
308
|
-
"uri": "/credits"
|
309
|
-
},
|
310
|
-
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-03-06T19:23:08.771807Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR5XXPwA1ckaTDSIg3593sEx\", \n \"id\": \"CR5XXPwA1ckaTDSIg3593sEx\", \n \"links\": {\n \"customer\": \"CU5LVuaZG7gURfbA7TuMNoZa\", \n \"destination\": \"BA5OqdmH8URGBYpilMITWsNW\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR570-678-5174\", \n \"updated_at\": \"2014-03-06T19:23:09.525306Z\"\n }\n ], \n \"links\": {\n \"credits.customer\": \"/customers/{credits.customer}\", \n \"credits.destination\": \"/resources/{credits.destination}\", \n \"credits.events\": \"/credits/{credits.id}/events\", \n \"credits.order\": \"/orders/{credits.order}\", \n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\n }, \n \"meta\": {\n \"first\": \"/credits?limit=10&offset=0\", \n \"href\": \"/credits?limit=10&offset=0\", \n \"last\": \"/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
|
311
|
-
},
|
312
|
-
"credit_list_bank_account": {
|
313
|
-
"request": {
|
314
|
-
"bank_account_href": "/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V",
|
315
|
-
"uri": "/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V/credits"
|
316
|
-
},
|
317
|
-
"response": "{\n \"links\": {}, \n \"meta\": {\n \"first\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V/credits?limit=10&offset=0\", \n \"href\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V/credits?limit=10&offset=0\", \n \"last\": \"/bank_accounts/BA58WYAEUMrEtAkW5KAvWo5V/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 0\n }\n}"
|
318
|
-
},
|
319
|
-
"credit_show": {
|
320
|
-
"request": {
|
321
|
-
"uri": "/credits/CR5XXPwA1ckaTDSIg3593sEx"
|
322
|
-
},
|
323
|
-
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-03-06T19:23:08.771807Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR5XXPwA1ckaTDSIg3593sEx\", \n \"id\": \"CR5XXPwA1ckaTDSIg3593sEx\", \n \"links\": {\n \"customer\": \"CU5LVuaZG7gURfbA7TuMNoZa\", \n \"destination\": \"BA5OqdmH8URGBYpilMITWsNW\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR570-678-5174\", \n \"updated_at\": \"2014-03-06T19:23:09.525306Z\"\n }\n ], \n \"links\": {\n \"credits.customer\": \"/customers/{credits.customer}\", \n \"credits.destination\": \"/resources/{credits.destination}\", \n \"credits.events\": \"/credits/{credits.id}/events\", \n \"credits.order\": \"/orders/{credits.order}\", \n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\n }\n}"
|
324
|
-
},
|
325
|
-
"credit_update": {
|
326
|
-
"request": {
|
327
|
-
"payload": {
|
328
|
-
"description": "New description for credit",
|
329
|
-
"meta": {
|
330
|
-
"anykey": "valuegoeshere",
|
331
|
-
"facebook.id": "1234567890"
|
332
|
-
}
|
333
|
-
},
|
334
|
-
"uri": "/credits/CR5XXPwA1ckaTDSIg3593sEx"
|
335
|
-
},
|
336
|
-
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-03-06T19:23:08.771807Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for credit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR5XXPwA1ckaTDSIg3593sEx\", \n \"id\": \"CR5XXPwA1ckaTDSIg3593sEx\", \n \"links\": {\n \"customer\": \"CU5LVuaZG7gURfbA7TuMNoZa\", \n \"destination\": \"BA5OqdmH8URGBYpilMITWsNW\", \n \"order\": null\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR570-678-5174\", \n \"updated_at\": \"2014-03-06T19:23:14.259690Z\"\n }\n ], \n \"links\": {\n \"credits.customer\": \"/customers/{credits.customer}\", \n \"credits.destination\": \"/resources/{credits.destination}\", \n \"credits.events\": \"/credits/{credits.id}/events\", \n \"credits.order\": \"/orders/{credits.order}\", \n \"credits.reversals\": \"/credits/{credits.id}/reversals\"\n }\n}"
|
337
|
-
},
|
338
|
-
"customer": {
|
339
|
-
"address": {
|
340
|
-
"city": null,
|
341
|
-
"country_code": null,
|
342
|
-
"line1": null,
|
343
|
-
"line2": null,
|
344
|
-
"postal_code": null,
|
345
|
-
"state": null
|
346
|
-
},
|
347
|
-
"business_name": null,
|
348
|
-
"created_at": "2014-03-06T19:22:13.513707Z",
|
349
|
-
"dob_month": null,
|
350
|
-
"dob_year": null,
|
351
|
-
"ein": null,
|
352
|
-
"email": null,
|
353
|
-
"href": "/customers/CU4Q8w3Fcg1ed7rrx2bWcw18",
|
354
|
-
"id": "CU4Q8w3Fcg1ed7rrx2bWcw18",
|
355
|
-
"links": {
|
356
|
-
"destination": null,
|
357
|
-
"source": null
|
358
|
-
},
|
359
|
-
"merchant_status": "no-match",
|
360
|
-
"meta": {},
|
361
|
-
"name": null,
|
362
|
-
"phone": null,
|
363
|
-
"ssn_last4": null,
|
364
|
-
"updated_at": "2014-03-06T19:22:13.936010Z"
|
365
|
-
},
|
366
|
-
"customer_create": {
|
367
|
-
"request": {
|
368
|
-
"payload": {
|
369
|
-
"address": {
|
370
|
-
"postal_code": "48120"
|
371
|
-
},
|
372
|
-
"dob_month": 7,
|
373
|
-
"dob_year": 1963,
|
374
|
-
"name": "Henry Ford"
|
375
|
-
},
|
376
|
-
"uri": "/customers"
|
377
|
-
},
|
378
|
-
"response": "{\n \"customers\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"48120\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:23:21.728225Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU64R7DS6DwuXYVg9RTskFK8\", \n \"id\": \"CU64R7DS6DwuXYVg9RTskFK8\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"Henry Ford\", \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:23:22.907102Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n}"
|
379
|
-
},
|
380
|
-
"customer_delete": {
|
381
|
-
"request": {
|
382
|
-
"uri": "/customers/CU64R7DS6DwuXYVg9RTskFK8"
|
383
|
-
}
|
384
|
-
},
|
385
|
-
"customer_list": {
|
386
|
-
"request": {
|
387
|
-
"uri": "/customers"
|
388
|
-
},
|
389
|
-
"response": "{\n \"customers\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"48120\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:23:15.982885Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU5YopHN07Ul5XQnILUifeQT\", \n \"id\": \"CU5YopHN07Ul5XQnILUifeQT\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"Henry Ford\", \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:23:16.724050Z\"\n }, \n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"48120\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:23:04.895882Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU5LVuaZG7gURfbA7TuMNoZa\", \n \"id\": \"CU5LVuaZG7gURfbA7TuMNoZa\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"Henry Ford\", \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:23:05.747337Z\"\n }, \n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:22:13.513707Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"id\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"no-match\", \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:22:13.936010Z\"\n }, \n {\n \"address\": {\n \"city\": \"Nowhere\", \n \"country_code\": \"USA\", \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"90210\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:22:12.312268Z\", \n \"dob_month\": 2, \n \"dob_year\": 1947, \n \"ein\": null, \n \"email\": \"whc@example.org\", \n \"href\": \"/customers/CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"id\": \"CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"phone\": \"+16505551212\", \n \"ssn_last4\": \"xxxx\", \n \"updated_at\": \"2014-03-06T19:22:12.718847Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }, \n \"meta\": {\n \"first\": \"/customers?limit=10&offset=0\", \n \"href\": \"/customers?limit=10&offset=0\", \n \"last\": \"/customers?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 4\n }\n}"
|
390
|
-
},
|
391
|
-
"customer_show": {
|
392
|
-
"request": {
|
393
|
-
"uri": "/customers/CU5YopHN07Ul5XQnILUifeQT"
|
394
|
-
},
|
395
|
-
"response": "{\n \"customers\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"48120\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:23:15.982885Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU5YopHN07Ul5XQnILUifeQT\", \n \"id\": \"CU5YopHN07Ul5XQnILUifeQT\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"Henry Ford\", \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:23:16.724050Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n}"
|
396
|
-
},
|
397
|
-
"customer_update": {
|
398
|
-
"request": {
|
399
|
-
"payload": {
|
400
|
-
"email": "email@newdomain.com",
|
401
|
-
"meta": {
|
402
|
-
"shipping-preference": "ground"
|
403
|
-
}
|
404
|
-
},
|
405
|
-
"uri": "/customers/CU5YopHN07Ul5XQnILUifeQT"
|
406
|
-
},
|
407
|
-
"response": "{\n \"customers\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"48120\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:23:15.982885Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": \"email@newdomain.com\", \n \"href\": \"/customers/CU5YopHN07Ul5XQnILUifeQT\", \n \"id\": \"CU5YopHN07Ul5XQnILUifeQT\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {\n \"shipping-preference\": \"ground\"\n }, \n \"name\": \"Henry Ford\", \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:23:20.140160Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n}"
|
408
|
-
},
|
409
|
-
"customers_uri": "/customers",
|
410
|
-
"debit": {
|
411
|
-
"debits": [
|
412
|
-
{
|
413
|
-
"amount": 10000000,
|
414
|
-
"appears_on_statement_as": "BAL*example.com",
|
415
|
-
"created_at": "2014-03-06T19:22:16.279376Z",
|
416
|
-
"currency": "USD",
|
417
|
-
"description": null,
|
418
|
-
"failure_reason": null,
|
419
|
-
"failure_reason_code": null,
|
420
|
-
"href": "/debits/WD50VxLKoVBNdkbovF4D56xX",
|
421
|
-
"id": "WD50VxLKoVBNdkbovF4D56xX",
|
422
|
-
"links": {
|
423
|
-
"customer": "CU4Q8w3Fcg1ed7rrx2bWcw18",
|
424
|
-
"dispute": null,
|
425
|
-
"order": null,
|
426
|
-
"source": "CC4SdMF0rukpL3XdVvpqoC4m"
|
427
|
-
},
|
428
|
-
"meta": {},
|
429
|
-
"status": "succeeded",
|
430
|
-
"transaction_number": "W465-333-0144",
|
431
|
-
"updated_at": "2014-03-06T19:22:17.695058Z"
|
432
|
-
}
|
433
|
-
],
|
434
|
-
"links": {
|
435
|
-
"debits.customer": "/customers/{debits.customer}",
|
436
|
-
"debits.dispute": "/disputes/{debits.dispute}",
|
437
|
-
"debits.events": "/debits/{debits.id}/events",
|
438
|
-
"debits.order": "/orders/{debits.order}",
|
439
|
-
"debits.refunds": "/debits/{debits.id}/refunds",
|
440
|
-
"debits.source": "/resources/{debits.source}"
|
441
|
-
}
|
442
|
-
},
|
443
|
-
"debit_list": {
|
444
|
-
"request": {
|
445
|
-
"uri": "/debits"
|
446
|
-
},
|
447
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:23:01.594300Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5PTwr2bwJLIyJio1pEpYBr\", \n \"id\": \"WD5PTwr2bwJLIyJio1pEpYBr\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W986-715-3969\", \n \"updated_at\": \"2014-03-06T19:23:02.987552Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2014-03-06T19:22:49.584629Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5Co9XwRZJg1QtvC5QeekhX\", \n \"id\": \"WD5Co9XwRZJg1QtvC5QeekhX\", \n \"links\": {\n \"customer\": \"CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC5nCSU0yFp3qxR4p6UZST7y\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W493-697-4873\", \n \"updated_at\": \"2014-03-06T19:22:50.608819Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:22:35.961050Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5qunOPeKdCnWXIg9EHyHge\", \n \"id\": \"WD5qunOPeKdCnWXIg9EHyHge\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"BA50LpPrCTB63Ecm0wEgdOQM\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W051-293-0823\", \n \"updated_at\": \"2014-03-06T19:22:36.418154Z\"\n }, \n {\n \"amount\": 10000000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2014-03-06T19:22:16.279376Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD50VxLKoVBNdkbovF4D56xX\", \n \"id\": \"WD50VxLKoVBNdkbovF4D56xX\", \n \"links\": {\n \"customer\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC4SdMF0rukpL3XdVvpqoC4m\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W465-333-0144\", \n \"updated_at\": \"2014-03-06T19:22:17.695058Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }, \n \"meta\": {\n \"first\": \"/debits?limit=10&offset=0\", \n \"href\": \"/debits?limit=10&offset=0\", \n \"last\": \"/debits?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 4\n }\n}"
|
448
|
-
},
|
449
|
-
"debit_show": {
|
450
|
-
"request": {
|
451
|
-
"uri": "/debits/WD5PTwr2bwJLIyJio1pEpYBr"
|
452
|
-
},
|
453
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:23:01.594300Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5PTwr2bwJLIyJio1pEpYBr\", \n \"id\": \"WD5PTwr2bwJLIyJio1pEpYBr\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W986-715-3969\", \n \"updated_at\": \"2014-03-06T19:23:02.987552Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n}"
|
454
|
-
},
|
455
|
-
"debit_update": {
|
456
|
-
"request": {
|
457
|
-
"payload": {
|
458
|
-
"description": "New description for debit",
|
459
|
-
"meta": {
|
460
|
-
"anykey": "valuegoeshere",
|
461
|
-
"facebook.id": "1234567890"
|
462
|
-
}
|
463
|
-
},
|
464
|
-
"uri": "/debits/WD5PTwr2bwJLIyJio1pEpYBr"
|
465
|
-
},
|
466
|
-
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-03-06T19:23:01.594300Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for debit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD5PTwr2bwJLIyJio1pEpYBr\", \n \"id\": \"WD5PTwr2bwJLIyJio1pEpYBr\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC5Buki6e4Kg4bDVZ3OSfQ8O\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W986-715-3969\", \n \"updated_at\": \"2014-03-06T19:23:33.383170Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n}"
|
467
|
-
},
|
468
|
-
"event_list": {
|
469
|
-
"request": {
|
470
|
-
"uri": "/events"
|
471
|
-
},
|
472
|
-
"response": "{\n \"events\": [\n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"customers\": [\n {\n \"address\": {\n \"city\": \"Nowhere\", \n \"country_code\": \"USA\", \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"90210\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:22:12.312268Z\", \n \"dob_month\": 2, \n \"dob_year\": 1947, \n \"ein\": null, \n \"email\": \"whc@example.org\", \n \"href\": \"/customers/CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"id\": \"CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"phone\": \"+16505551212\", \n \"ssn_last4\": \"xxxx\", \n \"updated_at\": \"2014-03-06T19:22:12.718847Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n }, \n \"href\": \"/events/EVa26caeeea56411e3838802219cc35fd9\", \n \"id\": \"EVa26caeeea56411e3838802219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:12.718000Z\", \n \"type\": \"account.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxxxxxxx5555\", \n \"account_type\": \"CHECKING\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"WELLS FARGO BANK NA\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2014-03-06T19:22:12.982029Z\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"href\": \"/bank_accounts/BA4WYHt1wCRMAJGm6k0BDaeR\", \n \"id\": \"BA4WYHt1wCRMAJGm6k0BDaeR\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU4Wt8xSbREzV2NWtdVAFGeR\"\n }, \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"updated_at\": \"2014-03-06T19:22:12.982032Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n }, \n \"href\": \"/events/EVa2d381faa56411e3838802219cc35fd9\", \n \"id\": \"EVa2d381faa56411e3838802219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:12.982000Z\", \n \"type\": \"bank_account.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"customers\": [\n {\n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:22:13.513707Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"id\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"no-match\", \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"ssn_last4\": null, \n \"updated_at\": \"2014-03-06T19:22:13.936010Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n }, \n \"href\": \"/events/EV9f0ef1c6a56411e3b231026ba7c1aba6\", \n \"id\": \"EV9f0ef1c6a56411e3b231026ba7c1aba6\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:13.936000Z\", \n \"type\": \"account.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"cards\": [\n {\n \"address\": {\n \"city\": \"Balo Alto\", \n \"country_code\": \"USA\", \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"10023\", \n \"state\": null\n }, \n \"avs_postal_match\": \"yes\", \n \"avs_result\": \"Postal code matches, but street address not verified.\", \n \"avs_street_match\": \"yes\", \n \"brand\": \"Visa\", \n \"created_at\": \"2014-03-06T19:22:15.395346Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 4, \n \"expiration_year\": 2016, \n \"fingerprint\": \"979a26c05f2fb1c7ae38656312b176da2c9be1d938d442040bc79539caac6c0d\", \n \"href\": \"/cards/CC4SdMF0rukpL3XdVvpqoC4m\", \n \"id\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\"\n }, \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"number\": \"xxxxxxxxxxxx1111\", \n \"updated_at\": \"2014-03-06T19:22:15.395350Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\"\n }\n }, \n \"href\": \"/events/EVa034f640a56411e3ac79026ba7c1aba6\", \n \"id\": \"EVa034f640a56411e3ac79026ba7c1aba6\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:15.395000Z\", \n \"type\": \"card.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 10000000, \n \"created_at\": \"2014-03-06T19:22:16.137074Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL50LRASJbs8Kbcwqpu2TFdD\", \n \"id\": \"HL50LRASJbs8Kbcwqpu2TFdD\", \n \"links\": {\n \"card\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"status\": \"failed\", \n \"transaction_number\": \"HL974-747-7939\", \n \"updated_at\": \"2014-03-06T19:22:16.137078Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n }, \n \"href\": \"/events/EVa4c0c84ca56411e3a10e02219cc35fd9\", \n \"id\": \"EVa4c0c84ca56411e3a10e02219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:16.137000Z\", \n \"type\": \"hold.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 10000000, \n \"created_at\": \"2014-03-06T19:22:16.137074Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": \"2014-03-13T19:22:16.821934Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL50LRASJbs8Kbcwqpu2TFdD\", \n \"id\": \"HL50LRASJbs8Kbcwqpu2TFdD\", \n \"links\": {\n \"card\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"debit\": \"WD50VxLKoVBNdkbovF4D56xX\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL974-747-7939\", \n \"updated_at\": \"2014-03-06T19:22:17.708358Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n }, \n \"href\": \"/events/EVa5363b72a56411e3a10e02219cc35fd9\", \n \"id\": \"EVa5363b72a56411e3a10e02219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:17.708000Z\", \n \"type\": \"hold.updated\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 10000000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2014-03-06T19:22:16.279376Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD50VxLKoVBNdkbovF4D56xX\", \n \"id\": \"WD50VxLKoVBNdkbovF4D56xX\", \n \"links\": {\n \"customer\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC4SdMF0rukpL3XdVvpqoC4m\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W465-333-0144\", \n \"updated_at\": \"2014-03-06T19:22:17.695058Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n }, \n \"href\": \"/events/EVa53707c8a56411e3a10e02219cc35fd9\", \n \"id\": \"EVa53707c8a56411e3a10e02219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:17.695000Z\", \n \"type\": \"debit.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 10000000, \n \"created_at\": \"2014-03-06T19:22:16.137074Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": \"2014-03-13T19:22:16.821934Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL50LRASJbs8Kbcwqpu2TFdD\", \n \"id\": \"HL50LRASJbs8Kbcwqpu2TFdD\", \n \"links\": {\n \"card\": \"CC4SdMF0rukpL3XdVvpqoC4m\", \n \"debit\": \"WD50VxLKoVBNdkbovF4D56xX\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL974-747-7939\", \n \"updated_at\": \"2014-03-06T19:22:17.708358Z\", \n \"voided_at\": null\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/cards/{card_holds.card}\", \n \"card_holds.debit\": \"/debits/{card_holds.debit}\", \n \"card_holds.debits\": \"/card_holds/{card_holds.id}/debits\", \n \"card_holds.events\": \"/card_holds/{card_holds.id}/events\"\n }\n }, \n \"href\": \"/events/EVa0b420d2a56411e3b09706d4d32471fd\", \n \"id\": \"EVa0b420d2a56411e3b09706d4d32471fd\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:17.708000Z\", \n \"type\": \"hold.captured\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 10000000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2014-03-06T19:22:16.279376Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD50VxLKoVBNdkbovF4D56xX\", \n \"id\": \"WD50VxLKoVBNdkbovF4D56xX\", \n \"links\": {\n \"customer\": \"CU4Q8w3Fcg1ed7rrx2bWcw18\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC4SdMF0rukpL3XdVvpqoC4m\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W465-333-0144\", \n \"updated_at\": \"2014-03-06T19:22:17.695058Z\"\n }\n ], \n \"links\": {\n \"debits.customer\": \"/customers/{debits.customer}\", \n \"debits.dispute\": \"/disputes/{debits.dispute}\", \n \"debits.events\": \"/debits/{debits.id}/events\", \n \"debits.order\": \"/orders/{debits.order}\", \n \"debits.refunds\": \"/debits/{debits.id}/refunds\", \n \"debits.source\": \"/resources/{debits.source}\"\n }\n }, \n \"href\": \"/events/EVa0ce9b24a56411e3aae506d4d32471fd\", \n \"id\": \"EVa0ce9b24a56411e3aae506d4d32471fd\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:17.695000Z\", \n \"type\": \"debit.succeeded\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"bank_accounts\": [\n {\n \"account_number\": \"xxxxxx0001\", \n \"account_type\": \"CHECKING\", \n \"address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_credit\": true, \n \"can_debit\": false, \n \"created_at\": \"2014-03-06T19:22:22.966278Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA50LpPrCTB63Ecm0wEgdOQM\", \n \"id\": \"BA50LpPrCTB63Ecm0wEgdOQM\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-03-06T19:22:22.966284Z\"\n }\n ], \n \"links\": {\n \"bank_accounts.bank_account_verification\": \"/verifications/{bank_accounts.bank_account_verification}\", \n \"bank_accounts.bank_account_verifications\": \"/bank_accounts/{bank_accounts.id}/verifications\", \n \"bank_accounts.credits\": \"/bank_accounts/{bank_accounts.id}/credits\", \n \"bank_accounts.customer\": \"/customers/{bank_accounts.customer}\", \n \"bank_accounts.debits\": \"/bank_accounts/{bank_accounts.id}/debits\"\n }\n }, \n \"href\": \"/events/EVa4bd5a9aa56411e38b3b026ba7f8ec28\", \n \"id\": \"EVa4bd5a9aa56411e38b3b026ba7f8ec28\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:22.966000Z\", \n \"type\": \"bank_account.created\"\n }\n ], \n \"links\": {\n \"events.callbacks\": \"/events/{events.self}/callbacks\"\n }, \n \"meta\": {\n \"first\": \"/events?limit=10&offset=0\", \n \"href\": \"/events?limit=10&offset=0\", \n \"last\": \"/events?limit=10&offset=50\", \n \"limit\": 10, \n \"next\": \"/events?limit=10&offset=10\", \n \"offset\": 0, \n \"previous\": null, \n \"total\": 57\n }\n}"
|
473
|
-
},
|
474
|
-
"event_show": {
|
475
|
-
"request": {
|
476
|
-
"uri": "/events/EVa26caeeea56411e3838802219cc35fd9"
|
477
|
-
},
|
478
|
-
"response": "{\n \"events\": [\n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"customers\": [\n {\n \"address\": {\n \"city\": \"Nowhere\", \n \"country_code\": \"USA\", \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": \"90210\", \n \"state\": null\n }, \n \"business_name\": null, \n \"created_at\": \"2014-03-06T19:22:12.312268Z\", \n \"dob_month\": 2, \n \"dob_year\": 1947, \n \"ein\": null, \n \"email\": \"whc@example.org\", \n \"href\": \"/customers/CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"id\": \"CU4Wt8xSbREzV2NWtdVAFGeR\", \n \"links\": {\n \"destination\": null, \n \"source\": null\n }, \n \"merchant_status\": \"underwritten\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"phone\": \"+16505551212\", \n \"ssn_last4\": \"xxxx\", \n \"updated_at\": \"2014-03-06T19:22:12.718847Z\"\n }\n ], \n \"links\": {\n \"customers.bank_accounts\": \"/customers/{customers.id}/bank_accounts\", \n \"customers.card_holds\": \"/customers/{customers.id}/card_holds\", \n \"customers.cards\": \"/customers/{customers.id}/cards\", \n \"customers.credits\": \"/customers/{customers.id}/credits\", \n \"customers.debits\": \"/customers/{customers.id}/debits\", \n \"customers.destination\": \"/resources/{customers.destination}\", \n \"customers.external_accounts\": \"/customers/{customers.id}/external_accounts\", \n \"customers.orders\": \"/customers/{customers.id}/orders\", \n \"customers.refunds\": \"/customers/{customers.id}/refunds\", \n \"customers.reversals\": \"/customers/{customers.id}/reversals\", \n \"customers.source\": \"/resources/{customers.source}\", \n \"customers.transactions\": \"/customers/{customers.id}/transactions\"\n }\n }, \n \"href\": \"/events/EVa26caeeea56411e3838802219cc35fd9\", \n \"id\": \"EVa26caeeea56411e3838802219cc35fd9\", \n \"links\": {}, \n \"occurred_at\": \"2014-03-06T19:22:12.718000Z\", \n \"type\": \"account.created\"\n }\n ], \n \"links\": {\n \"events.callbacks\": \"/events/{events.self}/callbacks\"\n }\n}"
|
479
|
-
},
|
480
|
-
"marketplace": {
|
481
|
-
"created_at": "2014-03-06T19:22:12.289111Z",
|
482
|
-
"domain_url": "example.com",
|
483
|
-
"href": "/marketplaces/TEST-MP4WroYryqRegCZd9nhFMgyJ",
|
484
|
-
"id": "TEST-MP4WroYryqRegCZd9nhFMgyJ",
|
485
|
-
"in_escrow": 0,
|
486
|
-
"links": {
|
487
|
-
"owner_customer": "CU4Wt8xSbREzV2NWtdVAFGeR"
|
488
|
-
},
|
489
|
-
"meta": {},
|
490
|
-
"name": "Test Marketplace",
|
491
|
-
"production": false,
|
492
|
-
"support_email_address": "support@example.com",
|
493
|
-
"support_phone_number": "+16505551234",
|
494
|
-
"unsettled_fees": 0,
|
495
|
-
"updated_at": "2014-03-06T19:22:13.041828Z"
|
496
|
-
},
|
497
|
-
"marketplace_id": "TEST-MP4WroYryqRegCZd9nhFMgyJ",
|
498
|
-
"marketplace_uri": "/marketplaces/TEST-MP4WroYryqRegCZd9nhFMgyJ",
|
499
|
-
"order_create": {
|
500
|
-
"request": {
|
501
|
-
"customer_href": "/customers/CU64R7DS6DwuXYVg9RTskFK8",
|
502
|
-
"payload": {
|
503
|
-
"description": "Order #12341234"
|
504
|
-
},
|
505
|
-
"uri": "/customers/CU64R7DS6DwuXYVg9RTskFK8/orders"
|
506
|
-
},
|
507
|
-
"response": "{\n \"links\": {\n \"orders.buyers\": \"/orders/{orders.id}/buyers\", \n \"orders.credits\": \"/orders/{orders.id}/credits\", \n \"orders.debits\": \"/orders/{orders.id}/debits\", \n \"orders.merchant\": \"/customers/{orders.merchant}\", \n \"orders.refunds\": \"/orders/{orders.id}/refunds\", \n \"orders.reversals\": \"/orders/{orders.id}/reversals\"\n }, \n \"orders\": [\n {\n \"amount\": 0, \n \"amount_escrowed\": 0, \n \"created_at\": \"2014-03-06T19:23:39.207291Z\", \n \"currency\": \"USD\", \n \"delivery_address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"description\": \"Order #12341234\", \n \"href\": \"/orders/OR6wcEVkOymvs4PairiGEcIx\", \n \"id\": \"OR6wcEVkOymvs4PairiGEcIx\", \n \"links\": {\n \"merchant\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:23:39.207294Z\"\n }\n ]\n}"
|
508
|
-
},
|
509
|
-
"order_list": {
|
510
|
-
"request": {
|
511
|
-
"uri": "/orders"
|
512
|
-
},
|
513
|
-
"response": "{\n \"links\": {\n \"orders.buyers\": \"/orders/{orders.id}/buyers\", \n \"orders.credits\": \"/orders/{orders.id}/credits\", \n \"orders.debits\": \"/orders/{orders.id}/debits\", \n \"orders.merchant\": \"/customers/{orders.merchant}\", \n \"orders.refunds\": \"/orders/{orders.id}/refunds\", \n \"orders.reversals\": \"/orders/{orders.id}/reversals\"\n }, \n \"meta\": {\n \"first\": \"/orders?limit=10&offset=0\", \n \"href\": \"/orders?limit=10&offset=0\", \n \"last\": \"/orders?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }, \n \"orders\": [\n {\n \"amount\": 0, \n \"amount_escrowed\": 0, \n \"created_at\": \"2014-03-06T19:23:39.207291Z\", \n \"currency\": \"USD\", \n \"delivery_address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"description\": \"Order #12341234\", \n \"href\": \"/orders/OR6wcEVkOymvs4PairiGEcIx\", \n \"id\": \"OR6wcEVkOymvs4PairiGEcIx\", \n \"links\": {\n \"merchant\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:23:39.207294Z\"\n }\n ]\n}"
|
514
|
-
},
|
515
|
-
"order_show": {
|
516
|
-
"request": {
|
517
|
-
"uri": "/orders/OR6wcEVkOymvs4PairiGEcIx"
|
518
|
-
},
|
519
|
-
"response": "{\n \"links\": {\n \"orders.buyers\": \"/orders/{orders.id}/buyers\", \n \"orders.credits\": \"/orders/{orders.id}/credits\", \n \"orders.debits\": \"/orders/{orders.id}/debits\", \n \"orders.merchant\": \"/customers/{orders.merchant}\", \n \"orders.refunds\": \"/orders/{orders.id}/refunds\", \n \"orders.reversals\": \"/orders/{orders.id}/reversals\"\n }, \n \"orders\": [\n {\n \"amount\": 0, \n \"amount_escrowed\": 0, \n \"created_at\": \"2014-03-06T19:23:39.207291Z\", \n \"currency\": \"USD\", \n \"delivery_address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"description\": \"Order #12341234\", \n \"href\": \"/orders/OR6wcEVkOymvs4PairiGEcIx\", \n \"id\": \"OR6wcEVkOymvs4PairiGEcIx\", \n \"links\": {\n \"merchant\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-03-06T19:23:39.207294Z\"\n }\n ]\n}"
|
520
|
-
},
|
521
|
-
"order_update": {
|
522
|
-
"request": {
|
523
|
-
"payload": {
|
524
|
-
"description": "New description for order",
|
525
|
-
"meta": {
|
526
|
-
"anykey": "valuegoeshere",
|
527
|
-
"product.id": "1234567890"
|
528
|
-
}
|
529
|
-
},
|
530
|
-
"uri": "/orders/OR6wcEVkOymvs4PairiGEcIx"
|
531
|
-
},
|
532
|
-
"response": "{\n \"links\": {\n \"orders.buyers\": \"/orders/{orders.id}/buyers\", \n \"orders.credits\": \"/orders/{orders.id}/credits\", \n \"orders.debits\": \"/orders/{orders.id}/debits\", \n \"orders.merchant\": \"/customers/{orders.merchant}\", \n \"orders.refunds\": \"/orders/{orders.id}/refunds\", \n \"orders.reversals\": \"/orders/{orders.id}/reversals\"\n }, \n \"orders\": [\n {\n \"amount\": 0, \n \"amount_escrowed\": 0, \n \"created_at\": \"2014-03-06T19:23:39.207291Z\", \n \"currency\": \"USD\", \n \"delivery_address\": {\n \"city\": null, \n \"country_code\": null, \n \"line1\": null, \n \"line2\": null, \n \"postal_code\": null, \n \"state\": null\n }, \n \"description\": \"New description for order\", \n \"href\": \"/orders/OR6wcEVkOymvs4PairiGEcIx\", \n \"id\": \"OR6wcEVkOymvs4PairiGEcIx\", \n \"links\": {\n \"merchant\": \"CU64R7DS6DwuXYVg9RTskFK8\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"product.id\": \"1234567890\"\n }, \n \"updated_at\": \"2014-03-06T19:23:42.673919Z\"\n }\n ]\n}"
|
533
|
-
},
|
534
|
-
"refund_create": {
|
535
|
-
"request": {
|
536
|
-
"debit_href": "/debits/WD6BKYhbRzlRhfKSE1DcpqS5",
|
537
|
-
"payload": {
|
538
|
-
"amount": 3000,
|
539
|
-
"description": "Refund for Order #1111",
|
540
|
-
"meta": {
|
541
|
-
"fulfillment.item.condition": "OK",
|
542
|
-
"merchant.feedback": "positive",
|
543
|
-
"user.refund_reason": "not happy with product"
|
544
|
-
}
|
545
|
-
},
|
546
|
-
"uri": "/debits/WD6BKYhbRzlRhfKSE1DcpqS5/refunds"
|
547
|
-
},
|
548
|
-
"response": "{\n \"links\": {\n \"refunds.debit\": \"/debits/{refunds.debit}\", \n \"refunds.dispute\": \"/disputes/{refunds.dispute}\", \n \"refunds.events\": \"/refunds/{refunds.id}/events\", \n \"refunds.order\": \"/orders/{refunds.order}\"\n }, \n \"refunds\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:46.176138Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF6HsnqferSuES9VZEWrthG2\", \n \"id\": \"RF6HsnqferSuES9VZEWrthG2\", \n \"links\": {\n \"debit\": \"WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"dispute\": null, \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF348-549-7723\", \n \"updated_at\": \"2014-03-06T19:23:48.234584Z\"\n }\n ]\n}"
|
549
|
-
},
|
550
|
-
"refund_list": {
|
551
|
-
"request": {
|
552
|
-
"uri": "/refunds"
|
553
|
-
},
|
554
|
-
"response": "{\n \"links\": {\n \"refunds.debit\": \"/debits/{refunds.debit}\", \n \"refunds.dispute\": \"/disputes/{refunds.dispute}\", \n \"refunds.events\": \"/refunds/{refunds.id}/events\", \n \"refunds.order\": \"/orders/{refunds.order}\"\n }, \n \"meta\": {\n \"first\": \"/refunds?limit=10&offset=0\", \n \"href\": \"/refunds?limit=10&offset=0\", \n \"last\": \"/refunds?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }, \n \"refunds\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:46.176138Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF6HsnqferSuES9VZEWrthG2\", \n \"id\": \"RF6HsnqferSuES9VZEWrthG2\", \n \"links\": {\n \"debit\": \"WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"dispute\": null, \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF348-549-7723\", \n \"updated_at\": \"2014-03-06T19:23:48.234584Z\"\n }\n ]\n}"
|
555
|
-
},
|
556
|
-
"refund_show": {
|
557
|
-
"request": {
|
558
|
-
"uri": "/refunds/RF6HsnqferSuES9VZEWrthG2"
|
559
|
-
},
|
560
|
-
"response": "{\n \"links\": {\n \"refunds.debit\": \"/debits/{refunds.debit}\", \n \"refunds.dispute\": \"/disputes/{refunds.dispute}\", \n \"refunds.events\": \"/refunds/{refunds.id}/events\", \n \"refunds.order\": \"/orders/{refunds.order}\"\n }, \n \"refunds\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:46.176138Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF6HsnqferSuES9VZEWrthG2\", \n \"id\": \"RF6HsnqferSuES9VZEWrthG2\", \n \"links\": {\n \"debit\": \"WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"dispute\": null, \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF348-549-7723\", \n \"updated_at\": \"2014-03-06T19:23:48.234584Z\"\n }\n ]\n}"
|
561
|
-
},
|
562
|
-
"refund_update": {
|
563
|
-
"request": {
|
564
|
-
"payload": {
|
565
|
-
"description": "update this description",
|
566
|
-
"meta": {
|
567
|
-
"refund.reason": "user not happy with product",
|
568
|
-
"user.notes": "very polite on the phone",
|
569
|
-
"user.refund.count": "3"
|
570
|
-
}
|
571
|
-
},
|
572
|
-
"uri": "/refunds/RF6HsnqferSuES9VZEWrthG2"
|
573
|
-
},
|
574
|
-
"response": "{\n \"links\": {\n \"refunds.debit\": \"/debits/{refunds.debit}\", \n \"refunds.dispute\": \"/disputes/{refunds.dispute}\", \n \"refunds.events\": \"/refunds/{refunds.id}/events\", \n \"refunds.order\": \"/orders/{refunds.order}\"\n }, \n \"refunds\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:46.176138Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"href\": \"/refunds/RF6HsnqferSuES9VZEWrthG2\", \n \"id\": \"RF6HsnqferSuES9VZEWrthG2\", \n \"links\": {\n \"debit\": \"WD6BKYhbRzlRhfKSE1DcpqS5\", \n \"dispute\": null, \n \"order\": null\n }, \n \"meta\": {\n \"refund.reason\": \"user not happy with product\", \n \"user.notes\": \"very polite on the phone\", \n \"user.refund.count\": \"3\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF348-549-7723\", \n \"updated_at\": \"2014-03-06T19:23:53.123358Z\"\n }\n ]\n}"
|
575
|
-
},
|
576
|
-
"reversal_create": {
|
577
|
-
"request": {
|
578
|
-
"credit_href": "/credits/CR6NpuEtezCdLTYngDrSEODv",
|
579
|
-
"payload": {
|
580
|
-
"amount": 3000,
|
581
|
-
"description": "Reversal for Order #1111",
|
582
|
-
"meta": {
|
583
|
-
"fulfillment.item.condition": "OK",
|
584
|
-
"merchant.feedback": "positive",
|
585
|
-
"user.refund_reason": "not happy with product"
|
586
|
-
}
|
587
|
-
},
|
588
|
-
"uri": "/credits/CR6NpuEtezCdLTYngDrSEODv/reversals"
|
589
|
-
},
|
590
|
-
"response": "{\n \"links\": {\n \"reversals.credit\": \"/credits/{reversals.credit}\", \n \"reversals.events\": \"/reversals/{reversals.id}/events\", \n \"reversals.order\": \"/orders/{reversals.order}\"\n }, \n \"reversals\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:55.596399Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"id\": \"RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"links\": {\n \"credit\": \"CR6NpuEtezCdLTYngDrSEODv\", \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RV542-861-3670\", \n \"updated_at\": \"2014-03-06T19:23:56.470321Z\"\n }\n ]\n}"
|
591
|
-
},
|
592
|
-
"reversal_list": {
|
593
|
-
"request": {
|
594
|
-
"uri": "/reversals"
|
595
|
-
},
|
596
|
-
"response": "{\n \"links\": {\n \"reversals.credit\": \"/credits/{reversals.credit}\", \n \"reversals.events\": \"/reversals/{reversals.id}/events\", \n \"reversals.order\": \"/orders/{reversals.order}\"\n }, \n \"meta\": {\n \"first\": \"/reversals?limit=10&offset=0\", \n \"href\": \"/reversals?limit=10&offset=0\", \n \"last\": \"/reversals?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }, \n \"reversals\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:55.596399Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"id\": \"RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"links\": {\n \"credit\": \"CR6NpuEtezCdLTYngDrSEODv\", \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RV542-861-3670\", \n \"updated_at\": \"2014-03-06T19:23:56.470321Z\"\n }\n ]\n}"
|
597
|
-
},
|
598
|
-
"reversal_show": {
|
599
|
-
"request": {
|
600
|
-
"uri": "/reversals/RV6OCxJ1UhkG84is6H9PHjkZ"
|
601
|
-
},
|
602
|
-
"response": "{\n \"links\": {\n \"reversals.credit\": \"/credits/{reversals.credit}\", \n \"reversals.events\": \"/reversals/{reversals.id}/events\", \n \"reversals.order\": \"/orders/{reversals.order}\"\n }, \n \"reversals\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:55.596399Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"id\": \"RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"links\": {\n \"credit\": \"CR6NpuEtezCdLTYngDrSEODv\", \n \"order\": null\n }, \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RV542-861-3670\", \n \"updated_at\": \"2014-03-06T19:23:56.470321Z\"\n }\n ]\n}"
|
603
|
-
},
|
604
|
-
"reversal_update": {
|
605
|
-
"request": {
|
606
|
-
"payload": {
|
607
|
-
"description": "update this description",
|
608
|
-
"meta": {
|
609
|
-
"refund.reason": "user not happy with product",
|
610
|
-
"user.notes": "very polite on the phone",
|
611
|
-
"user.satisfaction": "6"
|
612
|
-
}
|
613
|
-
},
|
614
|
-
"uri": "/reversals/RV6OCxJ1UhkG84is6H9PHjkZ"
|
615
|
-
},
|
616
|
-
"response": "{\n \"links\": {\n \"reversals.credit\": \"/credits/{reversals.credit}\", \n \"reversals.events\": \"/reversals/{reversals.id}/events\", \n \"reversals.order\": \"/orders/{reversals.order}\"\n }, \n \"reversals\": [\n {\n \"amount\": 3000, \n \"created_at\": \"2014-03-06T19:23:55.596399Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"id\": \"RV6OCxJ1UhkG84is6H9PHjkZ\", \n \"links\": {\n \"credit\": \"CR6NpuEtezCdLTYngDrSEODv\", \n \"order\": null\n }, \n \"meta\": {\n \"refund.reason\": \"user not happy with product\", \n \"user.notes\": \"very polite on the phone\", \n \"user.satisfaction\": \"6\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RV542-861-3670\", \n \"updated_at\": \"2014-03-06T19:24:00.271458Z\"\n }\n ]\n}"
|
617
|
-
},
|
618
|
-
"secret": "ak-test-2ADpvITfpgBn8uBzEGsQ2bIgWaftUWiul"
|
619
|
-
}
|