stripe 17.1.0 → 17.2.0-beta.2
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 +901 -109
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/cjs/resources.js +42 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/esm/resources.js +29 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +75 -5
- package/types/AccountSessionsResource.d.ts +354 -5
- package/types/Accounts.d.ts +127 -3
- package/types/AccountsResource.d.ts +296 -2
- package/types/Billing/CreditGrants.d.ts +2 -2
- package/types/Billing/CreditGrantsResource.d.ts +2 -2
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +152 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +356 -5
- package/types/ConfirmationTokens.d.ts +137 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +22 -2
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +564 -2
- package/types/Events.d.ts +91 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/Forwarding/Requests.d.ts +5 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +31 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +134 -3
- package/types/InvoicesResource.d.ts +5478 -1799
- package/types/Issuing/Authorizations.d.ts +1 -1
- package/types/Issuing/AuthorizationsResource.d.ts +1 -1
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +85 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +643 -1
- package/types/PaymentIntentsResource.d.ts +7790 -3514
- package/types/PaymentLinks.d.ts +3 -0
- package/types/PaymentLinksResource.d.ts +6 -0
- package/types/PaymentMethodConfigurations.d.ts +36 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +52 -2
- package/types/PaymentMethods.d.ts +137 -0
- package/types/PaymentMethodsResource.d.ts +158 -0
- package/types/Persons.d.ts +1 -1
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1596 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +669 -3
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +82 -1
- package/types/SubscriptionsResource.d.ts +348 -3
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +33 -1
- package/types/Tax/CalculationsResource.d.ts +7 -1
- package/types/Tax/Forms.d.ts +133 -0
- package/types/Tax/FormsResource.d.ts +90 -0
- package/types/Tax/Registrations.d.ts +82 -0
- package/types/Tax/RegistrationsResource.d.ts +109 -0
- package/types/Tax/Transactions.d.ts +8 -1
- package/types/TaxIds.d.ts +7 -1
- package/types/TaxIdsResource.d.ts +7 -1
- package/types/TaxRates.d.ts +25 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +112 -0
- package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +10 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/UsageRecordSummaries.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +66 -0
- package/types/index.d.ts +53 -0
|
@@ -139,6 +139,11 @@ declare module 'stripe' {
|
|
|
139
139
|
*/
|
|
140
140
|
interac_present?: PaymentMethodData.InteracPresent;
|
|
141
141
|
|
|
142
|
+
/**
|
|
143
|
+
* If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
|
144
|
+
*/
|
|
145
|
+
kakao_pay?: PaymentMethodData.KakaoPay;
|
|
146
|
+
|
|
142
147
|
/**
|
|
143
148
|
* If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
|
144
149
|
*/
|
|
@@ -149,11 +154,21 @@ declare module 'stripe' {
|
|
|
149
154
|
*/
|
|
150
155
|
konbini?: PaymentMethodData.Konbini;
|
|
151
156
|
|
|
157
|
+
/**
|
|
158
|
+
* If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
|
159
|
+
*/
|
|
160
|
+
kr_card?: PaymentMethodData.KrCard;
|
|
161
|
+
|
|
152
162
|
/**
|
|
153
163
|
* If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
|
154
164
|
*/
|
|
155
165
|
link?: PaymentMethodData.Link;
|
|
156
166
|
|
|
167
|
+
/**
|
|
168
|
+
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
169
|
+
*/
|
|
170
|
+
mb_way?: PaymentMethodData.MbWay;
|
|
171
|
+
|
|
157
172
|
/**
|
|
158
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`.
|
|
159
174
|
*/
|
|
@@ -169,6 +184,11 @@ declare module 'stripe' {
|
|
|
169
184
|
*/
|
|
170
185
|
multibanco?: PaymentMethodData.Multibanco;
|
|
171
186
|
|
|
187
|
+
/**
|
|
188
|
+
* If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
|
189
|
+
*/
|
|
190
|
+
naver_pay?: PaymentMethodData.NaverPay;
|
|
191
|
+
|
|
172
192
|
/**
|
|
173
193
|
* If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
|
174
194
|
*/
|
|
@@ -179,6 +199,11 @@ declare module 'stripe' {
|
|
|
179
199
|
*/
|
|
180
200
|
p24?: PaymentMethodData.P24;
|
|
181
201
|
|
|
202
|
+
/**
|
|
203
|
+
* If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
|
204
|
+
*/
|
|
205
|
+
payco?: PaymentMethodData.Payco;
|
|
206
|
+
|
|
182
207
|
/**
|
|
183
208
|
* If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
|
184
209
|
*/
|
|
@@ -189,6 +214,11 @@ declare module 'stripe' {
|
|
|
189
214
|
*/
|
|
190
215
|
paypal?: PaymentMethodData.Paypal;
|
|
191
216
|
|
|
217
|
+
/**
|
|
218
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
219
|
+
*/
|
|
220
|
+
payto?: PaymentMethodData.Payto;
|
|
221
|
+
|
|
192
222
|
/**
|
|
193
223
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
194
224
|
*/
|
|
@@ -204,11 +234,21 @@ declare module 'stripe' {
|
|
|
204
234
|
*/
|
|
205
235
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
206
236
|
|
|
237
|
+
/**
|
|
238
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
239
|
+
*/
|
|
240
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
241
|
+
|
|
207
242
|
/**
|
|
208
243
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
209
244
|
*/
|
|
210
245
|
revolut_pay?: PaymentMethodData.RevolutPay;
|
|
211
246
|
|
|
247
|
+
/**
|
|
248
|
+
* If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
249
|
+
*/
|
|
250
|
+
samsung_pay?: PaymentMethodData.SamsungPay;
|
|
251
|
+
|
|
212
252
|
/**
|
|
213
253
|
* If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
214
254
|
*/
|
|
@@ -451,6 +491,8 @@ declare module 'stripe' {
|
|
|
451
491
|
|
|
452
492
|
interface InteracPresent {}
|
|
453
493
|
|
|
494
|
+
interface KakaoPay {}
|
|
495
|
+
|
|
454
496
|
interface Klarna {
|
|
455
497
|
/**
|
|
456
498
|
* Customer's date of birth
|
|
@@ -479,12 +521,27 @@ declare module 'stripe' {
|
|
|
479
521
|
|
|
480
522
|
interface Konbini {}
|
|
481
523
|
|
|
524
|
+
interface KrCard {}
|
|
525
|
+
|
|
482
526
|
interface Link {}
|
|
483
527
|
|
|
528
|
+
interface MbWay {}
|
|
529
|
+
|
|
484
530
|
interface Mobilepay {}
|
|
485
531
|
|
|
486
532
|
interface Multibanco {}
|
|
487
533
|
|
|
534
|
+
interface NaverPay {
|
|
535
|
+
/**
|
|
536
|
+
* Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
|
537
|
+
*/
|
|
538
|
+
funding?: NaverPay.Funding;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
namespace NaverPay {
|
|
542
|
+
type Funding = 'card' | 'points';
|
|
543
|
+
}
|
|
544
|
+
|
|
488
545
|
interface Oxxo {}
|
|
489
546
|
|
|
490
547
|
interface P24 {
|
|
@@ -524,10 +581,29 @@ declare module 'stripe' {
|
|
|
524
581
|
| 'volkswagen_bank';
|
|
525
582
|
}
|
|
526
583
|
|
|
584
|
+
interface Payco {}
|
|
585
|
+
|
|
527
586
|
interface Paynow {}
|
|
528
587
|
|
|
529
588
|
interface Paypal {}
|
|
530
589
|
|
|
590
|
+
interface Payto {
|
|
591
|
+
/**
|
|
592
|
+
* The account number for the bank account.
|
|
593
|
+
*/
|
|
594
|
+
account_number?: string;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Bank-State-Branch number of the bank account.
|
|
598
|
+
*/
|
|
599
|
+
bsb_number?: string;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* The PayID alias for the bank account.
|
|
603
|
+
*/
|
|
604
|
+
pay_id?: string;
|
|
605
|
+
}
|
|
606
|
+
|
|
531
607
|
interface Pix {}
|
|
532
608
|
|
|
533
609
|
interface Promptpay {}
|
|
@@ -539,8 +615,36 @@ declare module 'stripe' {
|
|
|
539
615
|
session?: string;
|
|
540
616
|
}
|
|
541
617
|
|
|
618
|
+
interface Rechnung {
|
|
619
|
+
/**
|
|
620
|
+
* Customer's date of birth
|
|
621
|
+
*/
|
|
622
|
+
dob: Rechnung.Dob;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
namespace Rechnung {
|
|
626
|
+
interface Dob {
|
|
627
|
+
/**
|
|
628
|
+
* The day of birth, between 1 and 31.
|
|
629
|
+
*/
|
|
630
|
+
day: number;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* The month of birth, between 1 and 12.
|
|
634
|
+
*/
|
|
635
|
+
month: number;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* The four-digit year of birth.
|
|
639
|
+
*/
|
|
640
|
+
year: number;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
542
644
|
interface RevolutPay {}
|
|
543
645
|
|
|
646
|
+
interface SamsungPay {}
|
|
647
|
+
|
|
544
648
|
interface SepaDebit {
|
|
545
649
|
/**
|
|
546
650
|
* IBAN of the bank account.
|
|
@@ -581,18 +685,26 @@ declare module 'stripe' {
|
|
|
581
685
|
| 'giropay'
|
|
582
686
|
| 'grabpay'
|
|
583
687
|
| 'ideal'
|
|
688
|
+
| 'kakao_pay'
|
|
584
689
|
| 'klarna'
|
|
585
690
|
| 'konbini'
|
|
691
|
+
| 'kr_card'
|
|
586
692
|
| 'link'
|
|
693
|
+
| 'mb_way'
|
|
587
694
|
| 'mobilepay'
|
|
588
695
|
| 'multibanco'
|
|
696
|
+
| 'naver_pay'
|
|
589
697
|
| 'oxxo'
|
|
590
698
|
| 'p24'
|
|
699
|
+
| 'payco'
|
|
591
700
|
| 'paynow'
|
|
592
701
|
| 'paypal'
|
|
702
|
+
| 'payto'
|
|
593
703
|
| 'pix'
|
|
594
704
|
| 'promptpay'
|
|
705
|
+
| 'rechnung'
|
|
595
706
|
| 'revolut_pay'
|
|
707
|
+
| 'samsung_pay'
|
|
596
708
|
| 'sepa_debit'
|
|
597
709
|
| 'sofort'
|
|
598
710
|
| 'swish'
|
|
@@ -39,6 +39,15 @@ declare module 'stripe' {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
namespace Issuing {
|
|
43
|
+
interface CardSubmitCardParams {
|
|
44
|
+
/**
|
|
45
|
+
* Specifies which fields in the response should be expanded.
|
|
46
|
+
*/
|
|
47
|
+
expand?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
42
51
|
namespace Issuing {
|
|
43
52
|
class CardsResource {
|
|
44
53
|
/**
|
|
@@ -92,6 +101,19 @@ declare module 'stripe' {
|
|
|
92
101
|
id: string,
|
|
93
102
|
options?: RequestOptions
|
|
94
103
|
): Promise<Stripe.Response<Stripe.Issuing.Card>>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Updates the shipping status of the specified Issuing Card object to submitted. This method is only available with Stripe Version ‘2024-09-30.acacia' or above.
|
|
107
|
+
*/
|
|
108
|
+
submitCard(
|
|
109
|
+
id: string,
|
|
110
|
+
params?: CardSubmitCardParams,
|
|
111
|
+
options?: RequestOptions
|
|
112
|
+
): Promise<Stripe.Response<Stripe.Issuing.Card>>;
|
|
113
|
+
submitCard(
|
|
114
|
+
id: string,
|
|
115
|
+
options?: RequestOptions
|
|
116
|
+
): Promise<Stripe.Response<Stripe.Issuing.Card>>;
|
|
95
117
|
}
|
|
96
118
|
}
|
|
97
119
|
}
|
|
@@ -39,6 +39,11 @@ 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;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
namespace ReceivedCreditCreateParams {
|
|
@@ -74,6 +79,27 @@ declare module 'stripe' {
|
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
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
|
+
}
|
|
77
103
|
}
|
|
78
104
|
}
|
|
79
105
|
|
|
@@ -39,6 +39,11 @@ 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;
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
namespace ReceivedDebitCreateParams {
|
|
@@ -72,6 +77,27 @@ declare module 'stripe' {
|
|
|
72
77
|
routing_number?: string;
|
|
73
78
|
}
|
|
74
79
|
}
|
|
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
|
+
}
|
|
75
101
|
}
|
|
76
102
|
}
|
|
77
103
|
|
|
@@ -38,6 +38,11 @@ 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
|
+
|
|
41
46
|
/**
|
|
42
47
|
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
43
48
|
* Stripe or the platform can control Features via the requested field.
|
|
@@ -75,7 +80,7 @@ declare module 'stripe' {
|
|
|
75
80
|
restricted_features?: Array<FinancialAccount.RestrictedFeature>;
|
|
76
81
|
|
|
77
82
|
/**
|
|
78
|
-
*
|
|
83
|
+
* Status of this FinancialAccount.
|
|
79
84
|
*/
|
|
80
85
|
status: FinancialAccount.Status;
|
|
81
86
|
|
|
@@ -9,6 +9,11 @@ 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
|
+
|
|
12
17
|
/**
|
|
13
18
|
* Specifies which fields in the response should be expanded.
|
|
14
19
|
*/
|
|
@@ -206,6 +211,11 @@ declare module 'stripe' {
|
|
|
206
211
|
}
|
|
207
212
|
|
|
208
213
|
interface FinancialAccountUpdateParams {
|
|
214
|
+
/**
|
|
215
|
+
* 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.
|
|
216
|
+
*/
|
|
217
|
+
display_name?: Stripe.Emptyable<string>;
|
|
218
|
+
|
|
209
219
|
/**
|
|
210
220
|
* Specifies which fields in the response should be expanded.
|
|
211
221
|
*/
|
|
@@ -78,6 +78,11 @@ 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
|
+
|
|
81
86
|
/**
|
|
82
87
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
83
88
|
*/
|
|
@@ -184,6 +189,27 @@ declare module 'stripe' {
|
|
|
184
189
|
}
|
|
185
190
|
}
|
|
186
191
|
|
|
192
|
+
interface NetworkDetails {
|
|
193
|
+
/**
|
|
194
|
+
* Details about an ACH transaction.
|
|
195
|
+
*/
|
|
196
|
+
ach?: NetworkDetails.Ach | null;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The type of flow that originated the OutboundTransfer.
|
|
200
|
+
*/
|
|
201
|
+
type: 'ach';
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
namespace NetworkDetails {
|
|
205
|
+
interface Ach {
|
|
206
|
+
/**
|
|
207
|
+
* ACH Addenda record
|
|
208
|
+
*/
|
|
209
|
+
addenda: string | null;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
187
213
|
interface ReturnedDetails {
|
|
188
214
|
/**
|
|
189
215
|
* Reason for the return.
|
|
@@ -44,6 +44,11 @@ declare module 'stripe' {
|
|
|
44
44
|
*/
|
|
45
45
|
metadata?: Stripe.MetadataParam;
|
|
46
46
|
|
|
47
|
+
/**
|
|
48
|
+
* Details about the network used for the OutboundTransfer.
|
|
49
|
+
*/
|
|
50
|
+
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
51
|
+
|
|
47
52
|
/**
|
|
48
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".
|
|
49
54
|
*/
|
|
@@ -72,6 +77,27 @@ declare module 'stripe' {
|
|
|
72
77
|
type Network = 'ach' | 'us_domestic_wire';
|
|
73
78
|
}
|
|
74
79
|
}
|
|
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 OutboundTransfer.
|
|
89
|
+
*/
|
|
90
|
+
type: 'ach';
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
namespace NetworkDetails {
|
|
94
|
+
interface Ach {
|
|
95
|
+
/**
|
|
96
|
+
* Addenda record data associated with this OutboundTransfer.
|
|
97
|
+
*/
|
|
98
|
+
addenda?: string;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
75
101
|
}
|
|
76
102
|
|
|
77
103
|
interface OutboundTransferRetrieveParams {
|
|
@@ -66,6 +66,11 @@ 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
|
+
|
|
69
74
|
/**
|
|
70
75
|
* Details describing when a ReceivedCredit may be reversed.
|
|
71
76
|
*/
|
|
@@ -241,6 +246,27 @@ declare module 'stripe' {
|
|
|
241
246
|
|
|
242
247
|
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
|
|
243
248
|
|
|
249
|
+
interface NetworkDetails {
|
|
250
|
+
/**
|
|
251
|
+
* Details about an ACH transaction.
|
|
252
|
+
*/
|
|
253
|
+
ach?: NetworkDetails.Ach | null;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The type of flow that originated the ReceivedCredit.
|
|
257
|
+
*/
|
|
258
|
+
type: 'ach';
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
namespace NetworkDetails {
|
|
262
|
+
interface Ach {
|
|
263
|
+
/**
|
|
264
|
+
* ACH Addenda record
|
|
265
|
+
*/
|
|
266
|
+
addenda: string | null;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
244
270
|
interface ReversalDetails {
|
|
245
271
|
/**
|
|
246
272
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -66,6 +66,11 @@ 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
|
+
|
|
69
74
|
/**
|
|
70
75
|
* Details describing when a ReceivedDebit might be reversed.
|
|
71
76
|
*/
|
|
@@ -190,10 +195,36 @@ declare module 'stripe' {
|
|
|
190
195
|
* Set if the ReceivedDebit was created due to a [Payout](https://stripe.com/docs/api#payouts) object.
|
|
191
196
|
*/
|
|
192
197
|
payout: string | null;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The ReceivedCredit that Capital withheld from
|
|
201
|
+
*/
|
|
202
|
+
received_credit_capital_withholding?: string | null;
|
|
193
203
|
}
|
|
194
204
|
|
|
195
205
|
type Network = 'ach' | 'card' | 'stripe';
|
|
196
206
|
|
|
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
|
+
|
|
197
228
|
interface ReversalDetails {
|
|
198
229
|
/**
|
|
199
230
|
* Time before which a ReceivedDebit can be reversed.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
declare module 'stripe' {
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* A usage record summary represents an aggregated view of how much usage was accrued for a subscription item within a subscription billing period.
|
|
7
7
|
*/
|
|
8
8
|
interface UsageRecordSummary {
|
|
9
9
|
/**
|