stripe 2.0.3 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe/card.rb +3 -3
- data/lib/stripe/source.rb +11 -1
- data/lib/stripe/util.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- data/openapi/fixtures.json +121 -107
- data/openapi/fixtures.yaml +123 -109
- data/test/stripe/customer_card_test.rb +1 -1
- data/test/stripe/source_test.rb +26 -2
- metadata +2 -2
data/openapi/fixtures.yaml
CHANGED
@@ -15,15 +15,15 @@ account:
|
|
15
15
|
default_currency: usd
|
16
16
|
details_submitted: false
|
17
17
|
display_name: ''
|
18
|
-
email: foo+
|
18
|
+
email: foo+os4pphkove@example.com
|
19
19
|
external_accounts:
|
20
20
|
data: []
|
21
21
|
has_more: false
|
22
22
|
object: list
|
23
23
|
total_count: 0
|
24
|
-
url: "/v1/accounts/
|
24
|
+
url: "/v1/accounts/acct_19y6HAAylotNGqt3/external_accounts"
|
25
25
|
fake_account: false
|
26
|
-
id:
|
26
|
+
id: acct_19y6HAAylotNGqt3
|
27
27
|
legal_entity:
|
28
28
|
additional_owners:
|
29
29
|
address:
|
@@ -113,10 +113,10 @@ account_with_keys:
|
|
113
113
|
default_currency: usd
|
114
114
|
details_submitted: false
|
115
115
|
display_name: ''
|
116
|
-
email: foo+
|
116
|
+
email: foo+os4pphkove@example.com
|
117
117
|
external_accounts: {}
|
118
118
|
fake_account: false
|
119
|
-
id:
|
119
|
+
id: acct_19y6HAAylotNGqt3
|
120
120
|
keys: {}
|
121
121
|
legal_entity: {}
|
122
122
|
light: false
|
@@ -141,8 +141,8 @@ account_with_keys:
|
|
141
141
|
alipay_account:
|
142
142
|
created: 1234567890
|
143
143
|
customer: ''
|
144
|
-
fingerprint:
|
145
|
-
id:
|
144
|
+
fingerprint: eiRpjVAne6V7vzjH
|
145
|
+
id: aliacc_19y6HIAylotNGqt3CWxIarua
|
146
146
|
livemode: false
|
147
147
|
metadata: {}
|
148
148
|
object: alipay_account
|
@@ -154,7 +154,7 @@ alipay_account:
|
|
154
154
|
apple_pay_domain:
|
155
155
|
created: 1234567890
|
156
156
|
domain_name: example.com
|
157
|
-
id:
|
157
|
+
id: apwc_19y6HHAylotNGqt3514QiFTd
|
158
158
|
livemode: true
|
159
159
|
object: apple_pay_domain
|
160
160
|
balance:
|
@@ -180,15 +180,15 @@ balance_transaction:
|
|
180
180
|
description: ''
|
181
181
|
fee: 0
|
182
182
|
fee_details: []
|
183
|
-
id:
|
183
|
+
id: txn_19y6HHAylotNGqt33AMqhSaS
|
184
184
|
net: 100
|
185
185
|
object: balance_transaction
|
186
|
-
source:
|
186
|
+
source: ch_19y6HHAylotNGqt3dguVG1mI
|
187
187
|
sourced_transfers: {}
|
188
188
|
status: pending
|
189
189
|
type: charge
|
190
190
|
bank_account:
|
191
|
-
account:
|
191
|
+
account: acct_19y6HAAylotNGqt3
|
192
192
|
account_holder_name: Jane Austen
|
193
193
|
account_holder_type: individual
|
194
194
|
address_city: ''
|
@@ -204,8 +204,8 @@ bank_account:
|
|
204
204
|
customer: ''
|
205
205
|
customer_reference: ''
|
206
206
|
default_for_currency: false
|
207
|
-
fingerprint:
|
208
|
-
id:
|
207
|
+
fingerprint: G8AlCiZpIixKrovm
|
208
|
+
id: ba_19y6HIAylotNGqt37Bbh2BEi
|
209
209
|
last4: '6789'
|
210
210
|
metadata: {}
|
211
211
|
object: bank_account
|
@@ -226,7 +226,7 @@ bitcoin_receiver:
|
|
226
226
|
description: Receiver for John Doe
|
227
227
|
email: test@example.com
|
228
228
|
filled: false
|
229
|
-
id:
|
229
|
+
id: btcrcv_19y6HIAylotNGqt3PPrzs2zr
|
230
230
|
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
|
231
231
|
livemode: false
|
232
232
|
metadata: {}
|
@@ -241,9 +241,9 @@ bitcoin_transaction:
|
|
241
241
|
bitcoin_amount: 1757908
|
242
242
|
created: 1234567890
|
243
243
|
currency: usd
|
244
|
-
id:
|
244
|
+
id: btctxn_19y6HIAylotNGqt3ufx7IrFQ
|
245
245
|
object: bitcoin_transaction
|
246
|
-
receiver:
|
246
|
+
receiver: btcrcv_19y6HIBBq8Um5VVVjcO0R7nU
|
247
247
|
card:
|
248
248
|
3d_secure: {}
|
249
249
|
account: ''
|
@@ -271,7 +271,7 @@ card:
|
|
271
271
|
fingerprint: ''
|
272
272
|
funding: unknown
|
273
273
|
google_reference: ''
|
274
|
-
id:
|
274
|
+
id: card_19y6HHAylotNGqt3SvYv7I1c
|
275
275
|
iin: ''
|
276
276
|
issuer: ''
|
277
277
|
last4: '4242'
|
@@ -291,7 +291,7 @@ charge:
|
|
291
291
|
application_fee: ''
|
292
292
|
application_fees_refunded: 0
|
293
293
|
authorization_code: ''
|
294
|
-
balance_transaction:
|
294
|
+
balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
|
295
295
|
captured: true
|
296
296
|
card: {}
|
297
297
|
created: 1234567890
|
@@ -304,7 +304,7 @@ charge:
|
|
304
304
|
failure_message: ''
|
305
305
|
fee_balance_transactions: {}
|
306
306
|
fraud_details: {}
|
307
|
-
id:
|
307
|
+
id: ch_19y6HHAylotNGqt3dguVG1mI
|
308
308
|
invoice: ''
|
309
309
|
level3: {}
|
310
310
|
livemode: false
|
@@ -322,7 +322,7 @@ charge:
|
|
322
322
|
has_more: false
|
323
323
|
object: list
|
324
324
|
total_count: 0
|
325
|
-
url: "/v1/charges/
|
325
|
+
url: "/v1/charges/ch_19y6HHAylotNGqt3dguVG1mI/refunds"
|
326
326
|
review: ''
|
327
327
|
shipping: {}
|
328
328
|
source:
|
@@ -342,7 +342,7 @@ charge:
|
|
342
342
|
exp_month: 8
|
343
343
|
exp_year: 2018
|
344
344
|
funding: unknown
|
345
|
-
id:
|
345
|
+
id: card_19y6HHAylotNGqt3SvYv7I1c
|
346
346
|
last4: '4242'
|
347
347
|
metadata: {}
|
348
348
|
name:
|
@@ -409,7 +409,7 @@ customer:
|
|
409
409
|
description: ''
|
410
410
|
discount: {}
|
411
411
|
email: ''
|
412
|
-
id:
|
412
|
+
id: cus_AIhgCDhEsqLqXq
|
413
413
|
livemode: false
|
414
414
|
metadata: {}
|
415
415
|
object: customer
|
@@ -419,19 +419,19 @@ customer:
|
|
419
419
|
has_more: false
|
420
420
|
object: list
|
421
421
|
total_count: 0
|
422
|
-
url: "/v1/customers/
|
422
|
+
url: "/v1/customers/cus_AIhgCDhEsqLqXq/sources"
|
423
423
|
subscription: {}
|
424
424
|
subscriptions: {}
|
425
425
|
trust: {}
|
426
426
|
customer_source:
|
427
427
|
customer: ''
|
428
|
-
id:
|
428
|
+
id: ba_19y6HIAylotNGqt37Bbh2BEi
|
429
429
|
metadata: {}
|
430
430
|
object: bank_account
|
431
431
|
discount:
|
432
432
|
coupon:
|
433
433
|
amount_off:
|
434
|
-
created:
|
434
|
+
created: 1489700220
|
435
435
|
currency: usd
|
436
436
|
duration: repeating
|
437
437
|
duration_in_months: 3
|
@@ -444,7 +444,7 @@ discount:
|
|
444
444
|
redeem_by:
|
445
445
|
times_redeemed: 0
|
446
446
|
valid: true
|
447
|
-
customer:
|
447
|
+
customer: cus_AIhgCDhEsqLqXq
|
448
448
|
end: 1234567890
|
449
449
|
object: discount
|
450
450
|
start: 1234567890
|
@@ -454,7 +454,7 @@ dispute:
|
|
454
454
|
amount: 1000
|
455
455
|
balance_transaction: ''
|
456
456
|
balance_transactions: []
|
457
|
-
charge:
|
457
|
+
charge: ch_19y6HHAylotNGqt3dguVG1mI
|
458
458
|
closed_at: 1234567890
|
459
459
|
created: 1234567890
|
460
460
|
currency: usd
|
@@ -488,12 +488,12 @@ dispute:
|
|
488
488
|
uncategorized_file:
|
489
489
|
uncategorized_text:
|
490
490
|
evidence_details:
|
491
|
-
due_by:
|
491
|
+
due_by: 1491350399
|
492
492
|
has_evidence: false
|
493
493
|
past_due: false
|
494
494
|
submission_count: 0
|
495
495
|
evidence_submitted_at: []
|
496
|
-
id:
|
496
|
+
id: dp_19y6HHAylotNGqt3bvR7ZOnH
|
497
497
|
is_charge_refundable: false
|
498
498
|
is_protected: false
|
499
499
|
livemode: false
|
@@ -509,7 +509,7 @@ event:
|
|
509
509
|
data:
|
510
510
|
object:
|
511
511
|
amount: 2000
|
512
|
-
created:
|
512
|
+
created: 1489700220
|
513
513
|
currency: usd
|
514
514
|
id: gold
|
515
515
|
interval: month
|
@@ -520,7 +520,7 @@ event:
|
|
520
520
|
object: plan
|
521
521
|
statement_descriptor:
|
522
522
|
trial_period_days:
|
523
|
-
id:
|
523
|
+
id: evt_19y6HIAylotNGqt349zSXYCk
|
524
524
|
livemode: false
|
525
525
|
object: event
|
526
526
|
pending_webhooks: 0
|
@@ -528,7 +528,7 @@ event:
|
|
528
528
|
request: ''
|
529
529
|
type: plan.created
|
530
530
|
external_account_source:
|
531
|
-
account:
|
531
|
+
account: acct_19y6HAAylotNGqt3
|
532
532
|
address_city: ''
|
533
533
|
address_line1: ''
|
534
534
|
address_line2: ''
|
@@ -538,8 +538,8 @@ external_account_source:
|
|
538
538
|
currency: usd
|
539
539
|
customer: ''
|
540
540
|
default_for_currency: false
|
541
|
-
fingerprint:
|
542
|
-
id:
|
541
|
+
fingerprint: G8AlCiZpIixKrovm
|
542
|
+
id: ba_19y6HIAylotNGqt37Bbh2BEi
|
543
543
|
last4: '6789'
|
544
544
|
metadata: {}
|
545
545
|
object: bank_account
|
@@ -548,8 +548,8 @@ fee_refund:
|
|
548
548
|
balance_transaction: ''
|
549
549
|
created: 1234567890
|
550
550
|
currency: usd
|
551
|
-
fee:
|
552
|
-
id:
|
551
|
+
fee: fee_19y6HIAylotNGqt3iEVMbEmJ
|
552
|
+
id: fr_AIhghI4mXRpLEw
|
553
553
|
metadata: {}
|
554
554
|
object: fee_refund
|
555
555
|
invoice:
|
@@ -561,30 +561,30 @@ invoice:
|
|
561
561
|
charge: ''
|
562
562
|
closed: false
|
563
563
|
currency: usd
|
564
|
-
customer:
|
564
|
+
customer: cus_AIhgCDhEsqLqXq
|
565
565
|
date: 1234567890
|
566
566
|
description: ''
|
567
567
|
discount: {}
|
568
568
|
due_date: 1234567890
|
569
569
|
ending_balance: 0
|
570
570
|
forgiven: false
|
571
|
-
id:
|
571
|
+
id: in_19y6HIAylotNGqt3Kq1NUy5r
|
572
572
|
lines:
|
573
573
|
data:
|
574
574
|
- amount: 2000
|
575
575
|
currency: usd
|
576
576
|
description:
|
577
577
|
discountable: true
|
578
|
-
id:
|
578
|
+
id: sub_AIhgP3KgCUJMuh
|
579
579
|
livemode: true
|
580
580
|
metadata: {}
|
581
581
|
object: line_item
|
582
582
|
period:
|
583
|
-
end:
|
584
|
-
start:
|
583
|
+
end: 1494970619
|
584
|
+
start: 1492378619
|
585
585
|
plan:
|
586
586
|
amount: 2000
|
587
|
-
created:
|
587
|
+
created: 1489700220
|
588
588
|
currency: usd
|
589
589
|
id: gold
|
590
590
|
interval: month
|
@@ -598,11 +598,11 @@ invoice:
|
|
598
598
|
proration: false
|
599
599
|
quantity: 1
|
600
600
|
subscription:
|
601
|
-
subscription_item:
|
601
|
+
subscription_item: si_19y6HHBBq8Um5VVVeabmVesw
|
602
602
|
type: subscription
|
603
603
|
object: list
|
604
604
|
total_count: 1
|
605
|
-
url: "/v1/invoices/
|
605
|
+
url: "/v1/invoices/in_19y6HIAylotNGqt3Kq1NUy5r/lines"
|
606
606
|
livemode: false
|
607
607
|
metadata: {}
|
608
608
|
next_payment_attempt: 1234567890
|
@@ -624,18 +624,18 @@ invoice:
|
|
624
624
|
invoice_item:
|
625
625
|
amount: 1000
|
626
626
|
currency: usd
|
627
|
-
customer:
|
627
|
+
customer: cus_AIhgCDhEsqLqXq
|
628
628
|
date: 1234567890
|
629
629
|
description: My First Invoice Item (created for API docs)
|
630
630
|
discountable: true
|
631
|
-
id:
|
631
|
+
id: ii_19y6HIAylotNGqt36BYYgGHq
|
632
632
|
invoice: ''
|
633
633
|
livemode: false
|
634
634
|
metadata: {}
|
635
635
|
object: invoiceitem
|
636
636
|
period:
|
637
|
-
end:
|
638
|
-
start:
|
637
|
+
end: 1489700220
|
638
|
+
start: 1489700220
|
639
639
|
plan: {}
|
640
640
|
proration: false
|
641
641
|
quantity: 0
|
@@ -646,13 +646,13 @@ invoice_line_item:
|
|
646
646
|
currency: usd
|
647
647
|
description: My First Invoice Item (created for API docs)
|
648
648
|
discountable: true
|
649
|
-
id:
|
649
|
+
id: ii_19y6HIAylotNGqt36BYYgGHq
|
650
650
|
livemode: false
|
651
651
|
metadata: {}
|
652
652
|
object: line_item
|
653
653
|
period:
|
654
|
-
end:
|
655
|
-
start:
|
654
|
+
end: 1489700220
|
655
|
+
start: 1489700220
|
656
656
|
plan: {}
|
657
657
|
proration: false
|
658
658
|
quantity: 0
|
@@ -672,11 +672,11 @@ legacy_transfer:
|
|
672
672
|
date: 1234567890
|
673
673
|
delay_reason: ''
|
674
674
|
description: Transfer to test@example.com
|
675
|
-
destination:
|
675
|
+
destination: ba_19y6HIAylotNGqt3Tk6btLgn
|
676
676
|
destination_payment: ''
|
677
677
|
failure_code: ''
|
678
678
|
failure_message: ''
|
679
|
-
id:
|
679
|
+
id: tr_19y6HIAylotNGqt3ph4EjS38
|
680
680
|
legacy_date: 1234567890
|
681
681
|
livemode: false
|
682
682
|
metadata: {}
|
@@ -688,7 +688,7 @@ legacy_transfer:
|
|
688
688
|
has_more: false
|
689
689
|
object: list
|
690
690
|
total_count: 0
|
691
|
-
url: "/v1/transfers/
|
691
|
+
url: "/v1/transfers/tr_19y6HIAylotNGqt3ph4EjS38/reversals"
|
692
692
|
reversed: false
|
693
693
|
source_transaction: ''
|
694
694
|
source_type: card
|
@@ -709,13 +709,13 @@ order:
|
|
709
709
|
email: ''
|
710
710
|
external_coupon_code: ''
|
711
711
|
external_sku_ids: []
|
712
|
-
id:
|
712
|
+
id: or_19y6HJAylotNGqt3bov4Z4DC
|
713
713
|
items:
|
714
714
|
- amount: 1500
|
715
715
|
currency: usd
|
716
716
|
description: T-shirt
|
717
717
|
object: order_item
|
718
|
-
parent:
|
718
|
+
parent: sk_19y6HJAylotNGqt3oddcLh9L
|
719
719
|
quantity:
|
720
720
|
type: sku
|
721
721
|
livemode: false
|
@@ -726,7 +726,7 @@ order:
|
|
726
726
|
has_more: false
|
727
727
|
object: list
|
728
728
|
total_count: 0
|
729
|
-
url: "/v1/order_returns?order=
|
729
|
+
url: "/v1/order_returns?order=or_19y6HJAylotNGqt3bov4Z4DC"
|
730
730
|
selected_shipping_method: ''
|
731
731
|
shipping:
|
732
732
|
address:
|
@@ -750,19 +750,19 @@ order_return:
|
|
750
750
|
amount: 1500
|
751
751
|
created: 1234567890
|
752
752
|
currency: usd
|
753
|
-
id:
|
753
|
+
id: orret_19y6HJAylotNGqt3bd5YsAXz
|
754
754
|
items:
|
755
755
|
- amount: 1500
|
756
756
|
currency: usd
|
757
757
|
description: T-shirt
|
758
758
|
object: order_item
|
759
|
-
parent:
|
759
|
+
parent: sk_19y6HJAylotNGqt3oddcLh9L
|
760
760
|
quantity:
|
761
761
|
type: sku
|
762
762
|
livemode: false
|
763
763
|
object: order_return
|
764
|
-
order:
|
765
|
-
refund:
|
764
|
+
order: or_19y6HJAylotNGqt36m18HzRj
|
765
|
+
refund: re_19y6HJAylotNGqt3rTe2A05C
|
766
766
|
plan:
|
767
767
|
amount: 2000
|
768
768
|
created: 1234567890
|
@@ -777,15 +777,15 @@ plan:
|
|
777
777
|
statement_descriptor: ''
|
778
778
|
trial_period_days: 0
|
779
779
|
platform_earning:
|
780
|
-
account:
|
780
|
+
account: acct_19y6HAAylotNGqt3
|
781
781
|
amount: 100
|
782
782
|
amount_refunded: 0
|
783
|
-
application:
|
784
|
-
balance_transaction:
|
785
|
-
charge:
|
783
|
+
application: ca_AIhgFq8kWIDlYSeaCcuycCoERZL0J0ls
|
784
|
+
balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
|
785
|
+
charge: ch_19y6HHAylotNGqt3dguVG1mI
|
786
786
|
created: 1234567890
|
787
787
|
currency: usd
|
788
|
-
id:
|
788
|
+
id: fee_19y6HIAylotNGqt3iEVMbEmJ
|
789
789
|
livemode: false
|
790
790
|
object: application_fee
|
791
791
|
originating_transaction: ''
|
@@ -795,7 +795,7 @@ platform_earning:
|
|
795
795
|
has_more: false
|
796
796
|
object: list
|
797
797
|
total_count: 0
|
798
|
-
url: "/v1/application_fees/
|
798
|
+
url: "/v1/application_fees/fee_19y6HIAylotNGqt3iEVMbEmJ/refunds"
|
799
799
|
product:
|
800
800
|
active: true
|
801
801
|
attributes:
|
@@ -806,7 +806,7 @@ product:
|
|
806
806
|
deactivate_on: []
|
807
807
|
description: Comfortable gray cotton t-shirts
|
808
808
|
donation: false
|
809
|
-
id:
|
809
|
+
id: prod_AIhgWPx5D86mh1
|
810
810
|
images: []
|
811
811
|
livemode: false
|
812
812
|
metadata: {}
|
@@ -820,19 +820,19 @@ product:
|
|
820
820
|
has_more: false
|
821
821
|
object: list
|
822
822
|
total_count: 0
|
823
|
-
url: "/v1/skus?product=
|
823
|
+
url: "/v1/skus?product=prod_AIhgWPx5D86mh1&active=true"
|
824
824
|
tweetable_url: ''
|
825
825
|
updated: 1234567890
|
826
826
|
url: ''
|
827
827
|
refund:
|
828
828
|
amount: 100
|
829
829
|
balance_transaction: ''
|
830
|
-
charge:
|
830
|
+
charge: ch_19y6HHAylotNGqt3dguVG1mI
|
831
831
|
created: 1234567890
|
832
832
|
currency: usd
|
833
833
|
description: ''
|
834
834
|
fee_balance_transactions: {}
|
835
|
-
id:
|
835
|
+
id: re_19y6HHAylotNGqt3o9CUC2fJ
|
836
836
|
metadata: {}
|
837
837
|
object: refund
|
838
838
|
reason: ''
|
@@ -846,7 +846,7 @@ sku:
|
|
846
846
|
size: Medium
|
847
847
|
created: 1234567890
|
848
848
|
currency: usd
|
849
|
-
id:
|
849
|
+
id: sku_AIhgANg1XshOPI
|
850
850
|
image: ''
|
851
851
|
inventory:
|
852
852
|
quantity: 50
|
@@ -857,27 +857,41 @@ sku:
|
|
857
857
|
object: sku
|
858
858
|
package_dimensions: {}
|
859
859
|
price: 1500
|
860
|
-
product:
|
860
|
+
product: prod_AIhgWPx5D86mh1
|
861
861
|
updated: 1234567890
|
862
862
|
source:
|
863
|
-
amount:
|
864
|
-
client_secret:
|
863
|
+
amount: 1000
|
864
|
+
client_secret: src_client_secret_UxYHcfjreLYKMVWptfFyAsxp
|
865
865
|
code_verification: {}
|
866
866
|
created: 1234567890
|
867
|
-
currency:
|
867
|
+
currency: usd
|
868
868
|
customer: ''
|
869
|
-
flow:
|
870
|
-
id:
|
869
|
+
flow: receiver
|
870
|
+
id: src_19y6HJAylotNGqt3wfuVnNWw
|
871
871
|
livemode: false
|
872
872
|
metadata: {}
|
873
|
-
object:
|
873
|
+
object: source
|
874
874
|
order: ''
|
875
|
-
owner:
|
876
|
-
|
875
|
+
owner:
|
876
|
+
address:
|
877
|
+
email: jenny.rosen@example.com
|
878
|
+
name:
|
879
|
+
phone:
|
880
|
+
verified_address:
|
881
|
+
verified_email:
|
882
|
+
verified_name:
|
883
|
+
verified_phone:
|
884
|
+
receiver:
|
885
|
+
address: test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
|
886
|
+
amount_charged: 0
|
887
|
+
amount_received: 0
|
888
|
+
amount_returned: 0
|
889
|
+
refund_attributes_method: email
|
890
|
+
refund_attributes_status: missing
|
877
891
|
redirect: {}
|
878
|
-
status:
|
879
|
-
type:
|
880
|
-
usage:
|
892
|
+
status: pending
|
893
|
+
type: bitcoin
|
894
|
+
usage: single_use
|
881
895
|
subscription:
|
882
896
|
account_balance: 0
|
883
897
|
application_fee_percent: 0.0
|
@@ -887,19 +901,19 @@ subscription:
|
|
887
901
|
created: 1234567890
|
888
902
|
current_period_end: 1234567890
|
889
903
|
current_period_start: 1234567890
|
890
|
-
customer:
|
904
|
+
customer: cus_AIhg2AZ0oZn9hq
|
891
905
|
days_until_due: 0
|
892
906
|
discount: {}
|
893
907
|
ended_at: 1234567890
|
894
|
-
id:
|
908
|
+
id: sub_AIhgP3KgCUJMuh
|
895
909
|
items:
|
896
910
|
data:
|
897
|
-
- created:
|
898
|
-
id:
|
911
|
+
- created: 1489700220
|
912
|
+
id: si_19y6HHBBq8Um5VVVeabmVesw
|
899
913
|
object: subscription_item
|
900
914
|
plan:
|
901
915
|
amount: 2000
|
902
|
-
created:
|
916
|
+
created: 1489700219
|
903
917
|
currency: usd
|
904
918
|
id: gold
|
905
919
|
interval: month
|
@@ -914,7 +928,7 @@ subscription:
|
|
914
928
|
has_more: false
|
915
929
|
object: list
|
916
930
|
total_count: 1
|
917
|
-
url: "/v1/subscription_items?subscription=
|
931
|
+
url: "/v1/subscription_items?subscription=sub_AIhgP3KgCUJMuh"
|
918
932
|
livemode: false
|
919
933
|
max_occurrences: 0
|
920
934
|
metadata: {}
|
@@ -922,7 +936,7 @@ subscription:
|
|
922
936
|
on_behalf_of: ''
|
923
937
|
plan:
|
924
938
|
amount: 2000
|
925
|
-
created:
|
939
|
+
created: 1489700219
|
926
940
|
currency: usd
|
927
941
|
id: gold
|
928
942
|
interval: month
|
@@ -941,12 +955,12 @@ subscription:
|
|
941
955
|
trial_end: 1234567890
|
942
956
|
trial_start: 1234567890
|
943
957
|
subscription_item:
|
944
|
-
created:
|
945
|
-
id:
|
958
|
+
created: 1489700220
|
959
|
+
id: si_19y6HHBBq8Um5VVVWtAse22Z
|
946
960
|
object: subscription_item
|
947
961
|
plan:
|
948
962
|
amount: 2000
|
949
|
-
created:
|
963
|
+
created: 1489700219
|
950
964
|
currency: usd
|
951
965
|
id: gold
|
952
966
|
interval: month
|
@@ -978,7 +992,7 @@ three_d_secure:
|
|
978
992
|
exp_month: 8
|
979
993
|
exp_year: 2018
|
980
994
|
funding: unknown
|
981
|
-
id:
|
995
|
+
id: card_19y6HIAylotNGqt3tSobdlid
|
982
996
|
last4: '4242'
|
983
997
|
metadata: {}
|
984
998
|
name:
|
@@ -986,10 +1000,10 @@ three_d_secure:
|
|
986
1000
|
tokenization_method:
|
987
1001
|
created: 1234567890
|
988
1002
|
currency: usd
|
989
|
-
id:
|
1003
|
+
id: tdsrc_AIhge8Euw6YKbc
|
990
1004
|
livemode: false
|
991
1005
|
object: three_d_secure
|
992
|
-
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/
|
1006
|
+
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AIhge8Euw6YKbc
|
993
1007
|
status: redirect_pending
|
994
1008
|
token:
|
995
1009
|
account_details: {}
|
@@ -1011,7 +1025,7 @@ token:
|
|
1011
1025
|
exp_month: 8
|
1012
1026
|
exp_year: 2018
|
1013
1027
|
funding: unknown
|
1014
|
-
id:
|
1028
|
+
id: card_19y6HIAylotNGqt3tSobdlid
|
1015
1029
|
last4: '4242'
|
1016
1030
|
metadata: {}
|
1017
1031
|
name:
|
@@ -1021,7 +1035,7 @@ token:
|
|
1021
1035
|
created: 1234567890
|
1022
1036
|
description: ''
|
1023
1037
|
email: ''
|
1024
|
-
id:
|
1038
|
+
id: tok_19y6HIAylotNGqt3RgAWCZVp
|
1025
1039
|
livemode: false
|
1026
1040
|
object: token
|
1027
1041
|
type: card
|
@@ -1030,12 +1044,12 @@ token:
|
|
1030
1044
|
transfer:
|
1031
1045
|
amount: 1100
|
1032
1046
|
amount_reversed: 0
|
1033
|
-
balance_transaction:
|
1047
|
+
balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
|
1034
1048
|
created: 1234567890
|
1035
1049
|
currency: usd
|
1036
|
-
destination:
|
1050
|
+
destination: ba_19y6HIAylotNGqt3Tk6btLgn
|
1037
1051
|
destination_payment: ''
|
1038
|
-
id:
|
1052
|
+
id: tr_19y6HIAylotNGqt3ph4EjS38
|
1039
1053
|
livemode: false
|
1040
1054
|
metadata: {}
|
1041
1055
|
object: transfer
|
@@ -1044,7 +1058,7 @@ transfer:
|
|
1044
1058
|
has_more: false
|
1045
1059
|
object: list
|
1046
1060
|
total_count: 0
|
1047
|
-
url: "/v1/transfers/
|
1061
|
+
url: "/v1/transfers/tr_19y6HIAylotNGqt3ph4EjS38/reversals"
|
1048
1062
|
reversed: false
|
1049
1063
|
transfer_group: ''
|
1050
1064
|
transfer_recipient:
|
@@ -1060,7 +1074,7 @@ transfer_recipient:
|
|
1060
1074
|
has_more: false
|
1061
1075
|
object: list
|
1062
1076
|
total_count: 0
|
1063
|
-
url: "/v1/recipients/
|
1077
|
+
url: "/v1/recipients/rp_19y6HIAylotNGqt3CTykthsz/cards"
|
1064
1078
|
country: ''
|
1065
1079
|
created: 1234567890
|
1066
1080
|
default_card: ''
|
@@ -1069,7 +1083,7 @@ transfer_recipient:
|
|
1069
1083
|
dob_month: ''
|
1070
1084
|
dob_year: ''
|
1071
1085
|
email: test@example.com
|
1072
|
-
id:
|
1086
|
+
id: rp_19y6HIAylotNGqt3CTykthsz
|
1073
1087
|
livemode: false
|
1074
1088
|
metadata: {}
|
1075
1089
|
migrated_to: ''
|
@@ -1084,10 +1098,10 @@ transfer_reversal:
|
|
1084
1098
|
balance_transaction: ''
|
1085
1099
|
created: 1234567890
|
1086
1100
|
currency: usd
|
1087
|
-
id:
|
1101
|
+
id: trr_19y6HIAylotNGqt3nITPrdUW
|
1088
1102
|
metadata: {}
|
1089
1103
|
object: transfer_reversal
|
1090
|
-
transfer:
|
1104
|
+
transfer: tr_19y6HIAylotNGqt3ph4EjS38
|
1091
1105
|
upcoming_invoice:
|
1092
1106
|
amount_due: 0
|
1093
1107
|
application_fee: 0
|
@@ -1097,7 +1111,7 @@ upcoming_invoice:
|
|
1097
1111
|
charge: ''
|
1098
1112
|
closed: false
|
1099
1113
|
currency: usd
|
1100
|
-
customer:
|
1114
|
+
customer: cus_AIhgCDhEsqLqXq
|
1101
1115
|
date: 1234567890
|
1102
1116
|
description: ''
|
1103
1117
|
discount: {}
|
@@ -1109,7 +1123,7 @@ upcoming_invoice:
|
|
1109
1123
|
has_more: false
|
1110
1124
|
object: list
|
1111
1125
|
total_count: 0
|
1112
|
-
url: "/v1/invoices/
|
1126
|
+
url: "/v1/invoices/in_19y6HIAylotNGqt3Kq1NUy5r/lines"
|
1113
1127
|
livemode: false
|
1114
1128
|
metadata: {}
|
1115
1129
|
next_payment_attempt: 1234567890
|