stripe 17.8.0-beta.1 → 18.0.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 +246 -1075
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -26
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionItems.js +0 -9
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +12 -48
- package/cjs/stripe.core.js +3 -14
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -26
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionItems.js +0 -9
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -33
- package/esm/stripe.core.js +3 -14
- 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 -243
- package/types/Accounts.d.ts +48 -211
- package/types/AccountsResource.d.ts +86 -503
- package/types/ApplicationFees.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +3 -1
- package/types/BalanceTransactionsResource.d.ts +1 -1
- package/types/BankAccounts.d.ts +9 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +2 -2
- package/types/Billing/CreditGrantsResource.d.ts +2 -2
- package/types/Billing/Meters.d.ts +1 -1
- package/types/Billing/MetersResource.d.ts +2 -2
- package/types/Capabilities.d.ts +8 -0
- package/types/Cards.d.ts +1 -9
- package/types/Charges.d.ts +56 -153
- package/types/ChargesResource.d.ts +1 -1295
- package/types/Checkout/Sessions.d.ts +62 -336
- package/types/Checkout/SessionsResource.d.ts +69 -287
- package/types/ConfirmationTokens.d.ts +50 -99
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +24 -22
- package/types/CreditNotes.d.ts +26 -23
- package/types/CreditNotesResource.d.ts +0 -15
- package/types/CustomerBalanceTransactions.d.ts +8 -1
- package/types/Customers.d.ts +3 -3
- package/types/CustomersResource.d.ts +3 -21
- package/types/EventTypes.d.ts +85 -545
- package/types/Events.d.ts +8 -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 +60 -31
- package/types/InvoiceItemsResource.d.ts +26 -120
- package/types/InvoiceLineItems.d.ts +154 -91
- package/types/InvoicePayments.d.ts +2 -16
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +93 -214
- package/types/InvoicesResource.d.ts +307 -6599
- package/types/Issuing/Authorizations.d.ts +1 -1
- package/types/Issuing/AuthorizationsResource.d.ts +1 -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 +8 -77
- package/types/PaymentIntents.d.ts +56 -648
- package/types/PaymentIntentsResource.d.ts +4120 -8122
- package/types/PaymentLinks.d.ts +49 -6
- package/types/PaymentLinksResource.d.ts +77 -12
- package/types/PaymentMethodConfigurations.d.ts +63 -135
- package/types/PaymentMethodConfigurationsResource.d.ts +116 -216
- package/types/PaymentMethodDomainsResource.d.ts +6 -6
- package/types/PaymentMethods.d.ts +50 -99
- package/types/PaymentMethodsResource.d.ts +53 -148
- package/types/Persons.d.ts +17 -9
- package/types/Plans.d.ts +0 -7
- package/types/PlansResource.d.ts +0 -7
- package/types/Prices.d.ts +0 -33
- package/types/PricesResource.d.ts +2 -35
- 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 +200 -2532
- package/types/Refunds.d.ts +18 -14
- package/types/Reviews.d.ts +3 -2
- package/types/SetupAttempts.d.ts +15 -38
- package/types/SetupIntents.d.ts +3 -111
- package/types/SetupIntentsResource.d.ts +155 -642
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +9 -34
- package/types/SubscriptionItemsResource.d.ts +2 -203
- package/types/SubscriptionSchedules.d.ts +0 -251
- package/types/SubscriptionSchedulesResource.d.ts +9 -1333
- package/types/Subscriptions.d.ts +4 -124
- package/types/SubscriptionsResource.d.ts +10 -455
- package/types/Tax/RegistrationsResource.d.ts +1 -1
- package/types/Terminal/Configurations.d.ts +86 -3
- package/types/Terminal/ConfigurationsResource.d.ts +192 -2
- package/types/Terminal/Readers.d.ts +0 -290
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +50 -103
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +6 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +1 -38
- 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/V2/Core/EventDestinationsResource.d.ts +0 -5
- package/types/V2/Core/EventsResource.d.ts +0 -5
- package/types/V2/EventDestinations.d.ts +1 -1
- package/types/V2/Events.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +19 -71
- package/types/index.d.ts +2 -64
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -6
- 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/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/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/Deprecations.d.ts +0 -215
- 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/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 -1189
- package/types/OrdersResource.d.ts +0 -2981
- 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
- package/types/UsageRecordSummaries.d.ts +0 -56
- package/types/UsageRecords.d.ts +0 -45
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -110,6 +110,11 @@ declare module 'stripe' {
|
|
|
110
110
|
*/
|
|
111
111
|
on_behalf_of: string | Stripe.Account | null;
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* The optional items presented to the customer at checkout.
|
|
115
|
+
*/
|
|
116
|
+
optional_items?: Array<PaymentLink.OptionalItem> | null;
|
|
117
|
+
|
|
113
118
|
/**
|
|
114
119
|
* Indicates the parameters to be passed to PaymentIntent creation during checkout.
|
|
115
120
|
*/
|
|
@@ -292,6 +297,11 @@ declare module 'stripe' {
|
|
|
292
297
|
|
|
293
298
|
namespace CustomField {
|
|
294
299
|
interface Dropdown {
|
|
300
|
+
/**
|
|
301
|
+
* The value that will pre-fill on the payment page.
|
|
302
|
+
*/
|
|
303
|
+
default_value: string | null;
|
|
304
|
+
|
|
295
305
|
/**
|
|
296
306
|
* The options available for the customer to select. Up to 200 options allowed.
|
|
297
307
|
*/
|
|
@@ -325,6 +335,11 @@ declare module 'stripe' {
|
|
|
325
335
|
}
|
|
326
336
|
|
|
327
337
|
interface Numeric {
|
|
338
|
+
/**
|
|
339
|
+
* The value that will pre-fill the field on the payment page.
|
|
340
|
+
*/
|
|
341
|
+
default_value: string | null;
|
|
342
|
+
|
|
328
343
|
/**
|
|
329
344
|
* The maximum character length constraint for the customer's input.
|
|
330
345
|
*/
|
|
@@ -337,6 +352,11 @@ declare module 'stripe' {
|
|
|
337
352
|
}
|
|
338
353
|
|
|
339
354
|
interface Text {
|
|
355
|
+
/**
|
|
356
|
+
* The value that will pre-fill the field on the payment page.
|
|
357
|
+
*/
|
|
358
|
+
default_value: string | null;
|
|
359
|
+
|
|
340
360
|
/**
|
|
341
361
|
* The maximum character length constraint for the customer's input.
|
|
342
362
|
*/
|
|
@@ -493,6 +513,33 @@ declare module 'stripe' {
|
|
|
493
513
|
}
|
|
494
514
|
}
|
|
495
515
|
|
|
516
|
+
interface OptionalItem {
|
|
517
|
+
adjustable_quantity: OptionalItem.AdjustableQuantity | null;
|
|
518
|
+
|
|
519
|
+
price: string;
|
|
520
|
+
|
|
521
|
+
quantity: number;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
namespace OptionalItem {
|
|
525
|
+
interface AdjustableQuantity {
|
|
526
|
+
/**
|
|
527
|
+
* Set to true if the quantity can be adjusted to any non-negative integer.
|
|
528
|
+
*/
|
|
529
|
+
enabled: boolean;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* The maximum quantity of this item the customer can purchase. By default this value is 99.
|
|
533
|
+
*/
|
|
534
|
+
maximum: number | null;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
|
|
538
|
+
*/
|
|
539
|
+
minimum: number | null;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
496
543
|
interface PaymentIntentData {
|
|
497
544
|
/**
|
|
498
545
|
* Indicates when the funds will be captured from the customer's account.
|
|
@@ -546,6 +593,7 @@ declare module 'stripe' {
|
|
|
546
593
|
| 'au_becs_debit'
|
|
547
594
|
| 'bacs_debit'
|
|
548
595
|
| 'bancontact'
|
|
596
|
+
| 'billie'
|
|
549
597
|
| 'blik'
|
|
550
598
|
| 'boleto'
|
|
551
599
|
| 'card'
|
|
@@ -553,13 +601,11 @@ declare module 'stripe' {
|
|
|
553
601
|
| 'eps'
|
|
554
602
|
| 'fpx'
|
|
555
603
|
| 'giropay'
|
|
556
|
-
| 'gopay'
|
|
557
604
|
| 'grabpay'
|
|
558
605
|
| 'ideal'
|
|
559
606
|
| 'klarna'
|
|
560
607
|
| 'konbini'
|
|
561
608
|
| 'link'
|
|
562
|
-
| 'mb_way'
|
|
563
609
|
| 'mobilepay'
|
|
564
610
|
| 'multibanco'
|
|
565
611
|
| 'oxxo'
|
|
@@ -567,13 +613,10 @@ declare module 'stripe' {
|
|
|
567
613
|
| 'pay_by_bank'
|
|
568
614
|
| 'paynow'
|
|
569
615
|
| 'paypal'
|
|
570
|
-
| 'payto'
|
|
571
616
|
| 'pix'
|
|
572
617
|
| 'promptpay'
|
|
573
|
-
| '
|
|
574
|
-
| 'rechnung'
|
|
618
|
+
| 'satispay'
|
|
575
619
|
| 'sepa_debit'
|
|
576
|
-
| 'shopeepay'
|
|
577
620
|
| 'sofort'
|
|
578
621
|
| 'swish'
|
|
579
622
|
| 'twint'
|
|
@@ -88,6 +88,13 @@ declare module 'stripe' {
|
|
|
88
88
|
*/
|
|
89
89
|
on_behalf_of?: string;
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).
|
|
93
|
+
* There is a maximum of 10 optional items allowed on a payment link, and the existing limits on the number of line items allowed on a payment link apply to the combined number of line items and optional items.
|
|
94
|
+
* There is a maximum of 20 combined line items and optional items.
|
|
95
|
+
*/
|
|
96
|
+
optional_items?: Array<PaymentLinkCreateParams.OptionalItem>;
|
|
97
|
+
|
|
91
98
|
/**
|
|
92
99
|
* A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.
|
|
93
100
|
*/
|
|
@@ -299,6 +306,11 @@ declare module 'stripe' {
|
|
|
299
306
|
|
|
300
307
|
namespace CustomField {
|
|
301
308
|
interface Dropdown {
|
|
309
|
+
/**
|
|
310
|
+
* The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
|
|
311
|
+
*/
|
|
312
|
+
default_value?: string;
|
|
313
|
+
|
|
302
314
|
/**
|
|
303
315
|
* The options available for the customer to select. Up to 200 options allowed.
|
|
304
316
|
*/
|
|
@@ -332,6 +344,11 @@ declare module 'stripe' {
|
|
|
332
344
|
}
|
|
333
345
|
|
|
334
346
|
interface Numeric {
|
|
347
|
+
/**
|
|
348
|
+
* The value that will pre-fill the field on the payment page.
|
|
349
|
+
*/
|
|
350
|
+
default_value?: string;
|
|
351
|
+
|
|
335
352
|
/**
|
|
336
353
|
* The maximum character length constraint for the customer's input.
|
|
337
354
|
*/
|
|
@@ -344,6 +361,11 @@ declare module 'stripe' {
|
|
|
344
361
|
}
|
|
345
362
|
|
|
346
363
|
interface Text {
|
|
364
|
+
/**
|
|
365
|
+
* The value that will pre-fill the field on the payment page.
|
|
366
|
+
*/
|
|
367
|
+
default_value?: string;
|
|
368
|
+
|
|
347
369
|
/**
|
|
348
370
|
* The maximum character length constraint for the customer's input.
|
|
349
371
|
*/
|
|
@@ -542,6 +564,42 @@ declare module 'stripe' {
|
|
|
542
564
|
}
|
|
543
565
|
}
|
|
544
566
|
|
|
567
|
+
interface OptionalItem {
|
|
568
|
+
/**
|
|
569
|
+
* When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.
|
|
570
|
+
*/
|
|
571
|
+
adjustable_quantity?: OptionalItem.AdjustableQuantity;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object.
|
|
575
|
+
*/
|
|
576
|
+
price: string;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* The initial quantity of the line item created when a customer chooses to add this optional item to their order.
|
|
580
|
+
*/
|
|
581
|
+
quantity: number;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
namespace OptionalItem {
|
|
585
|
+
interface AdjustableQuantity {
|
|
586
|
+
/**
|
|
587
|
+
* Set to true if the quantity can be adjusted to any non-negative integer.
|
|
588
|
+
*/
|
|
589
|
+
enabled: boolean;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* The maximum quantity of this item the customer can purchase. By default this value is 99.
|
|
593
|
+
*/
|
|
594
|
+
maximum?: number;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.
|
|
598
|
+
*/
|
|
599
|
+
minimum?: number;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
545
603
|
interface PaymentIntentData {
|
|
546
604
|
/**
|
|
547
605
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -607,6 +665,7 @@ declare module 'stripe' {
|
|
|
607
665
|
| 'au_becs_debit'
|
|
608
666
|
| 'bacs_debit'
|
|
609
667
|
| 'bancontact'
|
|
668
|
+
| 'billie'
|
|
610
669
|
| 'blik'
|
|
611
670
|
| 'boleto'
|
|
612
671
|
| 'card'
|
|
@@ -614,13 +673,11 @@ declare module 'stripe' {
|
|
|
614
673
|
| 'eps'
|
|
615
674
|
| 'fpx'
|
|
616
675
|
| 'giropay'
|
|
617
|
-
| 'gopay'
|
|
618
676
|
| 'grabpay'
|
|
619
677
|
| 'ideal'
|
|
620
678
|
| 'klarna'
|
|
621
679
|
| 'konbini'
|
|
622
680
|
| 'link'
|
|
623
|
-
| 'mb_way'
|
|
624
681
|
| 'mobilepay'
|
|
625
682
|
| 'multibanco'
|
|
626
683
|
| 'oxxo'
|
|
@@ -628,13 +685,10 @@ declare module 'stripe' {
|
|
|
628
685
|
| 'pay_by_bank'
|
|
629
686
|
| 'paynow'
|
|
630
687
|
| 'paypal'
|
|
631
|
-
| 'payto'
|
|
632
688
|
| 'pix'
|
|
633
689
|
| 'promptpay'
|
|
634
|
-
| '
|
|
635
|
-
| 'rechnung'
|
|
690
|
+
| 'satispay'
|
|
636
691
|
| 'sepa_debit'
|
|
637
|
-
| 'shopeepay'
|
|
638
692
|
| 'sofort'
|
|
639
693
|
| 'swish'
|
|
640
694
|
| 'twint'
|
|
@@ -1272,6 +1326,11 @@ declare module 'stripe' {
|
|
|
1272
1326
|
|
|
1273
1327
|
namespace CustomField {
|
|
1274
1328
|
interface Dropdown {
|
|
1329
|
+
/**
|
|
1330
|
+
* The value that will pre-fill the field on the payment page.Must match a `value` in the `options` array.
|
|
1331
|
+
*/
|
|
1332
|
+
default_value?: string;
|
|
1333
|
+
|
|
1275
1334
|
/**
|
|
1276
1335
|
* The options available for the customer to select. Up to 200 options allowed.
|
|
1277
1336
|
*/
|
|
@@ -1305,6 +1364,11 @@ declare module 'stripe' {
|
|
|
1305
1364
|
}
|
|
1306
1365
|
|
|
1307
1366
|
interface Numeric {
|
|
1367
|
+
/**
|
|
1368
|
+
* The value that will pre-fill the field on the payment page.
|
|
1369
|
+
*/
|
|
1370
|
+
default_value?: string;
|
|
1371
|
+
|
|
1308
1372
|
/**
|
|
1309
1373
|
* The maximum character length constraint for the customer's input.
|
|
1310
1374
|
*/
|
|
@@ -1317,6 +1381,11 @@ declare module 'stripe' {
|
|
|
1317
1381
|
}
|
|
1318
1382
|
|
|
1319
1383
|
interface Text {
|
|
1384
|
+
/**
|
|
1385
|
+
* The value that will pre-fill the field on the payment page.
|
|
1386
|
+
*/
|
|
1387
|
+
default_value?: string;
|
|
1388
|
+
|
|
1320
1389
|
/**
|
|
1321
1390
|
* The maximum character length constraint for the customer's input.
|
|
1322
1391
|
*/
|
|
@@ -1554,6 +1623,7 @@ declare module 'stripe' {
|
|
|
1554
1623
|
| 'au_becs_debit'
|
|
1555
1624
|
| 'bacs_debit'
|
|
1556
1625
|
| 'bancontact'
|
|
1626
|
+
| 'billie'
|
|
1557
1627
|
| 'blik'
|
|
1558
1628
|
| 'boleto'
|
|
1559
1629
|
| 'card'
|
|
@@ -1561,13 +1631,11 @@ declare module 'stripe' {
|
|
|
1561
1631
|
| 'eps'
|
|
1562
1632
|
| 'fpx'
|
|
1563
1633
|
| 'giropay'
|
|
1564
|
-
| 'gopay'
|
|
1565
1634
|
| 'grabpay'
|
|
1566
1635
|
| 'ideal'
|
|
1567
1636
|
| 'klarna'
|
|
1568
1637
|
| 'konbini'
|
|
1569
1638
|
| 'link'
|
|
1570
|
-
| 'mb_way'
|
|
1571
1639
|
| 'mobilepay'
|
|
1572
1640
|
| 'multibanco'
|
|
1573
1641
|
| 'oxxo'
|
|
@@ -1575,13 +1643,10 @@ declare module 'stripe' {
|
|
|
1575
1643
|
| 'pay_by_bank'
|
|
1576
1644
|
| 'paynow'
|
|
1577
1645
|
| 'paypal'
|
|
1578
|
-
| 'payto'
|
|
1579
1646
|
| 'pix'
|
|
1580
1647
|
| 'promptpay'
|
|
1581
|
-
| '
|
|
1582
|
-
| 'rechnung'
|
|
1648
|
+
| 'satispay'
|
|
1583
1649
|
| 'sepa_debit'
|
|
1584
|
-
| 'shopeepay'
|
|
1585
1650
|
| 'sofort'
|
|
1586
1651
|
| 'swish'
|
|
1587
1652
|
| 'twint'
|