forked from balanced/balanced-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scenario.cache
618 lines (618 loc) · 99.2 KB
/
scenario.cache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
{
"accept_type": "application/vnd.api+json;revision=1.1",
"api_key": "ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc",
"api_key_create": {
"request": {
"uri": "/api_keys"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-01-27T22:56:01.641736Z\", \n \"href\": \"/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"id\": \"AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-1jlJCdGZjRWWYRF1iLBR69xwqG2NdQifv\"\n }\n ], \n \"links\": {}\n}"
},
"api_key_delete": {
"request": {
"uri": "/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c"
}
},
"api_key_list": {
"request": {
"uri": "/api_keys"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-01-27T22:56:01.641736Z\", \n \"href\": \"/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"id\": \"AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"links\": {}, \n \"meta\": {}\n }, \n {\n \"created_at\": \"2014-01-27T22:55:46.698536Z\", \n \"href\": \"/api_keys/AK1eDKn7B8vK70hj70S1NMbu\", \n \"id\": \"AK1eDKn7B8vK70hj70S1NMbu\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc\"\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}"
},
"api_key_show": {
"request": {
"uri": "/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2014-01-27T22:56:01.641736Z\", \n \"href\": \"/api_keys/AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"id\": \"AK1vqjn1eEHXP0JYXrBrjH5c\", \n \"links\": {}, \n \"meta\": {}\n }\n ], \n \"links\": {}\n}"
},
"api_location": "https://api.balancedpayments.com",
"api_rev": "rev1",
"bank_account_associate_to_customer": {
"request": {
"customer_href": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg",
"payload": {
"customer": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg"
},
"uri": "/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0"
},
"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-01-27T22:57:47.772481Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0\", \n \"id\": \"BA3qNbYRqFM0Q7MXn3IcjGl0\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-01-27T22:57:48.515195Z\"\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}"
},
"bank_account_create": {
"request": {
"payload": {
"account_number": "9900000001",
"name": "Johann Bernoulli",
"routing_number": "121000358",
"type": "checking"
},
"uri": "/bank_accounts"
},
"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-01-27T22:57:47.772481Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0\", \n \"id\": \"BA3qNbYRqFM0Q7MXn3IcjGl0\", \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-01-27T22:57:47.772483Z\"\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}"
},
"bank_account_credit": {
"request": {
"bank_account_href": "/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0",
"payload": {
"amount": 5000
},
"uri": "/bank_accounts/BA3qNbYRqFM0Q7MXn3IcjGl0/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-01-27T22:58:19.422292Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR40neytmVG2HDBp1opfF7sY\", \n \"id\": \"CR40neytmVG2HDBp1opfF7sY\", \n \"links\": {\n \"customer\": \"CU3eeasZ9yQ86uzzIYZkrPGg\", \n \"destination\": \"BA3qNbYRqFM0Q7MXn3IcjGl0\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR816-868-3666\", \n \"updated_at\": \"2014-01-27T22:58:20.346871Z\"\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}"
},
"bank_account_debit": {
"request": {
"bank_account_href": "/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S",
"payload": {
"amount": 5000,
"appears_on_statement_as": "Statement text",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:56:28.702119Z\", \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/WD1ZRRAZnFTryFdFaq7ijcPE\", \n \"id\": \"WD1ZRRAZnFTryFdFaq7ijcPE\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"BA1D3vL3LjasB0kewMqRGI0S\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W081-463-7557\", \n \"updated_at\": \"2014-01-27T22:56:29.235927Z\"\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}"
},
"bank_account_delete": {
"request": {
"uri": "/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy"
}
},
"bank_account_list": {
"request": {
"uri": "/bank_accounts"
},
"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-01-27T22:56:20.540530Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy\", \n \"id\": \"BA1QFf0LmIxr8p41msqX46Oy\", \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-01-27T22:56:20.540534Z\"\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-01-27T22:56:08.446352Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S\", \n \"id\": \"BA1D3vL3LjasB0kewMqRGI0S\", \n \"links\": {\n \"bank_account_verification\": \"BZ1FF2MHFH9upRu7C0QUwnby\", \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2014-01-27T22:56:18.623674Z\"\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-01-27T22:55:49.899228Z\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"href\": \"/bank_accounts/BA1fUvPHaEcIdkRe8HmC2Vee\", \n \"id\": \"BA1fUvPHaEcIdkRe8HmC2Vee\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU1f8Ygc4t0F2FKNcw235x9I\"\n }, \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"updated_at\": \"2014-01-27T22:55:49.899231Z\"\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}"
},
"bank_account_show": {
"request": {
"uri": "/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy"
},
"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-01-27T22:56:20.540530Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy\", \n \"id\": \"BA1QFf0LmIxr8p41msqX46Oy\", \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-01-27T22:56:20.540534Z\"\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}"
},
"bank_account_update": {
"request": {
"payload": {
"meta": {
"facebook.user_id": "0192837465",
"my-own-customer-id": "12345",
"twitter.id": "1234987650"
}
},
"uri": "/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy"
},
"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-01-27T22:56:20.540530Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy\", \n \"id\": \"BA1QFf0LmIxr8p41msqX46Oy\", \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-01-27T22:56:25.767386Z\"\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}"
},
"bank_account_verification_create": {
"request": {
"bank_account_uri": "/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S",
"uri": "/bank_accounts/BA1D3vL3LjasB0kewMqRGI0S/verifications"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2014-01-27T22:56:10.726455Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ1FF2MHFH9upRu7C0QUwnby\", \n \"id\": \"BZ1FF2MHFH9upRu7C0QUwnby\", \n \"links\": {\n \"bank_account\": \"BA1D3vL3LjasB0kewMqRGI0S\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:56:12.545750Z\", \n \"verification_status\": \"pending\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
},
"bank_account_verification_show": {
"request": {
"uri": "/verifications/BZ1FF2MHFH9upRu7C0QUwnby"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2014-01-27T22:56:10.726455Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ1FF2MHFH9upRu7C0QUwnby\", \n \"id\": \"BZ1FF2MHFH9upRu7C0QUwnby\", \n \"links\": {\n \"bank_account\": \"BA1D3vL3LjasB0kewMqRGI0S\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:56:12.545750Z\", \n \"verification_status\": \"pending\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
},
"bank_account_verification_update": {
"request": {
"payload": {
"amount_1": 1,
"amount_2": 1
},
"uri": "/verifications/BZ1FF2MHFH9upRu7C0QUwnby"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 1, \n \"attempts_remaining\": 2, \n \"created_at\": \"2014-01-27T22:56:10.726455Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ1FF2MHFH9upRu7C0QUwnby\", \n \"id\": \"BZ1FF2MHFH9upRu7C0QUwnby\", \n \"links\": {\n \"bank_account\": \"BA1D3vL3LjasB0kewMqRGI0S\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:56:18.631337Z\", \n \"verification_status\": \"succeeded\"\n }\n ], \n \"links\": {\n \"bank_account_verifications.bank_account\": \"/bank_accounts/{bank_account_verifications.bank_account}\"\n }\n}"
},
"callback_create": {
"request": {
"payload": {
"url": "http://www.example.com/callback"
},
"uri": "/callbacks"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB224374R2NSyoYBpDV4r7C2\", \n \"id\": \"CB224374R2NSyoYBpDV4r7C2\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"links\": {}\n}"
},
"callback_delete": {
"request": {
"uri": "/callbacks/CB224374R2NSyoYBpDV4r7C2"
}
},
"callback_list": {
"request": {
"uri": "/callbacks"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB224374R2NSyoYBpDV4r7C2\", \n \"id\": \"CB224374R2NSyoYBpDV4r7C2\", \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}"
},
"callback_show": {
"request": {
"uri": "/callbacks/CB224374R2NSyoYBpDV4r7C2"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB224374R2NSyoYBpDV4r7C2\", \n \"id\": \"CB224374R2NSyoYBpDV4r7C2\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"links\": {}\n}"
},
"card": {
"address": {
"city": null,
"country_code": "USA",
"line1": null,
"line2": null,
"postal_code": "10023",
"state": null
},
"avs_postal_match": "yes",
"avs_result": "Postal code matches, but street address not verified.",
"avs_street_match": null,
"brand": "Visa",
"created_at": "2014-01-27T22:55:54.558589Z",
"cvv": null,
"cvv_match": null,
"cvv_result": null,
"expiration_month": 4,
"expiration_year": 2016,
"fingerprint": "979a26c05f2fb1c7ae38656312b176da2c9be1d938d442040bc79539caac6c0d",
"href": "/cards/CC1nrXVKmfh0ouOS7zxI6X8q",
"id": "CC1nrXVKmfh0ouOS7zxI6X8q",
"is_verified": true,
"links": {
"customer": "CU1iDnBalzHoZg47Np92rNrV"
},
"meta": {},
"name": "Benny Riemann",
"number": "xxxxxxxxxxxx1111",
"updated_at": "2014-01-27T22:55:54.558592Z"
},
"card_associate_to_customer": {
"request": {
"payload": {
"customer": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg"
},
"uri": "/cards/CC3kqm84fxh50avenrUsSKbu"
},
"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-01-27T22:57:42.092923Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC3kqm84fxh50avenrUsSKbu\", \n \"id\": \"CC3kqm84fxh50avenrUsSKbu\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-01-27T22:57:42.724392Z\"\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}"
},
"card_create": {
"request": {
"payload": {
"expiration_month": "12",
"expiration_year": "2020",
"number": "5105105105105100",
"security_code": "123"
},
"uri": "/cards"
},
"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-01-27T22:57:42.092923Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC3kqm84fxh50avenrUsSKbu\", \n \"id\": \"CC3kqm84fxh50avenrUsSKbu\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-01-27T22:57:42.092926Z\"\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}"
},
"card_debit": {
"request": {
"card_href": "/cards/CC3kqm84fxh50avenrUsSKbu",
"payload": {
"amount": 5000,
"appears_on_statement_as": "Statement text",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/cards/CC3kqm84fxh50avenrUsSKbu/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:58:07.291226Z\", \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/WD3MKNxNTKBGgA7mX50yogiu\", \n \"id\": \"WD3MKNxNTKBGgA7mX50yogiu\", \n \"links\": {\n \"customer\": \"CU3eeasZ9yQ86uzzIYZkrPGg\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC3kqm84fxh50avenrUsSKbu\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W180-465-2000\", \n \"updated_at\": \"2014-01-27T22:58:09.706862Z\"\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}"
},
"card_delete": {
"request": {
"uri": "/cards/CC2uc8iPDjgyxOXHVtnZloyI"
}
},
"card_hold_capture": {
"request": {
"card_hold_href": "/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S",
"payload": {
"appears_on_statement_as": "ShowsUpOnStmt",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2014-01-27T22:56:45.623268Z\", \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/WD2iSCukjXyeRdkvX3cW0PmC\", \n \"id\": \"WD2iSCukjXyeRdkvX3cW0PmC\", \n \"links\": {\n \"customer\": \"CU1f8Ygc4t0F2FKNcw235x9I\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC2abDOQVm5aNFhHpcRvWS02\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W744-719-1832\", \n \"updated_at\": \"2014-01-27T22:56:47.926021Z\"\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}"
},
"card_hold_create": {
"request": {
"card_href": "/cards/CC2abDOQVm5aNFhHpcRvWS02",
"payload": {
"amount": 5000,
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/cards/CC2abDOQVm5aNFhHpcRvWS02/card_holds"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-01-27T22:56:49.446376Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-02-03T22:56:50.793698Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL2ncCO5Bir2S0PCdsDHV3cG\", \n \"id\": \"HL2ncCO5Bir2S0PCdsDHV3cG\", \n \"links\": {\n \"card\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"transaction_number\": \"HL102-313-8003\", \n \"updated_at\": \"2014-01-27T22:56:51.115729Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/resources/{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}"
},
"card_hold_list": {
"request": {
"uri": "/card_holds"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-01-27T22:56:39.379941Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-02-03T22:56:39.876902Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"id\": \"HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"links\": {\n \"card\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"transaction_number\": \"HL500-842-5492\", \n \"updated_at\": \"2014-01-27T22:56:40.238140Z\"\n }, \n {\n \"amount\": 10000000, \n \"created_at\": \"2014-01-27T22:55:56.619097Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": \"2014-02-03T22:55:57.540880Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL1pMPzS1JEE4lMCBnKh32Oa\", \n \"id\": \"HL1pMPzS1JEE4lMCBnKh32Oa\", \n \"links\": {\n \"card\": \"CC1nrXVKmfh0ouOS7zxI6X8q\", \n \"debit\": \"WD1pU48nHJzorOySkTaQGQ9U\"\n }, \n \"meta\": {}, \n \"transaction_number\": \"HL464-208-0908\", \n \"updated_at\": \"2014-01-27T22:56:00.845902Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/resources/{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}"
},
"card_hold_show": {
"request": {
"uri": "/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-01-27T22:56:39.379941Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-02-03T22:56:39.876902Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"id\": \"HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"links\": {\n \"card\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"transaction_number\": \"HL500-842-5492\", \n \"updated_at\": \"2014-01-27T22:56:40.238140Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/resources/{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}"
},
"card_hold_update": {
"request": {
"payload": {
"description": "update this description",
"meta": {
"holding.for": "user1",
"meaningful.key": "some.value"
}
},
"uri": "/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-01-27T22:56:39.379941Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"expires_at\": \"2014-02-03T22:56:39.876902Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"id\": \"HL2bT9uMRkTZkfSPmA2pBD9S\", \n \"links\": {\n \"card\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"debit\": null\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"transaction_number\": \"HL500-842-5492\", \n \"updated_at\": \"2014-01-27T22:56:44.255042Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/resources/{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}"
},
"card_hold_void": {
"request": {
"payload": {
"is_void": "true"
},
"uri": "/card_holds/HL2ncCO5Bir2S0PCdsDHV3cG"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2014-01-27T22:56:49.446376Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2014-02-03T22:56:50.793698Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL2ncCO5Bir2S0PCdsDHV3cG\", \n \"id\": \"HL2ncCO5Bir2S0PCdsDHV3cG\", \n \"links\": {\n \"card\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"debit\": null\n }, \n \"meta\": {}, \n \"transaction_number\": \"HL102-313-8003\", \n \"updated_at\": \"2014-01-27T22:56:51.686616Z\"\n }\n ], \n \"links\": {\n \"card_holds.card\": \"/resources/{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}"
},
"card_id": "CC1nrXVKmfh0ouOS7zxI6X8q",
"card_list": {
"request": {
"uri": "/cards"
},
"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-01-27T22:56:55.656375Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC2uc8iPDjgyxOXHVtnZloyI\", \n \"id\": \"CC2uc8iPDjgyxOXHVtnZloyI\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-01-27T22:56:55.656379Z\"\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-01-27T22:56:37.869483Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC2abDOQVm5aNFhHpcRvWS02\", \n \"id\": \"CC2abDOQVm5aNFhHpcRvWS02\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU1f8Ygc4t0F2FKNcw235x9I\"\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-01-27T22:56:39.354525Z\"\n }, \n {\n \"address\": {\n \"city\": null, \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\": null, \n \"brand\": \"Visa\", \n \"created_at\": \"2014-01-27T22:55:54.558589Z\", \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/CC1nrXVKmfh0ouOS7zxI6X8q\", \n \"id\": \"CC1nrXVKmfh0ouOS7zxI6X8q\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU1iDnBalzHoZg47Np92rNrV\"\n }, \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"number\": \"xxxxxxxxxxxx1111\", \n \"updated_at\": \"2014-01-27T22:55:54.558592Z\"\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}"
},
"card_show": {
"request": {
"uri": "/cards/CC2uc8iPDjgyxOXHVtnZloyI"
},
"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-01-27T22:56:55.656375Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC2uc8iPDjgyxOXHVtnZloyI\", \n \"id\": \"CC2uc8iPDjgyxOXHVtnZloyI\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"updated_at\": \"2014-01-27T22:56:55.656379Z\"\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}"
},
"card_update": {
"request": {
"payload": {
"meta": {
"facebook.user_id": "0192837465",
"my-own-customer-id": "12345",
"twitter.id": "1234987650"
}
},
"uri": "/cards/CC2uc8iPDjgyxOXHVtnZloyI"
},
"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-01-27T22:56:55.656375Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"fingerprint\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"href\": \"/cards/CC2uc8iPDjgyxOXHVtnZloyI\", \n \"id\": \"CC2uc8iPDjgyxOXHVtnZloyI\", \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-01-27T22:57:02.195769Z\"\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}"
},
"card_uri": "/cards/CC1nrXVKmfh0ouOS7zxI6X8q",
"cards_uri": "/customers/CU1iDnBalzHoZg47Np92rNrV/cards",
"credit_list": {
"request": {
"uri": "/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-01-27T22:57:19.073817Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"id\": \"CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"links\": {\n \"customer\": \"CU2N5goX8AQJE0CCPeapHUsM\", \n \"destination\": \"BA2QAksIxlLt60lqKc1wwgJy\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR408-633-3169\", \n \"updated_at\": \"2014-01-27T22:57:20.208794Z\"\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}"
},
"credit_list_bank_account": {
"request": {
"bank_account_href": "/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy",
"uri": "/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy/credits"
},
"response": "{\n \"links\": {}, \n \"meta\": {\n \"first\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy/credits?limit=10&offset=0\", \n \"href\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy/credits?limit=10&offset=0\", \n \"last\": \"/bank_accounts/BA1QFf0LmIxr8p41msqX46Oy/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 0\n }\n}"
},
"credit_show": {
"request": {
"uri": "/credits/CR2UtQgq6L3FPd1YoOc8eyOC"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-01-27T22:57:19.073817Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"id\": \"CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"links\": {\n \"customer\": \"CU2N5goX8AQJE0CCPeapHUsM\", \n \"destination\": \"BA2QAksIxlLt60lqKc1wwgJy\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR408-633-3169\", \n \"updated_at\": \"2014-01-27T22:57:20.208794Z\"\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}"
},
"credit_update": {
"request": {
"payload": {
"description": "New description for credit",
"meta": {
"anykey": "valuegoeshere",
"facebook.id": "1234567890"
}
},
"uri": "/credits/CR2UtQgq6L3FPd1YoOc8eyOC"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2014-01-27T22:57:19.073817Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for credit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"id\": \"CR2UtQgq6L3FPd1YoOc8eyOC\", \n \"links\": {\n \"customer\": \"CU2N5goX8AQJE0CCPeapHUsM\", \n \"destination\": \"BA2QAksIxlLt60lqKc1wwgJy\", \n \"order\": null\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CR408-633-3169\", \n \"updated_at\": \"2014-01-27T22:57:25.832930Z\"\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}"
},
"customer": {
"address": {
"city": null,
"country_code": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"business_name": null,
"created_at": "2014-01-27T22:55:50.253066Z",
"dob_month": null,
"dob_year": null,
"ein": null,
"email": null,
"href": "/customers/CU1iDnBalzHoZg47Np92rNrV",
"id": "CU1iDnBalzHoZg47Np92rNrV",
"links": {
"destination": null,
"source": null
},
"merchant_status": "no-match",
"meta": {},
"name": null,
"phone": null,
"ssn_last4": null,
"updated_at": "2014-01-27T22:55:50.767858Z"
},
"customer_create": {
"request": {
"payload": {
"address": {
"postal_code": "48120"
},
"dob_month": 7,
"dob_year": 1963,
"name": "Henry Ford"
},
"uri": "/customers"
},
"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-01-27T22:57:36.586782Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU3eeasZ9yQ86uzzIYZkrPGg\", \n \"id\": \"CU3eeasZ9yQ86uzzIYZkrPGg\", \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-01-27T22:57:37.740442Z\"\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.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}"
},
"customer_delete": {
"request": {
"uri": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg"
}
},
"customer_list": {
"request": {
"uri": "/customers"
},
"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-01-27T22:57:27.459187Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU33Y4cut21qu1d1lGYDBseQ\", \n \"id\": \"CU33Y4cut21qu1d1lGYDBseQ\", \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-01-27T22:57:29.488272Z\"\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-01-27T22:57:12.447565Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU2N5goX8AQJE0CCPeapHUsM\", \n \"id\": \"CU2N5goX8AQJE0CCPeapHUsM\", \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-01-27T22:57:13.581358Z\"\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-01-27T22:55:50.253066Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU1iDnBalzHoZg47Np92rNrV\", \n \"id\": \"CU1iDnBalzHoZg47Np92rNrV\", \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-01-27T22:55:50.767858Z\"\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-01-27T22:55:47.156306Z\", \n \"dob_month\": 2, \n \"dob_year\": 1947, \n \"ein\": null, \n \"email\": \"[email protected]\", \n \"href\": \"/customers/CU1f8Ygc4t0F2FKNcw235x9I\", \n \"id\": \"CU1f8Ygc4t0F2FKNcw235x9I\", \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-01-27T22:55:47.781694Z\"\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.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}"
},
"customer_show": {
"request": {
"uri": "/customers/CU33Y4cut21qu1d1lGYDBseQ"
},
"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-01-27T22:57:27.459187Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU33Y4cut21qu1d1lGYDBseQ\", \n \"id\": \"CU33Y4cut21qu1d1lGYDBseQ\", \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-01-27T22:57:29.488272Z\"\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.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}"
},
"customer_update": {
"request": {
"payload": {
"email": "[email protected]",
"meta": {
"shipping-preference": "ground"
}
},
"uri": "/customers/CU33Y4cut21qu1d1lGYDBseQ"
},
"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-01-27T22:57:27.459187Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": \"[email protected]\", \n \"href\": \"/customers/CU33Y4cut21qu1d1lGYDBseQ\", \n \"id\": \"CU33Y4cut21qu1d1lGYDBseQ\", \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-01-27T22:57:34.512310Z\"\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.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}"
},
"customers_uri": "/customers",
"debit": {
"debits": [
{
"amount": 10000000,
"appears_on_statement_as": "BAL*example.com",
"created_at": "2014-01-27T22:55:56.757487Z",
"currency": "USD",
"description": null,
"failure_reason": null,
"failure_reason_code": null,
"href": "/debits/WD1pU48nHJzorOySkTaQGQ9U",
"id": "WD1pU48nHJzorOySkTaQGQ9U",
"links": {
"customer": "CU1iDnBalzHoZg47Np92rNrV",
"dispute": null,
"order": null,
"source": "CC1nrXVKmfh0ouOS7zxI6X8q"
},
"meta": {},
"status": "succeeded",
"transaction_number": "W511-688-4504",
"updated_at": "2014-01-27T22:56:00.833870Z"
}
],
"links": {
"debits.customer": "/customers/{debits.customer}",
"debits.dispute": "/disputes/{debits.dispute}",
"debits.events": "/debits/{debits.id}/events",
"debits.order": "/orders/{debits.order}",
"debits.refunds": "/debits/{debits.id}/refunds",
"debits.source": "/resources/{debits.source}"
}
},
"debit_list": {
"request": {
"uri": "/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:57:05.511023Z\", \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/WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"id\": \"WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC2uc8iPDjgyxOXHVtnZloyI\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W906-153-1439\", \n \"updated_at\": \"2014-01-27T22:57:10.153696Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2014-01-27T22:56:45.623268Z\", \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/WD2iSCukjXyeRdkvX3cW0PmC\", \n \"id\": \"WD2iSCukjXyeRdkvX3cW0PmC\", \n \"links\": {\n \"customer\": \"CU1f8Ygc4t0F2FKNcw235x9I\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC2abDOQVm5aNFhHpcRvWS02\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W744-719-1832\", \n \"updated_at\": \"2014-01-27T22:56:47.926021Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:56:28.702119Z\", \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/WD1ZRRAZnFTryFdFaq7ijcPE\", \n \"id\": \"WD1ZRRAZnFTryFdFaq7ijcPE\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"BA1D3vL3LjasB0kewMqRGI0S\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W081-463-7557\", \n \"updated_at\": \"2014-01-27T22:56:29.235927Z\"\n }, \n {\n \"amount\": 10000000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2014-01-27T22:55:56.757487Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD1pU48nHJzorOySkTaQGQ9U\", \n \"id\": \"WD1pU48nHJzorOySkTaQGQ9U\", \n \"links\": {\n \"customer\": \"CU1iDnBalzHoZg47Np92rNrV\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC1nrXVKmfh0ouOS7zxI6X8q\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W511-688-4504\", \n \"updated_at\": \"2014-01-27T22:56:00.833870Z\"\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}"
},
"debit_show": {
"request": {
"uri": "/debits/WD2Fd3jVcMZEWyXHtG3U1LRM"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:57:05.511023Z\", \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/WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"id\": \"WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC2uc8iPDjgyxOXHVtnZloyI\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W906-153-1439\", \n \"updated_at\": \"2014-01-27T22:57:10.153696Z\"\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}"
},
"debit_update": {
"request": {
"payload": {
"description": "New description for debit",
"meta": {
"anykey": "valuegoeshere",
"facebook.id": "1234567890"
}
},
"uri": "/debits/WD2Fd3jVcMZEWyXHtG3U1LRM"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2014-01-27T22:57:05.511023Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for debit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"id\": \"WD2Fd3jVcMZEWyXHtG3U1LRM\", \n \"links\": {\n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC2uc8iPDjgyxOXHVtnZloyI\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W906-153-1439\", \n \"updated_at\": \"2014-01-27T22:57:53.776191Z\"\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}"
},
"event_list": {
"request": {
"uri": "/events"
},
"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\": 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-01-27T22:55:50.253066Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU1iDnBalzHoZg47Np92rNrV\", \n \"id\": \"CU1iDnBalzHoZg47Np92rNrV\", \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-01-27T22:55:50.767858Z\"\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.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/EV2abbb98487a611e3a86f026ba7d31e6f\", \n \"id\": \"EV2abbb98487a611e3a86f026ba7d31e6f\", \n \"links\": {}, \n \"occurred_at\": \"2014-01-27T22:55:50.767000Z\", \n \"type\": \"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=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
},
"event_show": {
"request": {
"uri": "/events/EV2abbb98487a611e3a86f026ba7d31e6f"
},
"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\": 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-01-27T22:55:50.253066Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU1iDnBalzHoZg47Np92rNrV\", \n \"id\": \"CU1iDnBalzHoZg47Np92rNrV\", \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-01-27T22:55:50.767858Z\"\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.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/EV2abbb98487a611e3a86f026ba7d31e6f\", \n \"id\": \"EV2abbb98487a611e3a86f026ba7d31e6f\", \n \"links\": {}, \n \"occurred_at\": \"2014-01-27T22:55:50.767000Z\", \n \"type\": \"account.created\"\n }\n ], \n \"links\": {\n \"events.callbacks\": \"/events/{events.self}/callbacks\"\n }\n}"
},
"marketplace": {
"created_at": "2014-01-27T22:55:47.104898Z",
"domain_url": "example.com",
"href": "/marketplaces/TEST-MP1f3Hgx3WTYV6DhxJC7yR5Y",
"id": "TEST-MP1f3Hgx3WTYV6DhxJC7yR5Y",
"in_escrow": 0,
"links": {
"owner_customer": "CU1f8Ygc4t0F2FKNcw235x9I"
},
"meta": {},
"name": "Test Marketplace",
"production": false,
"support_email_address": "[email protected]",
"support_phone_number": "+16505551234",
"unsettled_fees": 0,
"updated_at": "2014-01-27T22:55:49.874263Z"
},
"marketplace_id": "TEST-MP1f3Hgx3WTYV6DhxJC7yR5Y",
"marketplace_uri": "/marketplaces/TEST-MP1f3Hgx3WTYV6DhxJC7yR5Y",
"order_create": {
"request": {
"customer_href": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg",
"payload": {
"description": "Order #12341234"
},
"uri": "/customers/CU3eeasZ9yQ86uzzIYZkrPGg/orders"
},
"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-01-27T22:58:01.115720Z\", \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/OR3FOihZa7lMHdAP5p8BJZVY\", \n \"id\": \"OR3FOihZa7lMHdAP5p8BJZVY\", \n \"links\": {\n \"merchant\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:58:01.115723Z\"\n }\n ]\n}"
},
"order_list": {
"request": {
"uri": "/orders"
},
"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-01-27T22:58:01.115720Z\", \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/OR3FOihZa7lMHdAP5p8BJZVY\", \n \"id\": \"OR3FOihZa7lMHdAP5p8BJZVY\", \n \"links\": {\n \"merchant\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:58:01.115723Z\"\n }\n ]\n}"
},
"order_show": {
"request": {
"uri": "/orders/OR3FOihZa7lMHdAP5p8BJZVY"
},
"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-01-27T22:58:01.115720Z\", \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/OR3FOihZa7lMHdAP5p8BJZVY\", \n \"id\": \"OR3FOihZa7lMHdAP5p8BJZVY\", \n \"links\": {\n \"merchant\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2014-01-27T22:58:01.115723Z\"\n }\n ]\n}"
},
"order_update": {
"request": {
"payload": {
"description": "New description for order",
"meta": {
"anykey": "valuegoeshere",
"product.id": "1234567890"
}
},
"uri": "/orders/OR3FOihZa7lMHdAP5p8BJZVY"
},
"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-01-27T22:58:01.115720Z\", \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/OR3FOihZa7lMHdAP5p8BJZVY\", \n \"id\": \"OR3FOihZa7lMHdAP5p8BJZVY\", \n \"links\": {\n \"merchant\": \"CU3eeasZ9yQ86uzzIYZkrPGg\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"product.id\": \"1234567890\"\n }, \n \"updated_at\": \"2014-01-27T22:58:05.657463Z\"\n }\n ]\n}"
},
"refund_create": {
"request": {
"debit_href": "/debits/WD3MKNxNTKBGgA7mX50yogiu",
"payload": {
"amount": 3000,
"description": "Refund for Order #1111",
"meta": {
"fulfillment.item.condition": "OK",
"merchant.feedback": "positive",
"user.refund_reason": "not happy with product"
}
},
"uri": "/debits/WD3MKNxNTKBGgA7mX50yogiu/refunds"
},
"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-01-27T22:58:11.375665Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF3RklPuFgsgI50UuYtr4g6I\", \n \"id\": \"RF3RklPuFgsgI50UuYtr4g6I\", \n \"links\": {\n \"debit\": \"WD3MKNxNTKBGgA7mX50yogiu\", \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\": \"RF383-088-7077\", \n \"updated_at\": \"2014-01-27T22:58:12.115131Z\"\n }\n ]\n}"
},
"refund_list": {
"request": {
"uri": "/refunds"
},
"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-01-27T22:58:11.375665Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF3RklPuFgsgI50UuYtr4g6I\", \n \"id\": \"RF3RklPuFgsgI50UuYtr4g6I\", \n \"links\": {\n \"debit\": \"WD3MKNxNTKBGgA7mX50yogiu\", \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\": \"RF383-088-7077\", \n \"updated_at\": \"2014-01-27T22:58:12.115131Z\"\n }\n ]\n}"
},
"refund_show": {
"request": {
"uri": "/refunds/RF3RklPuFgsgI50UuYtr4g6I"
},
"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-01-27T22:58:11.375665Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RF3RklPuFgsgI50UuYtr4g6I\", \n \"id\": \"RF3RklPuFgsgI50UuYtr4g6I\", \n \"links\": {\n \"debit\": \"WD3MKNxNTKBGgA7mX50yogiu\", \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\": \"RF383-088-7077\", \n \"updated_at\": \"2014-01-27T22:58:12.115131Z\"\n }\n ]\n}"
},
"refund_update": {
"request": {
"payload": {
"description": "update this description",
"meta": {
"refund.reason": "user not happy with product",
"user.notes": "very polite on the phone",
"user.refund.count": "3"
}
},
"uri": "/refunds/RF3RklPuFgsgI50UuYtr4g6I"
},
"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-01-27T22:58:11.375665Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"href\": \"/refunds/RF3RklPuFgsgI50UuYtr4g6I\", \n \"id\": \"RF3RklPuFgsgI50UuYtr4g6I\", \n \"links\": {\n \"debit\": \"WD3MKNxNTKBGgA7mX50yogiu\", \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\": \"RF383-088-7077\", \n \"updated_at\": \"2014-01-27T22:58:17.950799Z\"\n }\n ]\n}"
},
"reversal_create": {
"request": {
"credit_href": "/credits/CR40neytmVG2HDBp1opfF7sY",
"payload": {
"amount": 3000,
"description": "Reversal for Order #1111",
"meta": {
"fulfillment.item.condition": "OK",
"merchant.feedback": "positive",
"user.refund_reason": "not happy with product"
}
},
"uri": "/credits/CR40neytmVG2HDBp1opfF7sY/reversals"
},
"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-01-27T22:58:21.214829Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV42n8M9XZWna427oPDDi4RG\", \n \"id\": \"RV42n8M9XZWna427oPDDi4RG\", \n \"links\": {\n \"credit\": \"CR40neytmVG2HDBp1opfF7sY\", \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\": \"RV219-169-0008\", \n \"updated_at\": \"2014-01-27T22:58:22.190749Z\"\n }\n ]\n}"
},
"reversal_list": {
"request": {
"uri": "/reversals"
},
"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-01-27T22:58:21.214829Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV42n8M9XZWna427oPDDi4RG\", \n \"id\": \"RV42n8M9XZWna427oPDDi4RG\", \n \"links\": {\n \"credit\": \"CR40neytmVG2HDBp1opfF7sY\", \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\": \"RV219-169-0008\", \n \"updated_at\": \"2014-01-27T22:58:22.190749Z\"\n }\n ]\n}"
},
"reversal_show": {
"request": {
"uri": "/reversals/RV42n8M9XZWna427oPDDi4RG"
},
"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-01-27T22:58:21.214829Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV42n8M9XZWna427oPDDi4RG\", \n \"id\": \"RV42n8M9XZWna427oPDDi4RG\", \n \"links\": {\n \"credit\": \"CR40neytmVG2HDBp1opfF7sY\", \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\": \"RV219-169-0008\", \n \"updated_at\": \"2014-01-27T22:58:22.190749Z\"\n }\n ]\n}"
},
"reversal_update": {
"request": {
"payload": {
"description": "update this description",
"meta": {
"refund.reason": "user not happy with product",
"user.notes": "very polite on the phone",
"user.satisfaction": "6"
}
},
"uri": "/reversals/RV42n8M9XZWna427oPDDi4RG"
},
"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-01-27T22:58:21.214829Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV42n8M9XZWna427oPDDi4RG\", \n \"id\": \"RV42n8M9XZWna427oPDDi4RG\", \n \"links\": {\n \"credit\": \"CR40neytmVG2HDBp1opfF7sY\", \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\": \"RV219-169-0008\", \n \"updated_at\": \"2014-01-27T22:58:27.354488Z\"\n }\n ]\n}"
},
"secret": "ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc"
}