-
Notifications
You must be signed in to change notification settings - Fork 46
/
scenario.cache
799 lines (799 loc) · 161 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
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
{
"accept_type": "application/vnd.api+json;revision=1.1",
"account_credit": {
"request": {
"account_href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"payload": {
"amount": 1000,
"appears_on_statement_as": "ThingsCo",
"description": "A simple credit",
"meta": {
"rating": 8
},
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"ThingsCo\", \n \"created_at\": \"2015-01-12T22:42:17.676224Z\", \n \"currency\": \"USD\", \n \"description\": \"A simple credit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR6ZFDi2sORoKZlSPrC9p54I\", \n \"id\": \"CR6ZFDi2sORoKZlSPrC9p54I\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {\n \"rating\": \"8\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CRDCE-FLC-M1RV\", \n \"updated_at\": \"2015-01-12T22:42:17.795666Z\"\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}"
},
"account_list": {
"request": {
"uri": "/accounts"
},
"response": "{\n \"accounts\": [\n {\n \"balance\": 0, \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2015-01-12T22:42:05.713798Z\", \n \"currency\": \"USD\", \n \"href\": \"/accounts/AT6McJwHPgCymQnQ1uPOfB6M\", \n \"id\": \"AT6McJwHPgCymQnQ1uPOfB6M\", \n \"links\": {\n \"customer\": \"CU6M4PMbwr4FEZFf3AdgbRtu\"\n }, \n \"meta\": {}, \n \"type\": \"payable\", \n \"updated_at\": \"2015-01-12T22:42:05.713800Z\"\n }, \n {\n \"balance\": 0, \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2015-01-12T22:42:05.012897Z\", \n \"currency\": \"USD\", \n \"href\": \"/accounts/AT6Lb1QvPMyGWOu3L4DsHtMF\", \n \"id\": \"AT6Lb1QvPMyGWOu3L4DsHtMF\", \n \"links\": {\n \"customer\": \"CU6L554nYycGlVBOCqBCwDXv\"\n }, \n \"meta\": {}, \n \"type\": \"payable\", \n \"updated_at\": \"2015-01-12T22:42:05.012899Z\"\n }\n ], \n \"links\": {\n \"accounts.credits\": \"/accounts/{accounts.id}/credits\", \n \"accounts.customer\": \"/customers/{accounts.customer}\", \n \"accounts.debits\": \"/accounts/{accounts.id}/debits\", \n \"accounts.refunds\": \"/accounts/{accounts.id}/refunds\", \n \"accounts.reversals\": \"/accounts/{accounts.id}/reversals\", \n \"accounts.settlements\": \"/accounts/{accounts.id}/settlements\"\n }, \n \"meta\": {\n \"first\": \"/accounts?limit=10&offset=0\", \n \"href\": \"/accounts?limit=10&offset=0\", \n \"last\": \"/accounts?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 2\n }\n}"
},
"account_list_customer": {
"request": {
"customer_href": "/customers/CU6T8PWyIPpBnKRDaCzjzs3u",
"uri": "/customers/CU6T8PWyIPpBnKRDaCzjzs3u/accounts"
},
"response": "{\n \"accounts\": [\n {\n \"balance\": 0, \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2015-01-12T22:42:12.082967Z\", \n \"currency\": \"USD\", \n \"href\": \"/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC\", \n \"id\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\"\n }, \n \"meta\": {}, \n \"type\": \"payable\", \n \"updated_at\": \"2015-01-12T22:42:12.082969Z\"\n }\n ], \n \"links\": {\n \"accounts.credits\": \"/accounts/{accounts.id}/credits\", \n \"accounts.customer\": \"/customers/{accounts.customer}\", \n \"accounts.debits\": \"/accounts/{accounts.id}/debits\", \n \"accounts.refunds\": \"/accounts/{accounts.id}/refunds\", \n \"accounts.reversals\": \"/accounts/{accounts.id}/reversals\", \n \"accounts.settlements\": \"/accounts/{accounts.id}/settlements\"\n }, \n \"meta\": {\n \"first\": \"/customers/CU6T8PWyIPpBnKRDaCzjzs3u/accounts?limit=10&offset=0\", \n \"href\": \"/customers/CU6T8PWyIPpBnKRDaCzjzs3u/accounts?limit=10&offset=0\", \n \"last\": \"/customers/CU6T8PWyIPpBnKRDaCzjzs3u/accounts?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
},
"account_show": {
"request": {
"uri": "/accounts/AT6McJwHPgCymQnQ1uPOfB6M"
},
"response": "{\n \"accounts\": [\n {\n \"balance\": 0, \n \"can_credit\": true, \n \"can_debit\": true, \n \"created_at\": \"2015-01-12T22:42:05.713798Z\", \n \"currency\": \"USD\", \n \"href\": \"/accounts/AT6McJwHPgCymQnQ1uPOfB6M\", \n \"id\": \"AT6McJwHPgCymQnQ1uPOfB6M\", \n \"links\": {\n \"customer\": \"CU6M4PMbwr4FEZFf3AdgbRtu\"\n }, \n \"meta\": {}, \n \"type\": \"payable\", \n \"updated_at\": \"2015-01-12T22:42:05.713800Z\"\n }\n ], \n \"links\": {\n \"accounts.credits\": \"/accounts/{accounts.id}/credits\", \n \"accounts.customer\": \"/customers/{accounts.customer}\", \n \"accounts.debits\": \"/accounts/{accounts.id}/debits\", \n \"accounts.refunds\": \"/accounts/{accounts.id}/refunds\", \n \"accounts.reversals\": \"/accounts/{accounts.id}/reversals\", \n \"accounts.settlements\": \"/accounts/{accounts.id}/settlements\"\n }\n}"
},
"api_key": "ak-test-1xGEmbY58peQpnsgKEpgjuXgR1TjYdGpj",
"api_key_create": {
"request": {
"uri": "/api_keys"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2015-01-12T22:42:19.063362Z\", \n \"href\": \"/api_keys/AK71eFaqqATpvybAvOSO4t6t\", \n \"id\": \"AK71eFaqqATpvybAvOSO4t6t\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-rLmq4t80bjObmKmWvNOrRKnjd3n0al62\"\n }\n ], \n \"links\": {}\n}"
},
"api_key_delete": {
"request": {
"uri": "/api_keys/AK71eFaqqATpvybAvOSO4t6t"
}
},
"api_key_list": {
"request": {
"uri": "/api_keys"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2015-01-12T22:42:19.063362Z\", \n \"href\": \"/api_keys/AK71eFaqqATpvybAvOSO4t6t\", \n \"id\": \"AK71eFaqqATpvybAvOSO4t6t\", \n \"links\": {}, \n \"meta\": {}\n }, \n {\n \"created_at\": \"2015-01-12T22:42:04.309411Z\", \n \"href\": \"/api_keys/AK6KE8DM6RBulFX0qsKxf4HK\", \n \"id\": \"AK6KE8DM6RBulFX0qsKxf4HK\", \n \"links\": {}, \n \"meta\": {}, \n \"secret\": \"ak-test-1xGEmbY58peQpnsgKEpgjuXgR1TjYdGpj\"\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/AK71eFaqqATpvybAvOSO4t6t"
},
"response": "{\n \"api_keys\": [\n {\n \"created_at\": \"2015-01-12T22:42:19.063362Z\", \n \"href\": \"/api_keys/AK71eFaqqATpvybAvOSO4t6t\", \n \"id\": \"AK71eFaqqATpvybAvOSO4t6t\", \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/CU6T8PWyIPpBnKRDaCzjzs3u",
"payload": {
"customer": "/customers/CU6T8PWyIPpBnKRDaCzjzs3u"
},
"uri": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq"
},
"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\": \"2015-01-12T22:42:40.848118Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq\", \n \"id\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\"\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2015-01-12T22:42:41.428750Z\"\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 \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\n }\n}"
},
"bank_account_create": {
"request": {
"payload": {
"account_number": "9900000001",
"account_type": "checking",
"name": "Johann Bernoulli",
"routing_number": "121000358"
},
"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\": \"2015-01-12T22:42:40.848118Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq\", \n \"id\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2015-01-12T22:42:40.848120Z\"\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 \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\n }\n}"
},
"bank_account_credit": {
"request": {
"bank_account_href": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq",
"payload": {
"amount": 5000
},
"uri": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:44:12.312356Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR1hx2lNsbiNl1QQyvKfLXgY\", \n \"id\": \"CR1hx2lNsbiNl1QQyvKfLXgY\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"CRO89-V45-SHX3\", \n \"updated_at\": \"2015-01-12T22:44:12.686643Z\"\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_order": {
"request": {
"bank_account_href": "/bank_accounts/BA76DHXmuR23n9o1vsQvYCIM",
"order_href": "/orders/OR6WOo9lApIMupmo5s4xoGhL",
"payload": {
"amount": 5000,
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/bank_accounts/BA76DHXmuR23n9o1vsQvYCIM/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:42:43.365622Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD7szmXUALjR8SsLmVzErf7a\", \n \"id\": \"WD7szmXUALjR8SsLmVzErf7a\", \n \"links\": {\n \"card_hold\": null, \n \"customer\": null, \n \"dispute\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"source\": \"BA76DHXmuR23n9o1vsQvYCIM\"\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"W13T-YOI-CNOF\", \n \"updated_at\": \"2015-01-12T22:42:43.627237Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/BA7iosgWjWaeqTsv3XMux19S"
}
},
"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\": \"2015-01-12T22:42:34.315388Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA7iosgWjWaeqTsv3XMux19S\", \n \"id\": \"BA7iosgWjWaeqTsv3XMux19S\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2015-01-12T22:42:34.315390Z\"\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\": \"2015-01-12T22:42:23.865572Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA76DHXmuR23n9o1vsQvYCIM\", \n \"id\": \"BA76DHXmuR23n9o1vsQvYCIM\", \n \"links\": {\n \"bank_account_verification\": \"BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2015-01-12T22:42:32.783690Z\"\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\": \"2015-01-12T22:42:05.017220Z\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"href\": \"/bank_accounts/BA6Lb3AxprADJagD8ZWSUqSF\", \n \"id\": \"BA6Lb3AxprADJagD8ZWSUqSF\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": \"CU6L554nYycGlVBOCqBCwDXv\"\n }, \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"updated_at\": \"2015-01-12T22:42:05.017222Z\"\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 \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\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/BA7iosgWjWaeqTsv3XMux19S"
},
"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\": \"2015-01-12T22:42:34.315388Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA7iosgWjWaeqTsv3XMux19S\", \n \"id\": \"BA7iosgWjWaeqTsv3XMux19S\", \n \"links\": {\n \"bank_account_verification\": null, \n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"updated_at\": \"2015-01-12T22:42:34.315390Z\"\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 \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\n }\n}"
},
"bank_account_update": {
"request": {
"payload": {
"meta": {
"facebook.user_id": "0192837465",
"my-own-customer-id": "12345",
"twitter.id": "1234987650"
}
},
"uri": "/bank_accounts/BA7iosgWjWaeqTsv3XMux19S"
},
"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\": \"2015-01-12T22:42:34.315388Z\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"href\": \"/bank_accounts/BA7iosgWjWaeqTsv3XMux19S\", \n \"id\": \"BA7iosgWjWaeqTsv3XMux19S\", \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\": \"2015-01-12T22:42:38.633804Z\"\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 \"bank_accounts.settlements\": \"/bank_accounts/{bank_accounts.id}/settlements\"\n }\n}"
},
"bank_account_verification_create": {
"request": {
"bank_account_uri": "/bank_accounts/BA76DHXmuR23n9o1vsQvYCIM",
"uri": "/bank_accounts/BA76DHXmuR23n9o1vsQvYCIM/verifications"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2015-01-12T22:42:29.893039Z\", \n \"deposit_status\": \"pending\", \n \"href\": \"/verifications/BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"id\": \"BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"links\": {\n \"bank_account\": \"BA76DHXmuR23n9o1vsQvYCIM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:42:29.893040Z\", \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/BZ7dpPdkp1YZCoR1UXbKxSOp"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 0, \n \"attempts_remaining\": 3, \n \"created_at\": \"2015-01-12T22:42:29.893039Z\", \n \"deposit_status\": \"pending\", \n \"href\": \"/verifications/BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"id\": \"BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"links\": {\n \"bank_account\": \"BA76DHXmuR23n9o1vsQvYCIM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:42:29.893040Z\", \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/BZ7dpPdkp1YZCoR1UXbKxSOp"
},
"response": "{\n \"bank_account_verifications\": [\n {\n \"attempts\": 1, \n \"attempts_remaining\": 2, \n \"created_at\": \"2015-01-12T22:42:29.893039Z\", \n \"deposit_status\": \"succeeded\", \n \"href\": \"/verifications/BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"id\": \"BZ7dpPdkp1YZCoR1UXbKxSOp\", \n \"links\": {\n \"bank_account\": \"BA76DHXmuR23n9o1vsQvYCIM\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:42:32.785480Z\", \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": {
"method": "post",
"url": "http://www.example.com/callback_test"
},
"uri": "/callbacks"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"id\": \"CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback_test\"\n }\n ], \n \"links\": {}\n}"
},
"callback_delete": {
"request": {
"uri": "/callbacks/CB7uKsfjLaP4Igr8ttiyzxpH"
}
},
"callback_list": {
"request": {
"uri": "/callbacks"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"id\": \"CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback_test\"\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/CB7uKsfjLaP4Igr8ttiyzxpH"
},
"response": "{\n \"callbacks\": [\n {\n \"href\": \"/callbacks/CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"id\": \"CB7uKsfjLaP4Igr8ttiyzxpH\", \n \"links\": {}, \n \"method\": \"post\", \n \"revision\": \"1.1\", \n \"url\": \"http://www.example.com/callback_test\"\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,
"bank_name": "JPMORGAN CHASE BANK, N.A.",
"brand": "Visa",
"can_credit": false,
"can_debit": true,
"category": "other",
"created_at": "2015-01-12T22:42:06.466861Z",
"cvv": null,
"cvv_match": null,
"cvv_result": null,
"expiration_month": 4,
"expiration_year": 2016,
"fingerprint": "979a26c05f2fb1c7ae38656312b176da2c9be1d938d442040bc79539caac6c0d",
"href": "/cards/CC6N3KVrZPXk6jsJczqI7297",
"id": "CC6N3KVrZPXk6jsJczqI7297",
"is_verified": true,
"links": {
"customer": "CU6M4PMbwr4FEZFf3AdgbRtu"
},
"meta": {},
"name": "Benny Riemann",
"number": "xxxxxxxxxxxx1111",
"type": "credit",
"updated_at": "2015-01-12T22:42:06.466863Z"
},
"card_associate_to_customer": {
"request": {
"payload": {
"customer": "/customers/CU6T8PWyIPpBnKRDaCzjzs3u"
},
"uri": "/cards/CC7YoWpvzzYnSM7eJkEamRD"
},
"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 \"bank_name\": \"WELLS FARGO BANK, N.A.\", \n \"brand\": \"Visa\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:08.680022Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 5, \n \"expiration_year\": 2020, \n \"fingerprint\": \"7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355\", \n \"href\": \"/cards/CC7YoWpvzzYnSM7eJkEamRD\", \n \"id\": \"CC7YoWpvzzYnSM7eJkEamRD\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\"\n }, \n \"meta\": {}, \n \"name\": \"Johannes Bach\", \n \"number\": \"xxxxxxxxxxxx1118\", \n \"type\": \"debit\", \n \"updated_at\": \"2015-01-12T22:43:09.237647Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.credits\": \"/cards/{cards.id}/credits\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\", \n \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_create": {
"request": {
"payload": {
"cvv": "123",
"expiration_month": "12",
"expiration_year": "2020",
"number": "5105105105105100"
},
"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 \"bank_name\": \"BANK OF HAWAII\", \n \"brand\": \"MasterCard\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:01.793447Z\", \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/CCe7zB2t23e0uDbuwkaq7X\", \n \"id\": \"CCe7zB2t23e0uDbuwkaq7X\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:43:01.793449Z\"\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 \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_create_creditable": {
"request": {
"payload": {
"expiration_month": "05",
"expiration_year": "2020",
"name": "Johannes Bach",
"number": "4342561111111118"
},
"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 \"bank_name\": \"WELLS FARGO BANK, N.A.\", \n \"brand\": \"Visa\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:08.680022Z\", \n \"cvv\": null, \n \"cvv_match\": null, \n \"cvv_result\": null, \n \"expiration_month\": 5, \n \"expiration_year\": 2020, \n \"fingerprint\": \"7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355\", \n \"href\": \"/cards/CC7YoWpvzzYnSM7eJkEamRD\", \n \"id\": \"CC7YoWpvzzYnSM7eJkEamRD\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": \"Johannes Bach\", \n \"number\": \"xxxxxxxxxxxx1118\", \n \"type\": \"debit\", \n \"updated_at\": \"2015-01-12T22:43:08.680023Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.credits\": \"/cards/{cards.id}/credits\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\", \n \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_create_dispute": {
"request": {
"payload": {
"cvv": "123",
"expiration_month": "12",
"expiration_year": "3000",
"number": "6500000000000002"
},
"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 \"bank_name\": \"BANK OF AMERICA\", \n \"brand\": \"Discover\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:40.762803Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 3000, \n \"fingerprint\": \"3c667a62653e187f29b5781eeb0703f26e99558080de0c0f9490b5f9c4ac2871\", \n \"href\": \"/cards/CCI3FMX2q7vodXsqblLcKS4\", \n \"id\": \"CCI3FMX2q7vodXsqblLcKS4\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx0002\", \n \"type\": \"debit\", \n \"updated_at\": \"2015-01-12T22:43:40.762805Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.credits\": \"/cards/{cards.id}/credits\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\", \n \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_credit_order": {
"request": {
"card_href": "/cards/CC7YoWpvzzYnSM7eJkEamRD",
"order_href": "/orders/OR6WOo9lApIMupmo5s4xoGhL",
"payload": {
"amount": 5000,
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/cards/CC7YoWpvzzYnSM7eJkEamRD/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:12.867175Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRcG7XgxJglH8plTdRKbHpu\", \n \"id\": \"CRcG7XgxJglH8plTdRKbHpu\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"CC7YoWpvzzYnSM7eJkEamRD\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CRNC9-B6H-1DJM\", \n \"updated_at\": \"2015-01-12T22:43:13.229387Z\"\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}"
},
"card_debit": {
"request": {
"card_href": "/cards/CCe7zB2t23e0uDbuwkaq7X",
"payload": {
"amount": 5000,
"appears_on_statement_as": "Statement text",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/cards/CCe7zB2t23e0uDbuwkaq7X/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:36.866661Z\", \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/WDDFHRmkjH0QlH6WCYnjpSM\", \n \"id\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \n \"links\": {\n \"card_hold\": \"HLDEzj050kr5liiuUKX5F8A\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W896-NJP-H5HU\", \n \"updated_at\": \"2015-01-12T22:43:37.683063Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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_debit_dispute": {
"request": {
"card_href": "/cards/CCI3FMX2q7vodXsqblLcKS4",
"payload": {
"amount": 5000,
"appears_on_statement_as": "Statement text",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/cards/CCI3FMX2q7vodXsqblLcKS4/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/CCe7zB2t23e0uDbuwkaq7X"
}
},
"card_hold_capture": {
"request": {
"card_hold_href": "/card_holds/HL7BOjGLe4jtWA1FRVBcISty",
"payload": {
"appears_on_statement_as": "ShowsUpOnStmt",
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/card_holds/HL7BOjGLe4jtWA1FRVBcISty/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2015-01-12T22:42:56.573539Z\", \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/WD7HqsrWUiagZVWBFvRMhuF2\", \n \"id\": \"WD7HqsrWUiagZVWBFvRMhuF2\", \n \"links\": {\n \"card_hold\": \"HL7BOjGLe4jtWA1FRVBcISty\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC6WbSaLtp30MJSJFKGO0wSc\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WBWQ-S7J-6CB5\", \n \"updated_at\": \"2015-01-12T22:42:57.134058Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/CC6WbSaLtp30MJSJFKGO0wSc",
"payload": {
"amount": 5000,
"description": "Some descriptive text for the debit in the dashboard"
},
"uri": "/cards/CC6WbSaLtp30MJSJFKGO0wSc/card_holds"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:58.384278Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:58.562856Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7JsTCv5BhCCqVAgxJ8ize0\", \n \"id\": \"HL7JsTCv5BhCCqVAgxJ8ize0\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL74V-64Y-MGGE\", \n \"updated_at\": \"2015-01-12T22:42:58.637650Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n}"
},
"card_hold_list": {
"request": {
"uri": "/card_holds"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:51.578105Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:51.783080Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7BOjGLe4jtWA1FRVBcISty\", \n \"id\": \"HL7BOjGLe4jtWA1FRVBcISty\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLWBH-TB6-OX4X\", \n \"updated_at\": \"2015-01-12T22:42:51.874057Z\", \n \"voided_at\": null\n }, \n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:49.979000Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:50.212207Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7A0O8eMoEpWFAUgwmis7AI\", \n \"id\": \"HL7A0O8eMoEpWFAUgwmis7AI\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLPYG-2SZ-YYFF\", \n \"updated_at\": \"2015-01-12T22:42:50.293573Z\", \n \"voided_at\": null\n }, \n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:15.706502Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"expires_at\": \"2015-01-19T22:42:15.960132Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL6XszxuzJffx4KkXL3u91Ix\", \n \"id\": \"HL6XszxuzJffx4KkXL3u91Ix\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": \"WD6Xtkuy6hgmrT9dsCL2zCRL\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLA26-M2S-RXDP\", \n \"updated_at\": \"2015-01-12T22:42:16.399653Z\", \n \"voided_at\": null\n }, \n {\n \"amount\": 10000000, \n \"created_at\": \"2015-01-12T22:42:07.230686Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"expires_at\": \"2015-01-19T22:42:07.503055Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL6NVxMC9jdLOz9mIt0mA5vL\", \n \"id\": \"HL6NVxMC9jdLOz9mIt0mA5vL\", \n \"links\": {\n \"card\": \"CC6N3KVrZPXk6jsJczqI7297\", \n \"debit\": \"WD6NXcTGihcrycVPYbDFv8jj\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLYZX-RS3-VLGR\", \n \"updated_at\": \"2015-01-12T22:42:08.079385Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\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\": 4\n }\n}"
},
"card_hold_order": {
"request": {
"card_href": "/cards/CC6WbSaLtp30MJSJFKGO0wSc",
"order_href": "/orders/OR6WOo9lApIMupmo5s4xoGhL",
"payload": {
"amount": 5000,
"description": "Some descriptive text for the debit in the dashboard",
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/cards/CC6WbSaLtp30MJSJFKGO0wSc/card_holds"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:49.979000Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:50.212207Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7A0O8eMoEpWFAUgwmis7AI\", \n \"id\": \"HL7A0O8eMoEpWFAUgwmis7AI\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLPYG-2SZ-YYFF\", \n \"updated_at\": \"2015-01-12T22:42:50.293573Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n}"
},
"card_hold_show": {
"request": {
"uri": "/card_holds/HL7BOjGLe4jtWA1FRVBcISty"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:51.578105Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:51.783080Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7BOjGLe4jtWA1FRVBcISty\", \n \"id\": \"HL7BOjGLe4jtWA1FRVBcISty\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLWBH-TB6-OX4X\", \n \"updated_at\": \"2015-01-12T22:42:51.874057Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n}"
},
"card_hold_update": {
"request": {
"payload": {
"description": "update this description",
"meta": {
"holding.for": "user1",
"meaningful.key": "some.value"
}
},
"uri": "/card_holds/HL7BOjGLe4jtWA1FRVBcISty"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:51.578105Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"expires_at\": \"2015-01-19T22:42:51.783080Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7BOjGLe4jtWA1FRVBcISty\", \n \"id\": \"HL7BOjGLe4jtWA1FRVBcISty\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLWBH-TB6-OX4X\", \n \"updated_at\": \"2015-01-12T22:42:55.312535Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n}"
},
"card_hold_void": {
"request": {
"uri": "/card_holds/HL7JsTCv5BhCCqVAgxJ8ize0"
},
"response": "{\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:42:58.384278Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:42:58.562856Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HL7JsTCv5BhCCqVAgxJ8ize0\", \n \"id\": \"HL7JsTCv5BhCCqVAgxJ8ize0\", \n \"links\": {\n \"card\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HL74V-64Y-MGGE\", \n \"updated_at\": \"2015-01-12T22:42:59.598887Z\", \n \"voided_at\": \"2015-01-12T22:42:59.183340Z\"\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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n}"
},
"card_id": "CC6N3KVrZPXk6jsJczqI7297",
"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 \"bank_name\": \"BANK OF HAWAII\", \n \"brand\": \"MasterCard\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:01.793447Z\", \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/CCe7zB2t23e0uDbuwkaq7X\", \n \"id\": \"CCe7zB2t23e0uDbuwkaq7X\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:43:01.793449Z\"\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 \"bank_name\": \"BANK OF HAWAII\", \n \"brand\": \"MasterCard\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:42:14.573995Z\", \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/CC6WbSaLtp30MJSJFKGO0wSc\", \n \"id\": \"CC6WbSaLtp30MJSJFKGO0wSc\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:42:14.573997Z\"\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 \"bank_name\": \"JPMORGAN CHASE BANK, N.A.\", \n \"brand\": \"Visa\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:42:06.466861Z\", \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/CC6N3KVrZPXk6jsJczqI7297\", \n \"id\": \"CC6N3KVrZPXk6jsJczqI7297\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": \"CU6M4PMbwr4FEZFf3AdgbRtu\"\n }, \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"number\": \"xxxxxxxxxxxx1111\", \n \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:42:06.466863Z\"\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 \"cards.disputes\": \"/cards/{cards.id}/disputes\"\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/CCe7zB2t23e0uDbuwkaq7X"
},
"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 \"bank_name\": \"BANK OF HAWAII\", \n \"brand\": \"MasterCard\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:01.793447Z\", \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/CCe7zB2t23e0uDbuwkaq7X\", \n \"id\": \"CCe7zB2t23e0uDbuwkaq7X\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx5100\", \n \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:43:01.793449Z\"\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 \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_update": {
"request": {
"payload": {
"meta": {
"facebook.user_id": "0192837465",
"my-own-customer-id": "12345",
"twitter.id": "1234987650"
}
},
"uri": "/cards/CCe7zB2t23e0uDbuwkaq7X"
},
"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 \"bank_name\": \"BANK OF HAWAII\", \n \"brand\": \"MasterCard\", \n \"can_credit\": false, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:01.793447Z\", \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/CCe7zB2t23e0uDbuwkaq7X\", \n \"id\": \"CCe7zB2t23e0uDbuwkaq7X\", \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 \"type\": \"credit\", \n \"updated_at\": \"2015-01-12T22:43:06.036396Z\"\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 \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n}"
},
"card_uri": "/cards/CC6N3KVrZPXk6jsJczqI7297",
"cards_uri": "/customers/CU6M4PMbwr4FEZFf3AdgbRtu/cards",
"credit_list": {
"request": {
"uri": "/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:16.156093Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRgmSiTFswgQSQEKEArH4i1\", \n \"id\": \"CRgmSiTFswgQSQEKEArH4i1\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"CRFK8-RKV-XY5H\", \n \"updated_at\": \"2015-01-12T22:43:16.501142Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:12.867175Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRcG7XgxJglH8plTdRKbHpu\", \n \"id\": \"CRcG7XgxJglH8plTdRKbHpu\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"CC7YoWpvzzYnSM7eJkEamRD\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CRNC9-B6H-1DJM\", \n \"updated_at\": \"2015-01-12T22:43:13.229387Z\"\n }, \n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"ThingsCo\", \n \"created_at\": \"2015-01-12T22:42:17.676224Z\", \n \"currency\": \"USD\", \n \"description\": \"A simple credit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CR6ZFDi2sORoKZlSPrC9p54I\", \n \"id\": \"CR6ZFDi2sORoKZlSPrC9p54I\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {\n \"rating\": \"8\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"CRDCE-FLC-M1RV\", \n \"updated_at\": \"2015-01-12T22:42:17.795666Z\"\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\": 3\n }\n}"
},
"credit_list_bank_account": {
"request": {
"bank_account_href": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq",
"uri": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:16.156093Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRgmSiTFswgQSQEKEArH4i1\", \n \"id\": \"CRgmSiTFswgQSQEKEArH4i1\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"CRFK8-RKV-XY5H\", \n \"updated_at\": \"2015-01-12T22:43:16.501142Z\"\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\": \"/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits?limit=10&offset=0\", \n \"href\": \"/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits?limit=10&offset=0\", \n \"last\": \"/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
},
"credit_order": {
"request": {
"bank_account_href": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits",
"order_href": "/orders/OR6WOo9lApIMupmo5s4xoGhL",
"payload": {
"amount": 5000,
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq/credits"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:14.750705Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": \"Marketplace TEST-MP6L3QxQu6QF0VkyL2rWNzVP has insufficient funds to cover a transfer of 5000.\", \n \"failure_reason_code\": \"insufficient-funds\", \n \"href\": \"/credits/CReNvZXxIDSCPlIaHQmxkaI\", \n \"id\": \"CReNvZXxIDSCPlIaHQmxkaI\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\"\n }, \n \"meta\": {}, \n \"status\": \"failed\", \n \"transaction_number\": \"CRJG8-0QA-05Y9\", \n \"updated_at\": \"2015-01-12T22:43:14.775631Z\"\n }\n ], \n \"errors\": [\n {\n \"additional\": null, \n \"category_code\": \"insufficient-funds\", \n \"category_type\": \"logical\", \n \"description\": \"Marketplace TEST-MP6L3QxQu6QF0VkyL2rWNzVP has insufficient funds to cover a transfer of 5000. Your request id is OHM07cd2bdc9aac11e48c5306429171ffad.\", \n \"extras\": {}, \n \"request_id\": \"OHM07cd2bdc9aac11e48c5306429171ffad\", \n \"status\": \"Conflict\", \n \"status_code\": 409\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_show": {
"request": {
"uri": "/credits/CRgmSiTFswgQSQEKEArH4i1"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:16.156093Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRgmSiTFswgQSQEKEArH4i1\", \n \"id\": \"CRgmSiTFswgQSQEKEArH4i1\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"CRFK8-RKV-XY5H\", \n \"updated_at\": \"2015-01-12T22:43:16.501142Z\"\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/CRgmSiTFswgQSQEKEArH4i1"
},
"response": "{\n \"credits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"example.com\", \n \"created_at\": \"2015-01-12T22:43:16.156093Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for credit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/credits/CRgmSiTFswgQSQEKEArH4i1\", \n \"id\": \"CRgmSiTFswgQSQEKEArH4i1\", \n \"links\": {\n \"customer\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"order\": null\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"pending\", \n \"transaction_number\": \"CRFK8-RKV-XY5H\", \n \"updated_at\": \"2015-01-12T22:43:21.156001Z\"\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": "2015-01-12T22:42:05.580395Z",
"dob_month": null,
"dob_year": null,
"ein": null,
"email": null,
"href": "/customers/CU6M4PMbwr4FEZFf3AdgbRtu",
"id": "CU6M4PMbwr4FEZFf3AdgbRtu",
"links": {
"destination": null,
"source": null
},
"merchant_status": "no-match",
"meta": {},
"name": null,
"phone": null,
"ssn_last4": null,
"updated_at": "2015-01-12T22:42:05.707117Z"
},
"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\": \"2015-01-12T22:43:28.928460Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CUuKoL77fBHdpNEp8yc5gln\", \n \"id\": \"CUuKoL77fBHdpNEp8yc5gln\", \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\": \"2015-01-12T22:43:29.149864Z\"\n }\n ], \n \"links\": {\n \"customers.accounts\": \"/customers/{customers.id}/accounts\", \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.disputes\": \"/customers/{customers.id}/disputes\", \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}"
},
"customer_delete": {
"request": {
"uri": "/customers/CUuKoL77fBHdpNEp8yc5gln"
}
},
"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\": \"2015-01-12T22:43:23.079097Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CUoavBZFo6Zy8ohxex8HjZH\", \n \"id\": \"CUoavBZFo6Zy8ohxex8HjZH\", \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\": \"2015-01-12T22:43:23.293562Z\"\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\": \"2015-01-12T22:42:11.861689Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU6T8PWyIPpBnKRDaCzjzs3u\", \n \"id\": \"CU6T8PWyIPpBnKRDaCzjzs3u\", \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\": \"2015-01-12T22:42:12.075512Z\"\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\": \"2015-01-12T22:42:05.580395Z\", \n \"dob_month\": null, \n \"dob_year\": null, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CU6M4PMbwr4FEZFf3AdgbRtu\", \n \"id\": \"CU6M4PMbwr4FEZFf3AdgbRtu\", \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\": \"2015-01-12T22:42:05.707117Z\"\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\": \"2015-01-12T22:42:04.700433Z\", \n \"dob_month\": 2, \n \"dob_year\": 1947, \n \"ein\": null, \n \"email\": \"[email protected]\", \n \"href\": \"/customers/CU6L554nYycGlVBOCqBCwDXv\", \n \"id\": \"CU6L554nYycGlVBOCqBCwDXv\", \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\": \"2015-01-12T22:42:05.003374Z\"\n }\n ], \n \"links\": {\n \"customers.accounts\": \"/customers/{customers.id}/accounts\", \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.disputes\": \"/customers/{customers.id}/disputes\", \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}"
},
"customer_show": {
"request": {
"uri": "/customers/CUoavBZFo6Zy8ohxex8HjZH"
},
"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\": \"2015-01-12T22:43:23.079097Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": null, \n \"href\": \"/customers/CUoavBZFo6Zy8ohxex8HjZH\", \n \"id\": \"CUoavBZFo6Zy8ohxex8HjZH\", \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\": \"2015-01-12T22:43:23.293562Z\"\n }\n ], \n \"links\": {\n \"customers.accounts\": \"/customers/{customers.id}/accounts\", \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.disputes\": \"/customers/{customers.id}/disputes\", \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}"
},
"customer_update": {
"request": {
"payload": {
"email": "[email protected]",
"meta": {
"shipping-preference": "ground"
}
},
"uri": "/customers/CUoavBZFo6Zy8ohxex8HjZH"
},
"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\": \"2015-01-12T22:43:23.079097Z\", \n \"dob_month\": 7, \n \"dob_year\": 1963, \n \"ein\": null, \n \"email\": \"[email protected]\", \n \"href\": \"/customers/CUoavBZFo6Zy8ohxex8HjZH\", \n \"id\": \"CUoavBZFo6Zy8ohxex8HjZH\", \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\": \"2015-01-12T22:43:27.328281Z\"\n }\n ], \n \"links\": {\n \"customers.accounts\": \"/customers/{customers.id}/accounts\", \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.disputes\": \"/customers/{customers.id}/disputes\", \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}"
},
"customers_uri": "/customers",
"debit": {
"debits": [
{
"amount": 10000000,
"appears_on_statement_as": "BAL*example.com",
"created_at": "2015-01-12T22:42:07.264657Z",
"currency": "USD",
"description": null,
"failure_reason": null,
"failure_reason_code": null,
"href": "/debits/WD6NXcTGihcrycVPYbDFv8jj",
"id": "WD6NXcTGihcrycVPYbDFv8jj",
"links": {
"card_hold": "HL6NVxMC9jdLOz9mIt0mA5vL",
"customer": "CU6M4PMbwr4FEZFf3AdgbRtu",
"dispute": null,
"order": null,
"source": "CC6N3KVrZPXk6jsJczqI7297"
},
"meta": {},
"status": "succeeded",
"transaction_number": "W4G7-1UR-7S8Y",
"updated_at": "2015-01-12T22:42:08.072348Z"
}
],
"links": {
"debits.card_hold": "/holds/{debits.card_hold}",
"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_dispute_show": {
"request": {
"debit_href": "/debits/WDICZ1W657ZVzVtnhEbuhPD",
"uri": "/disputes/DTUPm3Gtwsl00bB8M6phfOr"
},
"response": "{\n \"disputes\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:52.123378Z\", \n \"currency\": \"USD\", \n \"href\": \"/disputes/DTUPm3Gtwsl00bB8M6phfOr\", \n \"id\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"initiated_at\": \"2015-01-12T22:41:05.562508Z\", \n \"links\": {\n \"transaction\": \"WDICZ1W657ZVzVtnhEbuhPD\"\n }, \n \"meta\": {}, \n \"reason\": \"fraud\", \n \"respond_by\": \"2015-02-11T22:41:05.562510Z\", \n \"status\": \"pending\", \n \"updated_at\": \"2015-01-12T22:43:52.123380Z\"\n }\n ], \n \"links\": {\n \"disputes.events\": \"/disputes/{disputes.id}/events\", \n \"disputes.transaction\": \"/resources/{disputes.transaction}\"\n }\n}"
},
"debit_list": {
"request": {
"uri": "/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:30.901182Z\", \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/WDwXsVosniVmJBcxO7IfTFj\", \n \"id\": \"WDwXsVosniVmJBcxO7IfTFj\", \n \"links\": {\n \"card_hold\": \"HLwWHz8IAkAAkSZDFvW1lXL\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WTU3-1T4-40ME\", \n \"updated_at\": \"2015-01-12T22:43:31.730589Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:43:10.710574Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WDafdNjdgXmut2DkllNVuol\", \n \"id\": \"WDafdNjdgXmut2DkllNVuol\", \n \"links\": {\n \"card_hold\": \"HLaefHDEIUktlBu8KZty8mN\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WNXP-JFV-B7PD\", \n \"updated_at\": \"2015-01-12T22:43:11.569306Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*ShowsUpOnStmt\", \n \"created_at\": \"2015-01-12T22:42:56.573539Z\", \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/WD7HqsrWUiagZVWBFvRMhuF2\", \n \"id\": \"WD7HqsrWUiagZVWBFvRMhuF2\", \n \"links\": {\n \"card_hold\": \"HL7BOjGLe4jtWA1FRVBcISty\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC6WbSaLtp30MJSJFKGO0wSc\"\n }, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WBWQ-S7J-6CB5\", \n \"updated_at\": \"2015-01-12T22:42:57.134058Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:42:43.365622Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD7szmXUALjR8SsLmVzErf7a\", \n \"id\": \"WD7szmXUALjR8SsLmVzErf7a\", \n \"links\": {\n \"card_hold\": null, \n \"customer\": null, \n \"dispute\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"source\": \"BA76DHXmuR23n9o1vsQvYCIM\"\n }, \n \"meta\": {}, \n \"status\": \"pending\", \n \"transaction_number\": \"W13T-YOI-CNOF\", \n \"updated_at\": \"2015-01-12T22:42:43.627237Z\"\n }, \n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:42:15.728576Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD6Xtkuy6hgmrT9dsCL2zCRL\", \n \"id\": \"WD6Xtkuy6hgmrT9dsCL2zCRL\", \n \"links\": {\n \"card_hold\": \"HL6XszxuzJffx4KkXL3u91Ix\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"source\": \"CC6WbSaLtp30MJSJFKGO0wSc\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W2WY-0YA-0P4B\", \n \"updated_at\": \"2015-01-12T22:42:16.396179Z\"\n }, \n {\n \"amount\": 10000000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:42:07.264657Z\", \n \"currency\": \"USD\", \n \"description\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WD6NXcTGihcrycVPYbDFv8jj\", \n \"id\": \"WD6NXcTGihcrycVPYbDFv8jj\", \n \"links\": {\n \"card_hold\": \"HL6NVxMC9jdLOz9mIt0mA5vL\", \n \"customer\": \"CU6M4PMbwr4FEZFf3AdgbRtu\", \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CC6N3KVrZPXk6jsJczqI7297\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W4G7-1UR-7S8Y\", \n \"updated_at\": \"2015-01-12T22:42:08.072348Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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\": 6\n }\n}"
},
"debit_order": {
"request": {
"card_href": "/cards/CCe7zB2t23e0uDbuwkaq7X",
"order_href": "/orders/OR6WOo9lApIMupmo5s4xoGhL",
"payload": {
"amount": 5000,
"order": "/orders/OR6WOo9lApIMupmo5s4xoGhL"
},
"uri": "/cards/CCe7zB2t23e0uDbuwkaq7X/debits"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*example.com\", \n \"created_at\": \"2015-01-12T22:43:10.710574Z\", \n \"currency\": \"USD\", \n \"description\": \"Order #12341234\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WDafdNjdgXmut2DkllNVuol\", \n \"id\": \"WDafdNjdgXmut2DkllNVuol\", \n \"links\": {\n \"card_hold\": \"HLaefHDEIUktlBu8KZty8mN\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WNXP-JFV-B7PD\", \n \"updated_at\": \"2015-01-12T22:43:11.569306Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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_show": {
"request": {
"uri": "/debits/WDwXsVosniVmJBcxO7IfTFj"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:30.901182Z\", \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/WDwXsVosniVmJBcxO7IfTFj\", \n \"id\": \"WDwXsVosniVmJBcxO7IfTFj\", \n \"links\": {\n \"card_hold\": \"HLwWHz8IAkAAkSZDFvW1lXL\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WTU3-1T4-40ME\", \n \"updated_at\": \"2015-01-12T22:43:31.730589Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/WDwXsVosniVmJBcxO7IfTFj"
},
"response": "{\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:30.901182Z\", \n \"currency\": \"USD\", \n \"description\": \"New description for debit\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/debits/WDwXsVosniVmJBcxO7IfTFj\", \n \"id\": \"WDwXsVosniVmJBcxO7IfTFj\", \n \"links\": {\n \"card_hold\": \"HLwWHz8IAkAAkSZDFvW1lXL\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCe7zB2t23e0uDbuwkaq7X\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WTU3-1T4-40ME\", \n \"updated_at\": \"2015-01-12T22:43:35.417367Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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}"
},
"dispute_list": {
"request": {
"uri": "/disputes"
},
"response": "{\n \"disputes\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:52.123378Z\", \n \"currency\": \"USD\", \n \"href\": \"/disputes/DTUPm3Gtwsl00bB8M6phfOr\", \n \"id\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"initiated_at\": \"2015-01-12T22:41:05.562508Z\", \n \"links\": {\n \"transaction\": \"WDICZ1W657ZVzVtnhEbuhPD\"\n }, \n \"meta\": {}, \n \"reason\": \"fraud\", \n \"respond_by\": \"2015-02-11T22:41:05.562510Z\", \n \"status\": \"pending\", \n \"updated_at\": \"2015-01-12T22:43:52.123380Z\"\n }\n ], \n \"links\": {\n \"disputes.events\": \"/disputes/{disputes.id}/events\", \n \"disputes.transaction\": \"/resources/{disputes.transaction}\"\n }, \n \"meta\": {\n \"first\": \"/disputes?limit=10&offset=0\", \n \"href\": \"/disputes?limit=10&offset=0\", \n \"last\": \"/disputes?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }\n}"
},
"dispute_show": {
"request": {
"uri": "/disputes/DTUPm3Gtwsl00bB8M6phfOr"
},
"response": "{\n \"disputes\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:52.123378Z\", \n \"currency\": \"USD\", \n \"href\": \"/disputes/DTUPm3Gtwsl00bB8M6phfOr\", \n \"id\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"initiated_at\": \"2015-01-12T22:41:05.562508Z\", \n \"links\": {\n \"transaction\": \"WDICZ1W657ZVzVtnhEbuhPD\"\n }, \n \"meta\": {}, \n \"reason\": \"fraud\", \n \"respond_by\": \"2015-02-11T22:41:05.562510Z\", \n \"status\": \"pending\", \n \"updated_at\": \"2015-01-12T22:43:52.123380Z\"\n }\n ], \n \"links\": {\n \"disputes.events\": \"/disputes/{disputes.id}/events\", \n \"disputes.transaction\": \"/resources/{disputes.transaction}\"\n }\n}"
},
"event_list": {
"request": {
"uri": "/events"
},
"response": "{\n \"events\": [\n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/EV1e718d249aac11e4b9bb02d08005b466\", \n \"id\": \"EV1e718d249aac11e4b9bb02d08005b466\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.029409Z\", \n \"type\": \"debit.succeeded\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/EV1e1dad769aac11e4987106debca797bb\", \n \"id\": \"EV1e1dad769aac11e4987106debca797bb\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.029409Z\", \n \"type\": \"debit.updated\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"disputes\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:52.123378Z\", \n \"currency\": \"USD\", \n \"href\": \"/disputes/DTUPm3Gtwsl00bB8M6phfOr\", \n \"id\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"initiated_at\": \"2015-01-12T22:41:05.562508Z\", \n \"links\": {\n \"transaction\": \"WDICZ1W657ZVzVtnhEbuhPD\"\n }, \n \"meta\": {}, \n \"reason\": \"fraud\", \n \"respond_by\": \"2015-02-11T22:41:05.562510Z\", \n \"status\": \"pending\", \n \"updated_at\": \"2015-01-12T22:43:52.123380Z\"\n }\n ], \n \"links\": {\n \"disputes.events\": \"/disputes/{disputes.id}/events\", \n \"disputes.transaction\": \"/resources/{disputes.transaction}\"\n }\n }, \n \"href\": \"/events/EV1e20cdee9aac11e4987106debca797bb\", \n \"id\": \"EV1e20cdee9aac11e4987106debca797bb\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:52.123380Z\", \n \"type\": \"dispute.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/EV185192f49aac11e4b9cc06debca797bb\", \n \"id\": \"EV185192f49aac11e4b9cc06debca797bb\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.029409Z\", \n \"type\": \"debit.succeeded\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": null, \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/EV17db28c69aac11e4a473061e5f402045\", \n \"id\": \"EV17db28c69aac11e4a473061e5f402045\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.029409Z\", \n \"type\": \"debit.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:41.255539Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:43:41.483865Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HLIC32gTGj0bJ0MjpE9zKCx\", \n \"id\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"links\": {\n \"card\": \"CCI3FMX2q7vodXsqblLcKS4\", \n \"debit\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLZN9-JPO-6XZB\", \n \"updated_at\": \"2015-01-12T22:43:42.034955Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n }, \n \"href\": \"/events/EV18433dee9aac11e4835006debca797bb\", \n \"id\": \"EV18433dee9aac11e4835006debca797bb\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.034955Z\", \n \"type\": \"hold.captured\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:41.255539Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2015-01-19T22:43:41.483865Z\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HLIC32gTGj0bJ0MjpE9zKCx\", \n \"id\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"links\": {\n \"card\": \"CCI3FMX2q7vodXsqblLcKS4\", \n \"debit\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLZN9-JPO-6XZB\", \n \"updated_at\": \"2015-01-12T22:43:42.034955Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n }, \n \"href\": \"/events/EV17d62f7e9aac11e4a473061e5f402045\", \n \"id\": \"EV17d62f7e9aac11e4a473061e5f402045\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.034955Z\", \n \"type\": \"hold.updated\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"card_holds\": [\n {\n \"amount\": 5000, \n \"created_at\": \"2015-01-12T22:43:41.255539Z\", \n \"currency\": \"USD\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": null, \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/card_holds/HLIC32gTGj0bJ0MjpE9zKCx\", \n \"id\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"links\": {\n \"card\": \"CCI3FMX2q7vodXsqblLcKS4\", \n \"debit\": null, \n \"order\": null\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"HLZN9-JPO-6XZB\", \n \"updated_at\": \"2015-01-12T22:43:41.282760Z\", \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 \"card_holds.order\": \"/orders/{card_holds.order}\"\n }\n }, \n \"href\": \"/events/EV17a522089aac11e4a473061e5f402045\", \n \"id\": \"EV17a522089aac11e4a473061e5f402045\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:41.282760Z\", \n \"type\": \"hold.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\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 \"bank_name\": \"BANK OF AMERICA\", \n \"brand\": \"Discover\", \n \"can_credit\": true, \n \"can_debit\": true, \n \"category\": \"other\", \n \"created_at\": \"2015-01-12T22:43:40.762803Z\", \n \"cvv\": \"xxx\", \n \"cvv_match\": \"yes\", \n \"cvv_result\": \"Match\", \n \"expiration_month\": 12, \n \"expiration_year\": 3000, \n \"fingerprint\": \"3c667a62653e187f29b5781eeb0703f26e99558080de0c0f9490b5f9c4ac2871\", \n \"href\": \"/cards/CCI3FMX2q7vodXsqblLcKS4\", \n \"id\": \"CCI3FMX2q7vodXsqblLcKS4\", \n \"is_verified\": true, \n \"links\": {\n \"customer\": null\n }, \n \"meta\": {}, \n \"name\": null, \n \"number\": \"xxxxxxxxxxxx0002\", \n \"type\": \"debit\", \n \"updated_at\": \"2015-01-12T22:43:40.762805Z\"\n }\n ], \n \"links\": {\n \"cards.card_holds\": \"/cards/{cards.id}/card_holds\", \n \"cards.credits\": \"/cards/{cards.id}/credits\", \n \"cards.customer\": \"/customers/{cards.customer}\", \n \"cards.debits\": \"/cards/{cards.id}/debits\", \n \"cards.disputes\": \"/cards/{cards.id}/disputes\"\n }\n }, \n \"href\": \"/events/EV175b6d0c9aac11e4a37402e66206bf80\", \n \"id\": \"EV175b6d0c9aac11e4a37402e66206bf80\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:40.762805Z\", \n \"type\": \"card.created\"\n }, \n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\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\": \"2015-01-12T22:43:38.321264Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RFFiywKmE1LXXLlP54RbDyR\", \n \"id\": \"RFFiywKmE1LXXLlP54RbDyR\", \n \"links\": {\n \"debit\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \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\": \"RF48F-MU8-Y7K4\", \n \"updated_at\": \"2015-01-12T22:43:38.856155Z\"\n }\n ]\n }, \n \"href\": \"/events/EV165c20d69aac11e4bdc2020fe4ae3568\", \n \"id\": \"EV165c20d69aac11e4bdc2020fe4ae3568\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:38.856155Z\", \n \"type\": \"refund.succeeded\"\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=90\", \n \"limit\": 10, \n \"next\": \"/events?limit=10&offset=10\", \n \"offset\": 0, \n \"previous\": null, \n \"total\": 92\n }\n}"
},
"event_show": {
"request": {
"uri": "/events/EV1e718d249aac11e4b9bb02d08005b466"
},
"response": "{\n \"events\": [\n {\n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 1, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"entity\": {\n \"debits\": [\n {\n \"amount\": 5000, \n \"appears_on_statement_as\": \"BAL*Statement text\", \n \"created_at\": \"2015-01-12T22:43:41.276674Z\", \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/WDICZ1W657ZVzVtnhEbuhPD\", \n \"id\": \"WDICZ1W657ZVzVtnhEbuhPD\", \n \"links\": {\n \"card_hold\": \"HLIC32gTGj0bJ0MjpE9zKCx\", \n \"customer\": null, \n \"dispute\": \"DTUPm3Gtwsl00bB8M6phfOr\", \n \"order\": null, \n \"source\": \"CCI3FMX2q7vodXsqblLcKS4\"\n }, \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"WXLB-BNC-5QMU\", \n \"updated_at\": \"2015-01-12T22:43:42.029409Z\"\n }\n ], \n \"links\": {\n \"debits.card_hold\": \"/holds/{debits.card_hold}\", \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/EV1e718d249aac11e4b9bb02d08005b466\", \n \"id\": \"EV1e718d249aac11e4b9bb02d08005b466\", \n \"links\": {}, \n \"occurred_at\": \"2015-01-12T22:43:42.029409Z\", \n \"type\": \"debit.succeeded\"\n }\n ], \n \"links\": {\n \"events.callbacks\": \"/events/{events.self}/callbacks\"\n }\n}"
},
"marketplace": {
"created_at": "2015-01-12T22:42:04.684516Z",
"domain_url": "example.com",
"href": "/marketplaces/TEST-MP6L3QxQu6QF0VkyL2rWNzVP",
"id": "TEST-MP6L3QxQu6QF0VkyL2rWNzVP",
"in_escrow": 0,
"links": {
"owner_customer": "CU6L554nYycGlVBOCqBCwDXv"
},
"meta": {},
"name": "Test Marketplace",
"production": false,
"support_email_address": "[email protected]",
"support_phone_number": "+16505551234",
"unsettled_fees": 0,
"updated_at": "2015-01-12T22:42:05.169114Z"
},
"marketplace_id": "TEST-MP6L3QxQu6QF0VkyL2rWNzVP",
"marketplace_uri": "/marketplaces/TEST-MP6L3QxQu6QF0VkyL2rWNzVP",
"order_create": {
"request": {
"customer_href": "/customers/CUuKoL77fBHdpNEp8yc5gln",
"payload": {
"description": "Order #12341234"
},
"uri": "/customers/CUuKoL77fBHdpNEp8yc5gln/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.events\": \"/orders/{orders.id}/events\", \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\": \"2015-01-12T22:44:02.169777Z\", \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/OR168Jo07ajan4WNrZGK1zaM\", \n \"id\": \"OR168Jo07ajan4WNrZGK1zaM\", \n \"links\": {\n \"merchant\": \"CUuKoL77fBHdpNEp8yc5gln\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:44:02.169778Z\"\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.events\": \"/orders/{orders.id}/events\", \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\": 2\n }, \n \"orders\": [\n {\n \"amount\": 0, \n \"amount_escrowed\": 0, \n \"created_at\": \"2015-01-12T22:44:02.169777Z\", \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/OR168Jo07ajan4WNrZGK1zaM\", \n \"id\": \"OR168Jo07ajan4WNrZGK1zaM\", \n \"links\": {\n \"merchant\": \"CUuKoL77fBHdpNEp8yc5gln\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:44:02.169778Z\"\n }, \n {\n \"amount\": 10000, \n \"amount_escrowed\": 4000, \n \"created_at\": \"2015-01-12T22:42:15.130038Z\", \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/OR6WOo9lApIMupmo5s4xoGhL\", \n \"id\": \"OR6WOo9lApIMupmo5s4xoGhL\", \n \"links\": {\n \"merchant\": \"CU6T8PWyIPpBnKRDaCzjzs3u\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:42:15.130039Z\"\n }\n ]\n}"
},
"order_show": {
"request": {
"uri": "/orders/OR168Jo07ajan4WNrZGK1zaM"
},
"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.events\": \"/orders/{orders.id}/events\", \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\": \"2015-01-12T22:44:02.169777Z\", \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/OR168Jo07ajan4WNrZGK1zaM\", \n \"id\": \"OR168Jo07ajan4WNrZGK1zaM\", \n \"links\": {\n \"merchant\": \"CUuKoL77fBHdpNEp8yc5gln\"\n }, \n \"meta\": {}, \n \"updated_at\": \"2015-01-12T22:44:02.169778Z\"\n }\n ]\n}"
},
"order_update": {
"request": {
"payload": {
"description": "New description for order",
"meta": {
"anykey": "valuegoeshere",
"product.id": "1234567890"
}
},
"uri": "/orders/OR168Jo07ajan4WNrZGK1zaM"
},
"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.events\": \"/orders/{orders.id}/events\", \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\": \"2015-01-12T22:44:02.169777Z\", \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/OR168Jo07ajan4WNrZGK1zaM\", \n \"id\": \"OR168Jo07ajan4WNrZGK1zaM\", \n \"links\": {\n \"merchant\": \"CUuKoL77fBHdpNEp8yc5gln\"\n }, \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"product.id\": \"1234567890\"\n }, \n \"updated_at\": \"2015-01-12T22:44:05.987271Z\"\n }\n ]\n}"
},
"refund_create": {
"request": {
"debit_href": "/debits/WDDFHRmkjH0QlH6WCYnjpSM",
"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/WDDFHRmkjH0QlH6WCYnjpSM/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\": \"2015-01-12T22:43:38.321264Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RFFiywKmE1LXXLlP54RbDyR\", \n \"id\": \"RFFiywKmE1LXXLlP54RbDyR\", \n \"links\": {\n \"debit\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \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\": \"RF48F-MU8-Y7K4\", \n \"updated_at\": \"2015-01-12T22:43:38.856155Z\"\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\": \"2015-01-12T22:43:38.321264Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RFFiywKmE1LXXLlP54RbDyR\", \n \"id\": \"RFFiywKmE1LXXLlP54RbDyR\", \n \"links\": {\n \"debit\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \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\": \"RF48F-MU8-Y7K4\", \n \"updated_at\": \"2015-01-12T22:43:38.856155Z\"\n }\n ]\n}"
},
"refund_show": {
"request": {
"uri": "/refunds/RFFiywKmE1LXXLlP54RbDyR"
},
"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\": \"2015-01-12T22:43:38.321264Z\", \n \"currency\": \"USD\", \n \"description\": \"Refund for Order #1111\", \n \"href\": \"/refunds/RFFiywKmE1LXXLlP54RbDyR\", \n \"id\": \"RFFiywKmE1LXXLlP54RbDyR\", \n \"links\": {\n \"debit\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \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\": \"RF48F-MU8-Y7K4\", \n \"updated_at\": \"2015-01-12T22:43:38.856155Z\"\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/RFFiywKmE1LXXLlP54RbDyR"
},
"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\": \"2015-01-12T22:43:38.321264Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"href\": \"/refunds/RFFiywKmE1LXXLlP54RbDyR\", \n \"id\": \"RFFiywKmE1LXXLlP54RbDyR\", \n \"links\": {\n \"debit\": \"WDDFHRmkjH0QlH6WCYnjpSM\", \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\": \"RF48F-MU8-Y7K4\", \n \"updated_at\": \"2015-01-12T22:44:10.616652Z\"\n }\n ]\n}"
},
"reversal_create": {
"request": {
"credit_href": "/credits/CR1hx2lNsbiNl1QQyvKfLXgY",
"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/CR1hx2lNsbiNl1QQyvKfLXgY/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\": \"2015-01-12T22:44:13.239259Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV1iz67tpLxlW21EDYwdoyL6\", \n \"id\": \"RV1iz67tpLxlW21EDYwdoyL6\", \n \"links\": {\n \"credit\": \"CR1hx2lNsbiNl1QQyvKfLXgY\", \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\": \"pending\", \n \"transaction_number\": \"RVO8F-KX9-P7JJ\", \n \"updated_at\": \"2015-01-12T22:44:13.531168Z\"\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\": \"2015-01-12T22:44:13.239259Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV1iz67tpLxlW21EDYwdoyL6\", \n \"id\": \"RV1iz67tpLxlW21EDYwdoyL6\", \n \"links\": {\n \"credit\": \"CR1hx2lNsbiNl1QQyvKfLXgY\", \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\": \"pending\", \n \"transaction_number\": \"RVO8F-KX9-P7JJ\", \n \"updated_at\": \"2015-01-12T22:44:13.531168Z\"\n }\n ]\n}"
},
"reversal_show": {
"request": {
"uri": "/reversals/RV1iz67tpLxlW21EDYwdoyL6"
},
"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\": \"2015-01-12T22:44:13.239259Z\", \n \"currency\": \"USD\", \n \"description\": \"Reversal for Order #1111\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV1iz67tpLxlW21EDYwdoyL6\", \n \"id\": \"RV1iz67tpLxlW21EDYwdoyL6\", \n \"links\": {\n \"credit\": \"CR1hx2lNsbiNl1QQyvKfLXgY\", \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\": \"pending\", \n \"transaction_number\": \"RVO8F-KX9-P7JJ\", \n \"updated_at\": \"2015-01-12T22:44:13.531168Z\"\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/RV1iz67tpLxlW21EDYwdoyL6"
},
"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\": \"2015-01-12T22:44:13.239259Z\", \n \"currency\": \"USD\", \n \"description\": \"update this description\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/reversals/RV1iz67tpLxlW21EDYwdoyL6\", \n \"id\": \"RV1iz67tpLxlW21EDYwdoyL6\", \n \"links\": {\n \"credit\": \"CR1hx2lNsbiNl1QQyvKfLXgY\", \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\": \"pending\", \n \"transaction_number\": \"RVO8F-KX9-P7JJ\", \n \"updated_at\": \"2015-01-12T22:44:17.728376Z\"\n }\n ]\n}"
},
"secret": "ak-test-1xGEmbY58peQpnsgKEpgjuXgR1TjYdGpj",
"settlement_create": {
"request": {
"account_href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"payload": {
"appears_on_statement_as": "ThingsCo",
"description": "Payout A",
"funding_instrument": "/bank_accounts/BA7pJZtDOfSQYCtbarIAslDq",
"meta": {
"group": "alpha"
}
},
"uri": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/settlements"
},
"response": "{\n \"links\": {\n \"settlements.credits\": \"/settlements/{settlements.id}/credits\", \n \"settlements.destination\": \"/resources/{settlements.destination}\", \n \"settlements.events\": \"/settlements/{settlements.id}/events\", \n \"settlements.reversals\": \"/settlements/{settlements.id}/reversals\", \n \"settlements.source\": \"/resources/{settlements.source}\"\n }, \n \"settlements\": [\n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"BAL*ThingsCo\", \n \"created_at\": \"2015-01-12T22:44:20.217946Z\", \n \"currency\": \"USD\", \n \"description\": \"Payout A\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/settlements/ST1qpV4lMOgAAD11gNtBgb3G\", \n \"id\": \"ST1qpV4lMOgAAD11gNtBgb3G\", \n \"links\": {\n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"source\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\"\n }, \n \"meta\": {\n \"group\": \"alpha\"\n }, \n \"status\": \"pending\", \n \"transaction_number\": \"SCA7L-QD5-L7NA\", \n \"updated_at\": \"2015-01-12T22:44:20.543651Z\"\n }\n ]\n}"
},
"settlement_list": {
"request": {
"uri": "/settlements"
},
"response": "{\n \"links\": {\n \"settlements.credits\": \"/settlements/{settlements.id}/credits\", \n \"settlements.destination\": \"/resources/{settlements.destination}\", \n \"settlements.events\": \"/settlements/{settlements.id}/events\", \n \"settlements.reversals\": \"/settlements/{settlements.id}/reversals\", \n \"settlements.source\": \"/resources/{settlements.source}\"\n }, \n \"meta\": {\n \"first\": \"/settlements?limit=10&offset=0\", \n \"href\": \"/settlements?limit=10&offset=0\", \n \"last\": \"/settlements?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }, \n \"settlements\": [\n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"BAL*ThingsCo\", \n \"created_at\": \"2015-01-12T22:44:20.217946Z\", \n \"currency\": \"USD\", \n \"description\": \"Payout A\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/settlements/ST1qpV4lMOgAAD11gNtBgb3G\", \n \"id\": \"ST1qpV4lMOgAAD11gNtBgb3G\", \n \"links\": {\n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"source\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\"\n }, \n \"meta\": {\n \"group\": \"alpha\"\n }, \n \"status\": \"pending\", \n \"transaction_number\": \"SCA7L-QD5-L7NA\", \n \"updated_at\": \"2015-01-12T22:44:20.543651Z\"\n }\n ]\n}"
},
"settlement_list_account": {
"request": {
"account_href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"href": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC",
"uri": "/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/settlements"
},
"response": "{\n \"links\": {\n \"settlements.credits\": \"/settlements/{settlements.id}/credits\", \n \"settlements.destination\": \"/resources/{settlements.destination}\", \n \"settlements.events\": \"/settlements/{settlements.id}/events\", \n \"settlements.reversals\": \"/settlements/{settlements.id}/reversals\", \n \"settlements.source\": \"/resources/{settlements.source}\"\n }, \n \"meta\": {\n \"first\": \"/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/settlements?limit=10&offset=0\", \n \"href\": \"/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/settlements?limit=10&offset=0\", \n \"last\": \"/accounts/AT6TmOM8xXw0IF3ZNwSB2QrC/settlements?limit=10&offset=0\", \n \"limit\": 10, \n \"next\": null, \n \"offset\": 0, \n \"previous\": null, \n \"total\": 1\n }, \n \"settlements\": [\n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"BAL*ThingsCo\", \n \"created_at\": \"2015-01-12T22:44:20.217946Z\", \n \"currency\": \"USD\", \n \"description\": \"Payout A\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/settlements/ST1qpV4lMOgAAD11gNtBgb3G\", \n \"id\": \"ST1qpV4lMOgAAD11gNtBgb3G\", \n \"links\": {\n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"source\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\"\n }, \n \"meta\": {\n \"group\": \"alpha\"\n }, \n \"status\": \"pending\", \n \"transaction_number\": \"SCA7L-QD5-L7NA\", \n \"updated_at\": \"2015-01-12T22:44:20.543651Z\"\n }\n ]\n}"
},
"settlement_show": {
"request": {
"uri": "/settlements/ST1qpV4lMOgAAD11gNtBgb3G"
},
"response": "{\n \"links\": {\n \"settlements.credits\": \"/settlements/{settlements.id}/credits\", \n \"settlements.destination\": \"/resources/{settlements.destination}\", \n \"settlements.events\": \"/settlements/{settlements.id}/events\", \n \"settlements.reversals\": \"/settlements/{settlements.id}/reversals\", \n \"settlements.source\": \"/resources/{settlements.source}\"\n }, \n \"settlements\": [\n {\n \"amount\": 1000, \n \"appears_on_statement_as\": \"BAL*ThingsCo\", \n \"created_at\": \"2015-01-12T22:44:20.217946Z\", \n \"currency\": \"USD\", \n \"description\": \"Payout A\", \n \"failure_reason\": null, \n \"failure_reason_code\": null, \n \"href\": \"/settlements/ST1qpV4lMOgAAD11gNtBgb3G\", \n \"id\": \"ST1qpV4lMOgAAD11gNtBgb3G\", \n \"links\": {\n \"destination\": \"BA7pJZtDOfSQYCtbarIAslDq\", \n \"source\": \"AT6TmOM8xXw0IF3ZNwSB2QrC\"\n }, \n \"meta\": {\n \"group\": \"alpha\"\n }, \n \"status\": \"pending\", \n \"transaction_number\": \"SCA7L-QD5-L7NA\", \n \"updated_at\": \"2015-01-12T22:44:20.543651Z\"\n }\n ]\n}"
}
}