stripe 2.11.0 → 2.12.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/README.md +2 -2
- data/VERSION +1 -1
- data/lib/stripe.rb +1 -0
- data/lib/stripe/ephemeral_key.rb +18 -0
- data/lib/stripe/util.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- data/openapi/fixtures.json +508 -104
- data/openapi/fixtures.yaml +369 -92
- data/openapi/spec2.json +1210 -1015
- data/openapi/spec2.yaml +777 -605
- data/test/stripe/account_test.rb +1 -1
- data/test/stripe/api_resource_test.rb +2 -2
- data/test/stripe/ephemeral_key_test.rb +88 -0
- data/test/stripe/transfer_test.rb +0 -8
- metadata +5 -3
data/openapi/fixtures.yaml
CHANGED
@@ -51,11 +51,10 @@ resources:
|
|
51
51
|
type:
|
52
52
|
verification:
|
53
53
|
details:
|
54
|
-
details_code:
|
54
|
+
details_code: failed_other
|
55
55
|
document:
|
56
56
|
status: unverified
|
57
|
-
|
58
|
-
managed: true
|
57
|
+
login_links: {}
|
59
58
|
mcc: ''
|
60
59
|
metadata: {}
|
61
60
|
object: account
|
@@ -110,8 +109,7 @@ resources:
|
|
110
109
|
id: acct_19tLK7DSlTMT26Mk
|
111
110
|
keys: {}
|
112
111
|
legal_entity: {}
|
113
|
-
|
114
|
-
managed: false
|
112
|
+
login_links: {}
|
115
113
|
mcc: ''
|
116
114
|
metadata: {}
|
117
115
|
object: account
|
@@ -155,7 +153,41 @@ resources:
|
|
155
153
|
currency: usd
|
156
154
|
source_types:
|
157
155
|
card: 0
|
158
|
-
|
156
|
+
- amount: 0
|
157
|
+
currency: eur
|
158
|
+
source_types:
|
159
|
+
card: 0
|
160
|
+
- amount: -102
|
161
|
+
currency: gbp
|
162
|
+
source_types:
|
163
|
+
card: -102
|
164
|
+
- amount: -40320
|
165
|
+
currency: jpy
|
166
|
+
source_types:
|
167
|
+
card: -40320
|
168
|
+
- amount: 0
|
169
|
+
currency: nzd
|
170
|
+
source_types:
|
171
|
+
card: 0
|
172
|
+
- amount: 17550857311
|
173
|
+
currency: usd
|
174
|
+
source_types:
|
175
|
+
bank_account: 107213388
|
176
|
+
bitcoin_receiver: 1545182
|
177
|
+
card: 17442098741
|
178
|
+
connect_reserved:
|
179
|
+
- amount: 0
|
180
|
+
currency: aud
|
181
|
+
- amount: 0
|
182
|
+
currency: eur
|
183
|
+
- amount: 0
|
184
|
+
currency: gbp
|
185
|
+
- amount: 0
|
186
|
+
currency: jpy
|
187
|
+
- amount: 0
|
188
|
+
currency: nzd
|
189
|
+
- amount: 0
|
190
|
+
currency: usd
|
159
191
|
livemode: false
|
160
192
|
object: balance
|
161
193
|
pending:
|
@@ -163,6 +195,28 @@ resources:
|
|
163
195
|
currency: usd
|
164
196
|
source_types:
|
165
197
|
card: 0
|
198
|
+
- amount: -17109
|
199
|
+
currency: eur
|
200
|
+
source_types:
|
201
|
+
card: -17109
|
202
|
+
- amount: -81045
|
203
|
+
currency: gbp
|
204
|
+
source_types:
|
205
|
+
card: -81045
|
206
|
+
- amount: 0
|
207
|
+
currency: jpy
|
208
|
+
source_types:
|
209
|
+
card: 0
|
210
|
+
- amount: 1060
|
211
|
+
currency: nzd
|
212
|
+
source_types:
|
213
|
+
card: 1060
|
214
|
+
- amount: 11940215798
|
215
|
+
currency: usd
|
216
|
+
source_types:
|
217
|
+
bank_account: 0
|
218
|
+
bitcoin_receiver: 6944
|
219
|
+
card: 11940208854
|
166
220
|
balance_transaction:
|
167
221
|
amount: 100
|
168
222
|
automatic_transfer: {}
|
@@ -171,7 +225,12 @@ resources:
|
|
171
225
|
currency: usd
|
172
226
|
description: ''
|
173
227
|
fee: 0
|
174
|
-
fee_details:
|
228
|
+
fee_details:
|
229
|
+
- amount: 90
|
230
|
+
application:
|
231
|
+
currency: usd
|
232
|
+
description: Stripe processing fees
|
233
|
+
type: stripe_fee
|
175
234
|
id: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
176
235
|
net: 100
|
177
236
|
object: balance_transaction
|
@@ -226,7 +285,14 @@ resources:
|
|
226
285
|
payment: ''
|
227
286
|
refund_address: ''
|
228
287
|
transactions:
|
229
|
-
data:
|
288
|
+
data:
|
289
|
+
- amount: 300
|
290
|
+
bitcoin_amount: 3000000
|
291
|
+
created: 1497681357
|
292
|
+
currency: usd
|
293
|
+
id: btctxn_1AVaXJ2eZvKYlo2C5VpM5f5l
|
294
|
+
object: bitcoin_transaction
|
295
|
+
receiver: btcrcv_1AVaXF2eZvKYlo2CKSplb16t
|
230
296
|
has_more: false
|
231
297
|
object: list
|
232
298
|
total_count: 1
|
@@ -309,7 +375,12 @@ resources:
|
|
309
375
|
object: charge
|
310
376
|
on_behalf_of: ''
|
311
377
|
order: ''
|
312
|
-
outcome:
|
378
|
+
outcome:
|
379
|
+
network_status: approved_by_network
|
380
|
+
reason:
|
381
|
+
risk_level: normal
|
382
|
+
seller_message: Payment complete.
|
383
|
+
type: authorized
|
313
384
|
paid: false
|
314
385
|
receipt_email: ''
|
315
386
|
receipt_number: ''
|
@@ -332,8 +403,8 @@ resources:
|
|
332
403
|
address_zip:
|
333
404
|
address_zip_check:
|
334
405
|
brand: Visa
|
335
|
-
country:
|
336
|
-
customer:
|
406
|
+
country: US
|
407
|
+
customer: cus_9OO7KuH8wgmdfa
|
337
408
|
cvc_check:
|
338
409
|
dynamic_last4:
|
339
410
|
exp_month: 8
|
@@ -343,7 +414,7 @@ resources:
|
|
343
414
|
id: card_19tLKYDSlTMT26Mkl7bixGYc
|
344
415
|
last4: '4242'
|
345
416
|
metadata: {}
|
346
|
-
name:
|
417
|
+
name: nandkishor.webnware@gmail.com
|
347
418
|
object: card
|
348
419
|
tokenization_method:
|
349
420
|
source_transfer: ''
|
@@ -373,6 +444,7 @@ resources:
|
|
373
444
|
company:
|
374
445
|
additional:
|
375
446
|
- legal_entity.verification.document
|
447
|
+
- legal_entity.verification.document
|
376
448
|
minimum:
|
377
449
|
- external_account
|
378
450
|
- legal_entity.address.city
|
@@ -393,6 +465,7 @@ resources:
|
|
393
465
|
individual:
|
394
466
|
additional:
|
395
467
|
- legal_entity.verification.document
|
468
|
+
- legal_entity.verification.document
|
396
469
|
minimum:
|
397
470
|
- external_account
|
398
471
|
- legal_entity.address.city
|
@@ -443,7 +516,30 @@ resources:
|
|
443
516
|
object: customer
|
444
517
|
shipping: {}
|
445
518
|
sources:
|
446
|
-
data:
|
519
|
+
data:
|
520
|
+
- address_city:
|
521
|
+
address_country:
|
522
|
+
address_line1:
|
523
|
+
address_line1_check:
|
524
|
+
address_line2:
|
525
|
+
address_state:
|
526
|
+
address_zip:
|
527
|
+
address_zip_check:
|
528
|
+
brand: Visa
|
529
|
+
country: US
|
530
|
+
customer: cus_ArMWAboqL9MUMd
|
531
|
+
cvc_check: pass
|
532
|
+
dynamic_last4:
|
533
|
+
exp_month: 10
|
534
|
+
exp_year: 2017
|
535
|
+
fingerprint: Xt5EWLLDS7FJjR1c
|
536
|
+
funding: credit
|
537
|
+
id: card_1AVdnB2eZvKYlo2CWAH5jK8Z
|
538
|
+
last4: '4242'
|
539
|
+
metadata: {}
|
540
|
+
name:
|
541
|
+
object: card
|
542
|
+
tokenization_method:
|
447
543
|
has_more: false
|
448
544
|
object: list
|
449
545
|
total_count: 0
|
@@ -465,9 +561,9 @@ resources:
|
|
465
561
|
coupon:
|
466
562
|
amount_off:
|
467
563
|
created: 1490133192
|
468
|
-
currency:
|
564
|
+
currency:
|
469
565
|
duration: repeating
|
470
|
-
duration_in_months:
|
566
|
+
duration_in_months:
|
471
567
|
id: 25OFF
|
472
568
|
livemode: false
|
473
569
|
max_redemptions:
|
@@ -486,7 +582,25 @@ resources:
|
|
486
582
|
accepted_at: 1234567890
|
487
583
|
amount: 1000
|
488
584
|
balance_transaction: ''
|
489
|
-
balance_transactions:
|
585
|
+
balance_transactions:
|
586
|
+
- amount: -1500
|
587
|
+
available_on: 1497484800
|
588
|
+
created: 1496903761
|
589
|
+
currency: usd
|
590
|
+
description: Chargeback withdrawal for ch_1ASKFR2eZvKYlo2CDLlVsM52
|
591
|
+
fee: 1500
|
592
|
+
fee_details:
|
593
|
+
- amount: 1500
|
594
|
+
application:
|
595
|
+
currency: usd
|
596
|
+
description: Dispute fee
|
597
|
+
type: stripe_fee
|
598
|
+
id: txn_1ASKFR2eZvKYlo2C1wu8o4hC
|
599
|
+
net: -3000
|
600
|
+
object: balance_transaction
|
601
|
+
source: dp_1ASKFR2eZvKYlo2CErSdTh43
|
602
|
+
status: pending
|
603
|
+
type: adjustment
|
490
604
|
case_details: {}
|
491
605
|
charge: ch_19zuuhDSlTMT26MkKLSiekJ9
|
492
606
|
closed_at: 1234567890
|
@@ -530,49 +644,116 @@ resources:
|
|
530
644
|
id: dp_19zuuhDSlTMT26Mkp7PHaa4O
|
531
645
|
is_charge_refundable: false
|
532
646
|
is_protected: false
|
647
|
+
issuer: ''
|
533
648
|
livemode: false
|
649
|
+
loss_reason: ''
|
534
650
|
metadata: {}
|
535
651
|
network_reason_code: ''
|
536
652
|
object: dispute
|
537
653
|
reason: general
|
538
654
|
status: needs_response
|
655
|
+
ephemeral_key:
|
656
|
+
associated_objects:
|
657
|
+
- id: cu_1AVdnC2eZvKYlo2C397mApcW
|
658
|
+
type: customer
|
659
|
+
created: 1234567890
|
660
|
+
expires: 1234567890
|
661
|
+
id: ephkey_1AWsWs2eZvKYlo2ChEEYmF12
|
662
|
+
livemode: false
|
663
|
+
object: ephemeral_key
|
664
|
+
ephemeral_key_with_secret:
|
665
|
+
associated_objects:
|
666
|
+
- id: cu_1AVdnC2eZvKYlo2C397mApcW
|
667
|
+
type: customer
|
668
|
+
created: 1234567890
|
669
|
+
expires: 1234567890
|
670
|
+
id: ephkey_1AWsWs2eZvKYlo2ChEEYmF12
|
671
|
+
livemode: false
|
672
|
+
object: ephemeral_key
|
673
|
+
secret: ''
|
539
674
|
event:
|
540
675
|
api_version: '2017-02-14'
|
541
676
|
created: 1234567890
|
542
677
|
customer_email: ''
|
543
678
|
data:
|
544
679
|
object:
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
680
|
+
available:
|
681
|
+
- amount: -88
|
682
|
+
currency: aud
|
683
|
+
source_types:
|
684
|
+
card: -88
|
685
|
+
- amount: 0
|
686
|
+
currency: eur
|
687
|
+
source_types:
|
688
|
+
card: 0
|
689
|
+
- amount: -102
|
690
|
+
currency: gbp
|
691
|
+
source_types:
|
692
|
+
card: -102
|
693
|
+
- amount: -40320
|
694
|
+
currency: jpy
|
695
|
+
source_types:
|
696
|
+
card: -40320
|
697
|
+
- amount: 0
|
698
|
+
currency: nzd
|
699
|
+
source_types:
|
700
|
+
card: 0
|
701
|
+
- amount: 17550857811
|
702
|
+
currency: usd
|
703
|
+
source_types:
|
704
|
+
bank_account: 107213388
|
705
|
+
bitcoin_receiver: 1545182
|
706
|
+
card: 17442099241
|
707
|
+
connect_reserved:
|
708
|
+
- amount: 0
|
709
|
+
currency: aud
|
710
|
+
- amount: 0
|
711
|
+
currency: eur
|
712
|
+
- amount: 0
|
713
|
+
currency: gbp
|
714
|
+
- amount: 0
|
715
|
+
currency: jpy
|
716
|
+
- amount: 0
|
717
|
+
currency: nzd
|
718
|
+
- amount: 0
|
719
|
+
currency: usd
|
554
720
|
livemode: false
|
555
|
-
metadata: {}
|
556
721
|
object: customer
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
722
|
+
pending:
|
723
|
+
- amount: 0
|
724
|
+
currency: aud
|
725
|
+
source_types:
|
726
|
+
card: 0
|
727
|
+
- amount: -17109
|
728
|
+
currency: eur
|
729
|
+
source_types:
|
730
|
+
card: -17109
|
731
|
+
- amount: -81045
|
732
|
+
currency: gbp
|
733
|
+
source_types:
|
734
|
+
card: -81045
|
735
|
+
- amount: 0
|
736
|
+
currency: jpy
|
737
|
+
source_types:
|
738
|
+
card: 0
|
739
|
+
- amount: 1060
|
740
|
+
currency: nzd
|
741
|
+
source_types:
|
742
|
+
card: 1060
|
743
|
+
- amount: 11939932938
|
744
|
+
currency: usd
|
745
|
+
source_types:
|
746
|
+
bank_account: 0
|
747
|
+
bitcoin_receiver: 6944
|
748
|
+
card: 11939925994
|
570
749
|
id: evt_19tLKfDSlTMT26MkKD3pohqX
|
571
750
|
livemode: false
|
572
751
|
object: event
|
573
752
|
pending_webhooks: 0
|
574
753
|
recipient_best_description: ''
|
575
|
-
request:
|
754
|
+
request:
|
755
|
+
id: req_ArJ9y3DcEShbw2
|
756
|
+
idempotency_key:
|
576
757
|
type: customer.created
|
577
758
|
external_account_source:
|
578
759
|
account: acct_19tLK7DSlTMT26Mk
|
@@ -707,44 +888,6 @@ resources:
|
|
707
888
|
subscription: ''
|
708
889
|
subscription_item: ''
|
709
890
|
type: invoiceitem
|
710
|
-
legacy_transfer:
|
711
|
-
amount: 1100
|
712
|
-
amount_reversed: 0
|
713
|
-
application_fee: ''
|
714
|
-
auto: false
|
715
|
-
balance_transaction: ''
|
716
|
-
bank_account: {}
|
717
|
-
card: {}
|
718
|
-
created: 1234567890
|
719
|
-
currency: usd
|
720
|
-
date: 1234567890
|
721
|
-
delay_reason: ''
|
722
|
-
description: Transfer to test@example.com
|
723
|
-
destination: ba_19zuujDSlTMT26MkRkpqv9Ud
|
724
|
-
destination_payment: ''
|
725
|
-
failure_code: ''
|
726
|
-
failure_message: ''
|
727
|
-
id: tr_19zuujDSlTMT26Mk81npuLjT
|
728
|
-
legacy_date: 1234567890
|
729
|
-
livemode: false
|
730
|
-
metadata: {}
|
731
|
-
method: standard
|
732
|
-
object: transfer
|
733
|
-
recipient: ''
|
734
|
-
reversals:
|
735
|
-
data: []
|
736
|
-
has_more: false
|
737
|
-
object: list
|
738
|
-
total_count: 0
|
739
|
-
url: "/v1/transfers/tr_19zuujDSlTMT26Mk81npuLjT/reversals"
|
740
|
-
reversed: false
|
741
|
-
source_transaction: ''
|
742
|
-
source_type: card
|
743
|
-
statement_descriptor: ''
|
744
|
-
status: in_transit
|
745
|
-
transfer_group: ''
|
746
|
-
type: bank_account
|
747
|
-
user_visible_date: 1234567890
|
748
891
|
login_link:
|
749
892
|
created: 1234567890
|
750
893
|
object: login_link
|
@@ -768,13 +911,57 @@ resources:
|
|
768
911
|
description: T-shirt
|
769
912
|
object: order_item
|
770
913
|
parent: sk_19tLKeDSlTMT26MkWafeCAS4
|
771
|
-
quantity:
|
914
|
+
quantity: 1
|
772
915
|
type: sku
|
916
|
+
- amount: 0
|
917
|
+
currency: usd
|
918
|
+
description: Taxes (included)
|
919
|
+
object: order_item
|
920
|
+
parent:
|
921
|
+
quantity:
|
922
|
+
type: tax
|
923
|
+
- amount: 0
|
924
|
+
currency: usd
|
925
|
+
description: Free shipping
|
926
|
+
object: order_item
|
927
|
+
parent: ship_free-shipping
|
928
|
+
quantity:
|
929
|
+
type: shipping
|
773
930
|
livemode: false
|
774
931
|
metadata: {}
|
775
932
|
object: order
|
776
933
|
returns:
|
777
|
-
data:
|
934
|
+
data:
|
935
|
+
- amount: 1500
|
936
|
+
created: 1497681376
|
937
|
+
currency: usd
|
938
|
+
id: orret_1AVaXc2eZvKYlo2CtcXu3BxE
|
939
|
+
items:
|
940
|
+
- amount: 1500
|
941
|
+
currency: usd
|
942
|
+
description: T-shirt
|
943
|
+
object: order_item
|
944
|
+
parent: sku_ArJ9yltVsdN8Wb
|
945
|
+
quantity: 1
|
946
|
+
type: sku
|
947
|
+
- amount: 0
|
948
|
+
currency: usd
|
949
|
+
description: Taxes (included)
|
950
|
+
object: order_item
|
951
|
+
parent:
|
952
|
+
quantity:
|
953
|
+
type: tax
|
954
|
+
- amount: 0
|
955
|
+
currency: usd
|
956
|
+
description: Free shipping
|
957
|
+
object: order_item
|
958
|
+
parent: ship_free-shipping
|
959
|
+
quantity:
|
960
|
+
type: shipping
|
961
|
+
livemode: false
|
962
|
+
object: order_return
|
963
|
+
order: or_1AVaXR2eZvKYlo2CTES1kJ6N
|
964
|
+
refund:
|
778
965
|
has_more: false
|
779
966
|
object: list
|
780
967
|
total_count: 0
|
@@ -792,13 +979,18 @@ resources:
|
|
792
979
|
name: Jenny Rosen
|
793
980
|
phone:
|
794
981
|
tracking_number:
|
795
|
-
shipping_methods:
|
982
|
+
shipping_methods:
|
983
|
+
- amount: 0
|
984
|
+
currency: usd
|
985
|
+
delivery_estimate:
|
986
|
+
description: Free shipping
|
987
|
+
id: ship_free-shipping
|
796
988
|
signature: ''
|
797
989
|
status: created
|
798
990
|
status_transitions:
|
799
|
-
canceled:
|
991
|
+
canceled: 1497681377
|
800
992
|
fulfiled:
|
801
|
-
paid:
|
993
|
+
paid: 1497681372
|
802
994
|
returned:
|
803
995
|
updated: 1234567890
|
804
996
|
upstream_id: ''
|
@@ -813,8 +1005,22 @@ resources:
|
|
813
1005
|
description: T-shirt
|
814
1006
|
object: order_item
|
815
1007
|
parent: sk_19zuukDSlTMT26MkepWkJtmm
|
816
|
-
quantity:
|
1008
|
+
quantity: 1
|
817
1009
|
type: sku
|
1010
|
+
- amount: 0
|
1011
|
+
currency: usd
|
1012
|
+
description: Taxes (included)
|
1013
|
+
object: order_item
|
1014
|
+
parent:
|
1015
|
+
quantity:
|
1016
|
+
type: tax
|
1017
|
+
- amount: 0
|
1018
|
+
currency: usd
|
1019
|
+
description: Free shipping
|
1020
|
+
object: order_item
|
1021
|
+
parent: ship_free-shipping
|
1022
|
+
quantity:
|
1023
|
+
type: shipping
|
818
1024
|
livemode: false
|
819
1025
|
object: order_return
|
820
1026
|
order: or_19zuukDSlTMT26MkL38GRWYx
|
@@ -828,6 +1034,7 @@ resources:
|
|
828
1034
|
card: {}
|
829
1035
|
created: 1234567890
|
830
1036
|
currency: usd
|
1037
|
+
description: ''
|
831
1038
|
destination: acct_19tLK7DSlTMT26Mk
|
832
1039
|
failure_balance_transaction: ''
|
833
1040
|
failure_code: ''
|
@@ -895,7 +1102,26 @@ resources:
|
|
895
1102
|
reason_product_not_tweetable: ''
|
896
1103
|
shippable: true
|
897
1104
|
skus:
|
898
|
-
data:
|
1105
|
+
data:
|
1106
|
+
- active: true
|
1107
|
+
attributes:
|
1108
|
+
gender: Unisex
|
1109
|
+
size: Medium
|
1110
|
+
created: 1489796923
|
1111
|
+
currency: usd
|
1112
|
+
id: sku_AJ7g98gPhCjas3
|
1113
|
+
image:
|
1114
|
+
inventory:
|
1115
|
+
quantity: 499
|
1116
|
+
type: finite
|
1117
|
+
value:
|
1118
|
+
livemode: false
|
1119
|
+
metadata: {}
|
1120
|
+
object: sku
|
1121
|
+
package_dimensions:
|
1122
|
+
price: 1500
|
1123
|
+
product: prod_AJ7gAXvktPRvvh
|
1124
|
+
updated: 1489796941
|
899
1125
|
has_more: false
|
900
1126
|
object: list
|
901
1127
|
total_count: 0
|
@@ -912,7 +1138,8 @@ resources:
|
|
912
1138
|
description: ''
|
913
1139
|
fee_balance_transactions: {}
|
914
1140
|
id: re_19zuuhDSlTMT26MkpLosorvD
|
915
|
-
metadata:
|
1141
|
+
metadata:
|
1142
|
+
reason: '2'
|
916
1143
|
object: refund
|
917
1144
|
reason: ''
|
918
1145
|
receipt_number: ''
|
@@ -1064,9 +1291,9 @@ resources:
|
|
1064
1291
|
address_zip:
|
1065
1292
|
address_zip_check:
|
1066
1293
|
brand: Visa
|
1067
|
-
country:
|
1294
|
+
country: US
|
1068
1295
|
customer:
|
1069
|
-
cvc_check:
|
1296
|
+
cvc_check: unchecked
|
1070
1297
|
dynamic_last4:
|
1071
1298
|
exp_month: 8
|
1072
1299
|
exp_year: 2018
|
@@ -1099,7 +1326,7 @@ resources:
|
|
1099
1326
|
address_zip:
|
1100
1327
|
address_zip_check:
|
1101
1328
|
brand: Visa
|
1102
|
-
country:
|
1329
|
+
country: US
|
1103
1330
|
cvc_check:
|
1104
1331
|
dynamic_last4:
|
1105
1332
|
exp_month: 8
|
@@ -1128,6 +1355,7 @@ resources:
|
|
1128
1355
|
balance_transaction: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
1129
1356
|
created: 1234567890
|
1130
1357
|
currency: usd
|
1358
|
+
description: ''
|
1131
1359
|
destination: ba_19zuujDSlTMT26MkRkpqv9Ud
|
1132
1360
|
destination_payment: ''
|
1133
1361
|
id: tr_19zuujDSlTMT26Mk81npuLjT
|
@@ -1135,7 +1363,15 @@ resources:
|
|
1135
1363
|
metadata: {}
|
1136
1364
|
object: transfer
|
1137
1365
|
reversals:
|
1138
|
-
data:
|
1366
|
+
data:
|
1367
|
+
- amount: 100
|
1368
|
+
balance_transaction: txn_1AF3y32eZvKYlo2CSgDInbEk
|
1369
|
+
created: 1493742915
|
1370
|
+
currency: usd
|
1371
|
+
id: trr_1AF3y32eZvKYlo2CtkDXeobp
|
1372
|
+
metadata: {}
|
1373
|
+
object: transfer_reversal
|
1374
|
+
transfer: tr_164xRv2eZvKYlo2CZxJZWm1E
|
1139
1375
|
has_more: false
|
1140
1376
|
object: list
|
1141
1377
|
total_count: 0
|
@@ -1145,7 +1381,20 @@ resources:
|
|
1145
1381
|
source_type: card
|
1146
1382
|
transfer_group: ''
|
1147
1383
|
transfer_recipient:
|
1148
|
-
active_account:
|
1384
|
+
active_account:
|
1385
|
+
account_holder_name:
|
1386
|
+
account_holder_type:
|
1387
|
+
bank_name: STRIPE TEST BANK
|
1388
|
+
country: US
|
1389
|
+
currency: usd
|
1390
|
+
customer:
|
1391
|
+
fingerprint: 1JWtPxqbdX5Gamtc
|
1392
|
+
id: ba_19p5Ze2eZvKYlo2C1fs6Ar4u
|
1393
|
+
last4: '6789'
|
1394
|
+
metadata: {}
|
1395
|
+
object: bank_account
|
1396
|
+
routing_number: '110000000'
|
1397
|
+
status: new
|
1149
1398
|
address_city: ''
|
1150
1399
|
address_country: ''
|
1151
1400
|
address_line1: ''
|
@@ -1202,7 +1451,35 @@ resources:
|
|
1202
1451
|
ending_balance: 0
|
1203
1452
|
forgiven: false
|
1204
1453
|
lines:
|
1205
|
-
data:
|
1454
|
+
data:
|
1455
|
+
- amount: 1000
|
1456
|
+
currency: usd
|
1457
|
+
description:
|
1458
|
+
discountable: true
|
1459
|
+
id: sub_3jtkr4OHgFoV5k
|
1460
|
+
livemode: false
|
1461
|
+
metadata: {}
|
1462
|
+
object: line_item
|
1463
|
+
period:
|
1464
|
+
end: 1430089038
|
1465
|
+
start: 1427410638
|
1466
|
+
plan:
|
1467
|
+
amount: 1000
|
1468
|
+
created: 1391206393
|
1469
|
+
currency: usd
|
1470
|
+
id: monthly
|
1471
|
+
interval: month
|
1472
|
+
interval_count: 1
|
1473
|
+
livemode: false
|
1474
|
+
metadata: {}
|
1475
|
+
name: Monthly Plan
|
1476
|
+
object: plan
|
1477
|
+
statement_descriptor:
|
1478
|
+
trial_period_days:
|
1479
|
+
proration: false
|
1480
|
+
quantity: 1
|
1481
|
+
subscription:
|
1482
|
+
type: subscription
|
1206
1483
|
has_more: false
|
1207
1484
|
object: list
|
1208
1485
|
total_count: 0
|