stripe 17.6.0-beta.3 → 17.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +124 -1040
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -48
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -33
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -222
- package/types/Accounts.d.ts +1 -190
- package/types/AccountsResource.d.ts +0 -520
- package/types/Cards.d.ts +0 -5
- package/types/Charges.d.ts +3 -141
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +4 -340
- package/types/Checkout/SessionsResource.d.ts +5 -445
- package/types/ConfirmationTokens.d.ts +1 -100
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -7
- package/types/EventTypes.d.ts +0 -596
- package/types/Events.d.ts +0 -93
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -137
- package/types/InvoicesResource.d.ts +1882 -5567
- package/types/Issuing/Authorizations.d.ts +0 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -32
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -644
- package/types/PaymentIntentsResource.d.ts +3734 -8021
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +1 -100
- package/types/PaymentMethodsResource.d.ts +0 -133
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/Refunds.d.ts +2 -16
- package/types/SetupAttempts.d.ts +0 -38
- package/types/SetupIntents.d.ts +1 -111
- package/types/SetupIntentsResource.d.ts +3 -645
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -91
- package/types/SubscriptionsResource.d.ts +2 -369
- package/types/Terminal/Readers.d.ts +0 -290
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -70
- package/types/index.d.ts +0 -62
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -113
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1179
- package/types/OrdersResource.d.ts +0 -2961
- package/types/PaymentAttemptRecords.d.ts +0 -242
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentRecords.d.ts +0 -242
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1658
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
|
@@ -129,21 +129,11 @@ declare module 'stripe' {
|
|
|
129
129
|
*/
|
|
130
130
|
giropay?: PaymentMethodData.Giropay;
|
|
131
131
|
|
|
132
|
-
/**
|
|
133
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
134
|
-
*/
|
|
135
|
-
gopay?: PaymentMethodData.Gopay;
|
|
136
|
-
|
|
137
132
|
/**
|
|
138
133
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
139
134
|
*/
|
|
140
135
|
grabpay?: PaymentMethodData.Grabpay;
|
|
141
136
|
|
|
142
|
-
/**
|
|
143
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
144
|
-
*/
|
|
145
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
146
|
-
|
|
147
137
|
/**
|
|
148
138
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
149
139
|
*/
|
|
@@ -179,11 +169,6 @@ declare module 'stripe' {
|
|
|
179
169
|
*/
|
|
180
170
|
link?: PaymentMethodData.Link;
|
|
181
171
|
|
|
182
|
-
/**
|
|
183
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
184
|
-
*/
|
|
185
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
186
|
-
|
|
187
172
|
/**
|
|
188
173
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
189
174
|
*/
|
|
@@ -234,11 +219,6 @@ declare module 'stripe' {
|
|
|
234
219
|
*/
|
|
235
220
|
paypal?: PaymentMethodData.Paypal;
|
|
236
221
|
|
|
237
|
-
/**
|
|
238
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
239
|
-
*/
|
|
240
|
-
payto?: PaymentMethodData.Payto;
|
|
241
|
-
|
|
242
222
|
/**
|
|
243
223
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
244
224
|
*/
|
|
@@ -249,21 +229,11 @@ declare module 'stripe' {
|
|
|
249
229
|
*/
|
|
250
230
|
promptpay?: PaymentMethodData.Promptpay;
|
|
251
231
|
|
|
252
|
-
/**
|
|
253
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
254
|
-
*/
|
|
255
|
-
qris?: PaymentMethodData.Qris;
|
|
256
|
-
|
|
257
232
|
/**
|
|
258
233
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
259
234
|
*/
|
|
260
235
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
261
236
|
|
|
262
|
-
/**
|
|
263
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
264
|
-
*/
|
|
265
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
266
|
-
|
|
267
237
|
/**
|
|
268
238
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
269
239
|
*/
|
|
@@ -279,11 +249,6 @@ declare module 'stripe' {
|
|
|
279
249
|
*/
|
|
280
250
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
281
251
|
|
|
282
|
-
/**
|
|
283
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
284
|
-
*/
|
|
285
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
286
|
-
|
|
287
252
|
/**
|
|
288
253
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
289
254
|
*/
|
|
@@ -492,21 +457,8 @@ declare module 'stripe' {
|
|
|
492
457
|
|
|
493
458
|
interface Giropay {}
|
|
494
459
|
|
|
495
|
-
interface Gopay {}
|
|
496
|
-
|
|
497
460
|
interface Grabpay {}
|
|
498
461
|
|
|
499
|
-
interface IdBankTransfer {
|
|
500
|
-
/**
|
|
501
|
-
* Bank where the account is held.
|
|
502
|
-
*/
|
|
503
|
-
bank?: IdBankTransfer.Bank;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
namespace IdBankTransfer {
|
|
507
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
508
|
-
}
|
|
509
|
-
|
|
510
462
|
interface Ideal {
|
|
511
463
|
/**
|
|
512
464
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -570,8 +522,6 @@ declare module 'stripe' {
|
|
|
570
522
|
|
|
571
523
|
interface Link {}
|
|
572
524
|
|
|
573
|
-
interface MbWay {}
|
|
574
|
-
|
|
575
525
|
interface Mobilepay {}
|
|
576
526
|
|
|
577
527
|
interface Multibanco {}
|
|
@@ -634,29 +584,10 @@ declare module 'stripe' {
|
|
|
634
584
|
|
|
635
585
|
interface Paypal {}
|
|
636
586
|
|
|
637
|
-
interface Payto {
|
|
638
|
-
/**
|
|
639
|
-
* The account number for the bank account.
|
|
640
|
-
*/
|
|
641
|
-
account_number?: string;
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* Bank-State-Branch number of the bank account.
|
|
645
|
-
*/
|
|
646
|
-
bsb_number?: string;
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* The PayID alias for the bank account.
|
|
650
|
-
*/
|
|
651
|
-
pay_id?: string;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
587
|
interface Pix {}
|
|
655
588
|
|
|
656
589
|
interface Promptpay {}
|
|
657
590
|
|
|
658
|
-
interface Qris {}
|
|
659
|
-
|
|
660
591
|
interface RadarOptions {
|
|
661
592
|
/**
|
|
662
593
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -664,32 +595,6 @@ declare module 'stripe' {
|
|
|
664
595
|
session?: string;
|
|
665
596
|
}
|
|
666
597
|
|
|
667
|
-
interface Rechnung {
|
|
668
|
-
/**
|
|
669
|
-
* Customer's date of birth
|
|
670
|
-
*/
|
|
671
|
-
dob: Rechnung.Dob;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
namespace Rechnung {
|
|
675
|
-
interface Dob {
|
|
676
|
-
/**
|
|
677
|
-
* The day of birth, between 1 and 31.
|
|
678
|
-
*/
|
|
679
|
-
day: number;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* The month of birth, between 1 and 12.
|
|
683
|
-
*/
|
|
684
|
-
month: number;
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* The four-digit year of birth.
|
|
688
|
-
*/
|
|
689
|
-
year: number;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
|
|
693
598
|
interface RevolutPay {}
|
|
694
599
|
|
|
695
600
|
interface SamsungPay {}
|
|
@@ -701,8 +606,6 @@ declare module 'stripe' {
|
|
|
701
606
|
iban: string;
|
|
702
607
|
}
|
|
703
608
|
|
|
704
|
-
interface Shopeepay {}
|
|
705
|
-
|
|
706
609
|
interface Sofort {
|
|
707
610
|
/**
|
|
708
611
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -735,16 +638,13 @@ declare module 'stripe' {
|
|
|
735
638
|
| 'eps'
|
|
736
639
|
| 'fpx'
|
|
737
640
|
| 'giropay'
|
|
738
|
-
| 'gopay'
|
|
739
641
|
| 'grabpay'
|
|
740
|
-
| 'id_bank_transfer'
|
|
741
642
|
| 'ideal'
|
|
742
643
|
| 'kakao_pay'
|
|
743
644
|
| 'klarna'
|
|
744
645
|
| 'konbini'
|
|
745
646
|
| 'kr_card'
|
|
746
647
|
| 'link'
|
|
747
|
-
| 'mb_way'
|
|
748
648
|
| 'mobilepay'
|
|
749
649
|
| 'multibanco'
|
|
750
650
|
| 'naver_pay'
|
|
@@ -754,15 +654,11 @@ declare module 'stripe' {
|
|
|
754
654
|
| 'payco'
|
|
755
655
|
| 'paynow'
|
|
756
656
|
| 'paypal'
|
|
757
|
-
| 'payto'
|
|
758
657
|
| 'pix'
|
|
759
658
|
| 'promptpay'
|
|
760
|
-
| 'qris'
|
|
761
|
-
| 'rechnung'
|
|
762
659
|
| 'revolut_pay'
|
|
763
660
|
| 'samsung_pay'
|
|
764
661
|
| 'sepa_debit'
|
|
765
|
-
| 'shopeepay'
|
|
766
662
|
| 'sofort'
|
|
767
663
|
| 'swish'
|
|
768
664
|
| 'twint'
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedCredit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedCreditCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedCreditCreateParams {
|
|
@@ -79,27 +74,6 @@ declare module 'stripe' {
|
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
type Network = 'ach' | 'us_domestic_wire';
|
|
82
|
-
|
|
83
|
-
interface NetworkDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Optional fields for `ach`.
|
|
86
|
-
*/
|
|
87
|
-
ach?: NetworkDetails.Ach;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* The type of flow that originated the ReceivedCredit.
|
|
91
|
-
*/
|
|
92
|
-
type: 'ach';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
namespace NetworkDetails {
|
|
96
|
-
interface Ach {
|
|
97
|
-
/**
|
|
98
|
-
* ACH Addenda record
|
|
99
|
-
*/
|
|
100
|
-
addenda?: string;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
77
|
}
|
|
104
78
|
}
|
|
105
79
|
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedDebit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedDebitCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedDebitCreateParams {
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
routing_number?: string;
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the ReceivedDebit.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this ReceivedDebit.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
}
|
|
103
77
|
|
|
@@ -175,11 +175,6 @@ declare module 'stripe' {
|
|
|
175
175
|
|
|
176
176
|
namespace FinancialAddresses {
|
|
177
177
|
interface Aba {
|
|
178
|
-
/**
|
|
179
|
-
* Requested bank partner for this Financial Account
|
|
180
|
-
*/
|
|
181
|
-
bank?: Aba.Bank;
|
|
182
|
-
|
|
183
178
|
/**
|
|
184
179
|
* Whether the FinancialAccount should have the Feature.
|
|
185
180
|
*/
|
|
@@ -197,8 +192,6 @@ declare module 'stripe' {
|
|
|
197
192
|
}
|
|
198
193
|
|
|
199
194
|
namespace Aba {
|
|
200
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
201
|
-
|
|
202
195
|
type Status = 'active' | 'pending' | 'restricted';
|
|
203
196
|
|
|
204
197
|
interface StatusDetail {
|
|
@@ -38,11 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
created: number;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
43
|
-
*/
|
|
44
|
-
display_name?: string | null;
|
|
45
|
-
|
|
46
41
|
/**
|
|
47
42
|
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
48
43
|
* Stripe or the platform can control Features via the requested field.
|
|
@@ -9,11 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
*/
|
|
10
10
|
supported_currencies: Array<string>;
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
14
|
-
*/
|
|
15
|
-
display_name?: Stripe.Emptyable<string>;
|
|
16
|
-
|
|
17
12
|
/**
|
|
18
13
|
* Specifies which fields in the response should be expanded.
|
|
19
14
|
*/
|
|
@@ -102,20 +97,11 @@ declare module 'stripe' {
|
|
|
102
97
|
|
|
103
98
|
namespace FinancialAddresses {
|
|
104
99
|
interface Aba {
|
|
105
|
-
/**
|
|
106
|
-
* Requested bank partner
|
|
107
|
-
*/
|
|
108
|
-
bank?: Aba.Bank;
|
|
109
|
-
|
|
110
100
|
/**
|
|
111
101
|
* Whether the FinancialAccount should have the Feature.
|
|
112
102
|
*/
|
|
113
103
|
requested: boolean;
|
|
114
104
|
}
|
|
115
|
-
|
|
116
|
-
namespace Aba {
|
|
117
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
118
|
-
}
|
|
119
105
|
}
|
|
120
106
|
|
|
121
107
|
interface InboundTransfers {
|
|
@@ -225,11 +211,6 @@ declare module 'stripe' {
|
|
|
225
211
|
}
|
|
226
212
|
|
|
227
213
|
interface FinancialAccountUpdateParams {
|
|
228
|
-
/**
|
|
229
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
230
|
-
*/
|
|
231
|
-
display_name?: Stripe.Emptyable<string>;
|
|
232
|
-
|
|
233
214
|
/**
|
|
234
215
|
* Specifies which fields in the response should be expanded.
|
|
235
216
|
*/
|
|
@@ -323,20 +304,11 @@ declare module 'stripe' {
|
|
|
323
304
|
|
|
324
305
|
namespace FinancialAddresses {
|
|
325
306
|
interface Aba {
|
|
326
|
-
/**
|
|
327
|
-
* Requested bank partner
|
|
328
|
-
*/
|
|
329
|
-
bank?: Aba.Bank;
|
|
330
|
-
|
|
331
307
|
/**
|
|
332
308
|
* Whether the FinancialAccount should have the Feature.
|
|
333
309
|
*/
|
|
334
310
|
requested: boolean;
|
|
335
311
|
}
|
|
336
|
-
|
|
337
|
-
namespace Aba {
|
|
338
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
339
|
-
}
|
|
340
312
|
}
|
|
341
313
|
|
|
342
314
|
interface InboundTransfers {
|
|
@@ -579,20 +551,11 @@ declare module 'stripe' {
|
|
|
579
551
|
|
|
580
552
|
namespace FinancialAddresses {
|
|
581
553
|
interface Aba {
|
|
582
|
-
/**
|
|
583
|
-
* Requested bank partner
|
|
584
|
-
*/
|
|
585
|
-
bank?: Aba.Bank;
|
|
586
|
-
|
|
587
554
|
/**
|
|
588
555
|
* Whether the FinancialAccount should have the Feature.
|
|
589
556
|
*/
|
|
590
557
|
requested: boolean;
|
|
591
558
|
}
|
|
592
|
-
|
|
593
|
-
namespace Aba {
|
|
594
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
595
|
-
}
|
|
596
559
|
}
|
|
597
560
|
|
|
598
561
|
interface InboundTransfers {
|
|
@@ -78,11 +78,6 @@ declare module 'stripe' {
|
|
|
78
78
|
*/
|
|
79
79
|
metadata: Stripe.Metadata;
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Details about the network used for the OutboundTransfer.
|
|
83
|
-
*/
|
|
84
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
85
|
-
|
|
86
81
|
/**
|
|
87
82
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
88
83
|
*/
|
|
@@ -205,27 +200,6 @@ declare module 'stripe' {
|
|
|
205
200
|
}
|
|
206
201
|
}
|
|
207
202
|
|
|
208
|
-
interface NetworkDetails {
|
|
209
|
-
/**
|
|
210
|
-
* Details about an ACH transaction.
|
|
211
|
-
*/
|
|
212
|
-
ach?: NetworkDetails.Ach | null;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The type of flow that originated the OutboundTransfer.
|
|
216
|
-
*/
|
|
217
|
-
type: 'ach';
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
namespace NetworkDetails {
|
|
221
|
-
interface Ach {
|
|
222
|
-
/**
|
|
223
|
-
* ACH Addenda record
|
|
224
|
-
*/
|
|
225
|
-
addenda: string | null;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
203
|
interface ReturnedDetails {
|
|
230
204
|
/**
|
|
231
205
|
* Reason for the return.
|
|
@@ -49,11 +49,6 @@ declare module 'stripe' {
|
|
|
49
49
|
*/
|
|
50
50
|
metadata?: Stripe.MetadataParam;
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* Details about the network used for the OutboundTransfer.
|
|
54
|
-
*/
|
|
55
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
56
|
-
|
|
57
52
|
/**
|
|
58
53
|
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
|
|
59
54
|
*/
|
|
@@ -94,27 +89,6 @@ declare module 'stripe' {
|
|
|
94
89
|
type Network = 'ach' | 'us_domestic_wire';
|
|
95
90
|
}
|
|
96
91
|
}
|
|
97
|
-
|
|
98
|
-
interface NetworkDetails {
|
|
99
|
-
/**
|
|
100
|
-
* Optional fields for `ach`.
|
|
101
|
-
*/
|
|
102
|
-
ach?: NetworkDetails.Ach;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The type of flow that originated the OutboundTransfer.
|
|
106
|
-
*/
|
|
107
|
-
type: 'ach';
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
namespace NetworkDetails {
|
|
111
|
-
interface Ach {
|
|
112
|
-
/**
|
|
113
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
114
|
-
*/
|
|
115
|
-
addenda?: string;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
92
|
}
|
|
119
93
|
|
|
120
94
|
interface OutboundTransferRetrieveParams {
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedCredit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedCredit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedCredit may be reversed.
|
|
76
71
|
*/
|
|
@@ -256,27 +251,6 @@ declare module 'stripe' {
|
|
|
256
251
|
|
|
257
252
|
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
|
|
258
253
|
|
|
259
|
-
interface NetworkDetails {
|
|
260
|
-
/**
|
|
261
|
-
* Details about an ACH transaction.
|
|
262
|
-
*/
|
|
263
|
-
ach?: NetworkDetails.Ach | null;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The type of flow that originated the ReceivedCredit.
|
|
267
|
-
*/
|
|
268
|
-
type: 'ach';
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
namespace NetworkDetails {
|
|
272
|
-
interface Ach {
|
|
273
|
-
/**
|
|
274
|
-
* ACH Addenda record
|
|
275
|
-
*/
|
|
276
|
-
addenda: string | null;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
254
|
interface ReversalDetails {
|
|
281
255
|
/**
|
|
282
256
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedDebit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedDebit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedDebit might be reversed.
|
|
76
71
|
*/
|
|
@@ -195,36 +190,10 @@ declare module 'stripe' {
|
|
|
195
190
|
* Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.
|
|
196
191
|
*/
|
|
197
192
|
payout: string | null;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* The ReceivedCredit that Capital withheld from
|
|
201
|
-
*/
|
|
202
|
-
received_credit_capital_withholding?: string | null;
|
|
203
193
|
}
|
|
204
194
|
|
|
205
195
|
type Network = 'ach' | 'card' | 'stripe';
|
|
206
196
|
|
|
207
|
-
interface NetworkDetails {
|
|
208
|
-
/**
|
|
209
|
-
* Details about an ACH transaction.
|
|
210
|
-
*/
|
|
211
|
-
ach?: NetworkDetails.Ach | null;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* The type of flow that originated the ReceivedDebit.
|
|
215
|
-
*/
|
|
216
|
-
type: 'ach';
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
namespace NetworkDetails {
|
|
220
|
-
interface Ach {
|
|
221
|
-
/**
|
|
222
|
-
* ACH Addenda record
|
|
223
|
-
*/
|
|
224
|
-
addenda: string | null;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
197
|
interface ReversalDetails {
|
|
229
198
|
/**
|
|
230
199
|
* Time before which a ReceivedDebit can be reversed.
|