stripe 17.2.1 → 17.3.0-beta.1
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 +925 -114
- 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 +211 -3
- package/types/AccountsResource.d.ts +584 -2
- package/types/Billing/CreditBalanceSummary.d.ts +4 -4
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
- package/types/Billing/CreditGrants.d.ts +11 -8
- package/types/Billing/CreditGrantsResource.d.ts +6 -6
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/BillingPortal/Configurations.d.ts +22 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +56 -4
- 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 +168 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +360 -5
- package/types/ConfirmationTokens.d.ts +157 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +24 -0
- package/types/CreditNotesResource.d.ts +54 -3
- package/types/CustomersResource.d.ts +27 -3
- 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/Forwarding/RequestsResource.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 +139 -3
- package/types/InvoicesResource.d.ts +5488 -1799
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CardsResource.d.ts +1 -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 +697 -1
- package/types/PaymentIntentsResource.d.ts +7977 -3377
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +102 -2
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +157 -0
- package/types/PaymentMethodsResource.d.ts +195 -1
- 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 +1601 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +4 -0
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +768 -6
- 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 +87 -1
- package/types/SubscriptionsResource.d.ts +359 -4
- 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 +220 -0
- package/types/Tax/FormsResource.d.ts +107 -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/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -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 +145 -1
- 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 +2 -2
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -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
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -542,6 +542,7 @@ declare module 'stripe' {
|
|
|
542
542
|
| 'affirm'
|
|
543
543
|
| 'afterpay_clearpay'
|
|
544
544
|
| 'alipay'
|
|
545
|
+
| 'alma'
|
|
545
546
|
| 'au_becs_debit'
|
|
546
547
|
| 'bacs_debit'
|
|
547
548
|
| 'bancontact'
|
|
@@ -552,20 +553,26 @@ declare module 'stripe' {
|
|
|
552
553
|
| 'eps'
|
|
553
554
|
| 'fpx'
|
|
554
555
|
| 'giropay'
|
|
556
|
+
| 'gopay'
|
|
555
557
|
| 'grabpay'
|
|
556
558
|
| 'ideal'
|
|
557
559
|
| 'klarna'
|
|
558
560
|
| 'konbini'
|
|
559
561
|
| 'link'
|
|
562
|
+
| 'mb_way'
|
|
560
563
|
| 'mobilepay'
|
|
561
564
|
| 'multibanco'
|
|
562
565
|
| 'oxxo'
|
|
563
566
|
| 'p24'
|
|
564
567
|
| 'paynow'
|
|
565
568
|
| 'paypal'
|
|
569
|
+
| 'payto'
|
|
566
570
|
| 'pix'
|
|
567
571
|
| 'promptpay'
|
|
572
|
+
| 'qris'
|
|
573
|
+
| 'rechnung'
|
|
568
574
|
| 'sepa_debit'
|
|
575
|
+
| 'shopeepay'
|
|
569
576
|
| 'sofort'
|
|
570
577
|
| 'swish'
|
|
571
578
|
| 'twint'
|
|
@@ -601,6 +601,7 @@ declare module 'stripe' {
|
|
|
601
601
|
| 'affirm'
|
|
602
602
|
| 'afterpay_clearpay'
|
|
603
603
|
| 'alipay'
|
|
604
|
+
| 'alma'
|
|
604
605
|
| 'au_becs_debit'
|
|
605
606
|
| 'bacs_debit'
|
|
606
607
|
| 'bancontact'
|
|
@@ -611,20 +612,26 @@ declare module 'stripe' {
|
|
|
611
612
|
| 'eps'
|
|
612
613
|
| 'fpx'
|
|
613
614
|
| 'giropay'
|
|
615
|
+
| 'gopay'
|
|
614
616
|
| 'grabpay'
|
|
615
617
|
| 'ideal'
|
|
616
618
|
| 'klarna'
|
|
617
619
|
| 'konbini'
|
|
618
620
|
| 'link'
|
|
621
|
+
| 'mb_way'
|
|
619
622
|
| 'mobilepay'
|
|
620
623
|
| 'multibanco'
|
|
621
624
|
| 'oxxo'
|
|
622
625
|
| 'p24'
|
|
623
626
|
| 'paynow'
|
|
624
627
|
| 'paypal'
|
|
628
|
+
| 'payto'
|
|
625
629
|
| 'pix'
|
|
626
630
|
| 'promptpay'
|
|
631
|
+
| 'qris'
|
|
632
|
+
| 'rechnung'
|
|
627
633
|
| 'sepa_debit'
|
|
634
|
+
| 'shopeepay'
|
|
628
635
|
| 'sofort'
|
|
629
636
|
| 'swish'
|
|
630
637
|
| 'twint'
|
|
@@ -1525,6 +1532,7 @@ declare module 'stripe' {
|
|
|
1525
1532
|
| 'affirm'
|
|
1526
1533
|
| 'afterpay_clearpay'
|
|
1527
1534
|
| 'alipay'
|
|
1535
|
+
| 'alma'
|
|
1528
1536
|
| 'au_becs_debit'
|
|
1529
1537
|
| 'bacs_debit'
|
|
1530
1538
|
| 'bancontact'
|
|
@@ -1535,20 +1543,26 @@ declare module 'stripe' {
|
|
|
1535
1543
|
| 'eps'
|
|
1536
1544
|
| 'fpx'
|
|
1537
1545
|
| 'giropay'
|
|
1546
|
+
| 'gopay'
|
|
1538
1547
|
| 'grabpay'
|
|
1539
1548
|
| 'ideal'
|
|
1540
1549
|
| 'klarna'
|
|
1541
1550
|
| 'konbini'
|
|
1542
1551
|
| 'link'
|
|
1552
|
+
| 'mb_way'
|
|
1543
1553
|
| 'mobilepay'
|
|
1544
1554
|
| 'multibanco'
|
|
1545
1555
|
| 'oxxo'
|
|
1546
1556
|
| 'p24'
|
|
1547
1557
|
| 'paynow'
|
|
1548
1558
|
| 'paypal'
|
|
1559
|
+
| 'payto'
|
|
1549
1560
|
| 'pix'
|
|
1550
1561
|
| 'promptpay'
|
|
1562
|
+
| 'qris'
|
|
1563
|
+
| 'rechnung'
|
|
1551
1564
|
| 'sepa_debit'
|
|
1565
|
+
| 'shopeepay'
|
|
1552
1566
|
| 'sofort'
|
|
1553
1567
|
| 'swish'
|
|
1554
1568
|
| 'twint'
|
|
@@ -42,6 +42,8 @@ declare module 'stripe' {
|
|
|
42
42
|
|
|
43
43
|
alipay?: PaymentMethodConfiguration.Alipay;
|
|
44
44
|
|
|
45
|
+
alma?: PaymentMethodConfiguration.Alma;
|
|
46
|
+
|
|
45
47
|
amazon_pay?: PaymentMethodConfiguration.AmazonPay;
|
|
46
48
|
|
|
47
49
|
apple_pay?: PaymentMethodConfiguration.ApplePay;
|
|
@@ -121,6 +123,8 @@ declare module 'stripe' {
|
|
|
121
123
|
|
|
122
124
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
123
125
|
|
|
126
|
+
payto?: PaymentMethodConfiguration.Payto;
|
|
127
|
+
|
|
124
128
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
125
129
|
|
|
126
130
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
@@ -277,6 +281,40 @@ declare module 'stripe' {
|
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
283
|
|
|
284
|
+
interface Alma {
|
|
285
|
+
/**
|
|
286
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
287
|
+
*/
|
|
288
|
+
available: boolean;
|
|
289
|
+
|
|
290
|
+
display_preference: Alma.DisplayPreference;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
namespace Alma {
|
|
294
|
+
interface DisplayPreference {
|
|
295
|
+
/**
|
|
296
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
297
|
+
*/
|
|
298
|
+
overridable: boolean | null;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* The account's display preference.
|
|
302
|
+
*/
|
|
303
|
+
preference: DisplayPreference.Preference;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* The effective display preference value.
|
|
307
|
+
*/
|
|
308
|
+
value: DisplayPreference.Value;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
namespace DisplayPreference {
|
|
312
|
+
type Preference = 'none' | 'off' | 'on';
|
|
313
|
+
|
|
314
|
+
type Value = 'off' | 'on';
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
280
318
|
interface AmazonPay {
|
|
281
319
|
/**
|
|
282
320
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1195,6 +1233,40 @@ declare module 'stripe' {
|
|
|
1195
1233
|
}
|
|
1196
1234
|
}
|
|
1197
1235
|
|
|
1236
|
+
interface Payto {
|
|
1237
|
+
/**
|
|
1238
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1239
|
+
*/
|
|
1240
|
+
available: boolean;
|
|
1241
|
+
|
|
1242
|
+
display_preference: Payto.DisplayPreference;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
namespace Payto {
|
|
1246
|
+
interface DisplayPreference {
|
|
1247
|
+
/**
|
|
1248
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1249
|
+
*/
|
|
1250
|
+
overridable: boolean | null;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* The account's display preference.
|
|
1254
|
+
*/
|
|
1255
|
+
preference: DisplayPreference.Preference;
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* The effective display preference value.
|
|
1259
|
+
*/
|
|
1260
|
+
value: DisplayPreference.Value;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
namespace DisplayPreference {
|
|
1264
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1265
|
+
|
|
1266
|
+
type Value = 'off' | 'on';
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1198
1270
|
interface Promptpay {
|
|
1199
1271
|
/**
|
|
1200
1272
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -23,6 +23,11 @@ declare module 'stripe' {
|
|
|
23
23
|
*/
|
|
24
24
|
alipay?: PaymentMethodConfigurationCreateParams.Alipay;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
|
28
|
+
*/
|
|
29
|
+
alma?: PaymentMethodConfigurationCreateParams.Alma;
|
|
30
|
+
|
|
26
31
|
/**
|
|
27
32
|
* Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
|
28
33
|
*/
|
|
@@ -178,6 +183,11 @@ declare module 'stripe' {
|
|
|
178
183
|
*/
|
|
179
184
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
180
185
|
|
|
186
|
+
/**
|
|
187
|
+
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
188
|
+
*/
|
|
189
|
+
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
190
|
+
|
|
181
191
|
/**
|
|
182
192
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
183
193
|
*/
|
|
@@ -209,7 +219,7 @@ declare module 'stripe' {
|
|
|
209
219
|
twint?: PaymentMethodConfigurationCreateParams.Twint;
|
|
210
220
|
|
|
211
221
|
/**
|
|
212
|
-
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.
|
|
222
|
+
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
|
213
223
|
*/
|
|
214
224
|
us_bank_account?: PaymentMethodConfigurationCreateParams.UsBankAccount;
|
|
215
225
|
|
|
@@ -305,6 +315,26 @@ declare module 'stripe' {
|
|
|
305
315
|
}
|
|
306
316
|
}
|
|
307
317
|
|
|
318
|
+
interface Alma {
|
|
319
|
+
/**
|
|
320
|
+
* Whether or not the payment method should be displayed.
|
|
321
|
+
*/
|
|
322
|
+
display_preference?: Alma.DisplayPreference;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
namespace Alma {
|
|
326
|
+
interface DisplayPreference {
|
|
327
|
+
/**
|
|
328
|
+
* The account's preference for whether or not to display this payment method.
|
|
329
|
+
*/
|
|
330
|
+
preference?: DisplayPreference.Preference;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
namespace DisplayPreference {
|
|
334
|
+
type Preference = 'none' | 'off' | 'on';
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
308
338
|
interface AmazonPay {
|
|
309
339
|
/**
|
|
310
340
|
* Whether or not the payment method should be displayed.
|
|
@@ -865,6 +895,26 @@ declare module 'stripe' {
|
|
|
865
895
|
}
|
|
866
896
|
}
|
|
867
897
|
|
|
898
|
+
interface Payto {
|
|
899
|
+
/**
|
|
900
|
+
* Whether or not the payment method should be displayed.
|
|
901
|
+
*/
|
|
902
|
+
display_preference?: Payto.DisplayPreference;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
namespace Payto {
|
|
906
|
+
interface DisplayPreference {
|
|
907
|
+
/**
|
|
908
|
+
* The account's preference for whether or not to display this payment method.
|
|
909
|
+
*/
|
|
910
|
+
preference?: DisplayPreference.Preference;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
namespace DisplayPreference {
|
|
914
|
+
type Preference = 'none' | 'off' | 'on';
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
868
918
|
interface Promptpay {
|
|
869
919
|
/**
|
|
870
920
|
* Whether or not the payment method should be displayed.
|
|
@@ -1079,6 +1129,11 @@ declare module 'stripe' {
|
|
|
1079
1129
|
*/
|
|
1080
1130
|
alipay?: PaymentMethodConfigurationUpdateParams.Alipay;
|
|
1081
1131
|
|
|
1132
|
+
/**
|
|
1133
|
+
* Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
|
1134
|
+
*/
|
|
1135
|
+
alma?: PaymentMethodConfigurationUpdateParams.Alma;
|
|
1136
|
+
|
|
1082
1137
|
/**
|
|
1083
1138
|
* Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
|
1084
1139
|
*/
|
|
@@ -1229,6 +1284,11 @@ declare module 'stripe' {
|
|
|
1229
1284
|
*/
|
|
1230
1285
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1231
1286
|
|
|
1287
|
+
/**
|
|
1288
|
+
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1289
|
+
*/
|
|
1290
|
+
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1291
|
+
|
|
1232
1292
|
/**
|
|
1233
1293
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
1234
1294
|
*/
|
|
@@ -1260,7 +1320,7 @@ declare module 'stripe' {
|
|
|
1260
1320
|
twint?: PaymentMethodConfigurationUpdateParams.Twint;
|
|
1261
1321
|
|
|
1262
1322
|
/**
|
|
1263
|
-
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.
|
|
1323
|
+
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
|
1264
1324
|
*/
|
|
1265
1325
|
us_bank_account?: PaymentMethodConfigurationUpdateParams.UsBankAccount;
|
|
1266
1326
|
|
|
@@ -1356,6 +1416,26 @@ declare module 'stripe' {
|
|
|
1356
1416
|
}
|
|
1357
1417
|
}
|
|
1358
1418
|
|
|
1419
|
+
interface Alma {
|
|
1420
|
+
/**
|
|
1421
|
+
* Whether or not the payment method should be displayed.
|
|
1422
|
+
*/
|
|
1423
|
+
display_preference?: Alma.DisplayPreference;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
namespace Alma {
|
|
1427
|
+
interface DisplayPreference {
|
|
1428
|
+
/**
|
|
1429
|
+
* The account's preference for whether or not to display this payment method.
|
|
1430
|
+
*/
|
|
1431
|
+
preference?: DisplayPreference.Preference;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
namespace DisplayPreference {
|
|
1435
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1359
1439
|
interface AmazonPay {
|
|
1360
1440
|
/**
|
|
1361
1441
|
* Whether or not the payment method should be displayed.
|
|
@@ -1916,6 +1996,26 @@ declare module 'stripe' {
|
|
|
1916
1996
|
}
|
|
1917
1997
|
}
|
|
1918
1998
|
|
|
1999
|
+
interface Payto {
|
|
2000
|
+
/**
|
|
2001
|
+
* Whether or not the payment method should be displayed.
|
|
2002
|
+
*/
|
|
2003
|
+
display_preference?: Payto.DisplayPreference;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
namespace Payto {
|
|
2007
|
+
interface DisplayPreference {
|
|
2008
|
+
/**
|
|
2009
|
+
* The account's preference for whether or not to display this payment method.
|
|
2010
|
+
*/
|
|
2011
|
+
preference?: DisplayPreference.Preference;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
namespace DisplayPreference {
|
|
2015
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
|
|
1919
2019
|
interface Promptpay {
|
|
1920
2020
|
/**
|
|
1921
2021
|
* Whether or not the payment method should be displayed.
|
|
@@ -19,6 +19,11 @@ declare module 'stripe' {
|
|
|
19
19
|
*/
|
|
20
20
|
object: 'payment_method_domain';
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Indicates the status of a specific payment method on a payment method domain.
|
|
24
|
+
*/
|
|
25
|
+
amazon_pay: PaymentMethodDomain.AmazonPay;
|
|
26
|
+
|
|
22
27
|
/**
|
|
23
28
|
* Indicates the status of a specific payment method on a payment method domain.
|
|
24
29
|
*/
|
|
@@ -61,6 +66,29 @@ declare module 'stripe' {
|
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
namespace PaymentMethodDomain {
|
|
69
|
+
interface AmazonPay {
|
|
70
|
+
/**
|
|
71
|
+
* The status of the payment method on the domain.
|
|
72
|
+
*/
|
|
73
|
+
status: AmazonPay.Status;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Contains additional details about the status of a payment method for a specific payment method domain.
|
|
77
|
+
*/
|
|
78
|
+
status_details?: AmazonPay.StatusDetails;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
namespace AmazonPay {
|
|
82
|
+
type Status = 'active' | 'inactive';
|
|
83
|
+
|
|
84
|
+
interface StatusDetails {
|
|
85
|
+
/**
|
|
86
|
+
* The error message associated with the status of the payment method on the domain.
|
|
87
|
+
*/
|
|
88
|
+
error_message: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
64
92
|
interface ApplePay {
|
|
65
93
|
/**
|
|
66
94
|
* The status of the payment method on the domain.
|