stripe 15.10.0 → 15.11.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 +13 -0
- package/VERSION +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Accounts.d.ts +14 -0
- package/types/AccountsResource.d.ts +48 -0
- package/types/BankAccounts.d.ts +1 -2
- package/types/Charges.d.ts +4 -0
- package/types/Checkout/Sessions.d.ts +15 -1
- package/types/Checkout/SessionsResource.d.ts +19 -1
- package/types/ConfirmationTokens.d.ts +10 -0
- package/types/CustomersResource.d.ts +6 -2
- package/types/Invoices.d.ts +2 -1
- package/types/InvoicesResource.d.ts +8 -5
- package/types/PaymentIntents.d.ts +50 -0
- package/types/PaymentIntentsResource.d.ts +156 -0
- package/types/PaymentMethodConfigurations.d.ts +36 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
- package/types/PaymentMethods.d.ts +10 -0
- package/types/PaymentMethodsResource.d.ts +18 -0
- package/types/Refunds.d.ts +14 -0
- package/types/SetupIntentsResource.d.ts +48 -0
- package/types/ShippingRates.d.ts +1 -1
- package/types/ShippingRatesResource.d.ts +1 -1
- package/types/Subscriptions.d.ts +31 -0
- package/types/SubscriptionsResource.d.ts +2 -2
- package/types/Tax/Calculations.d.ts +2 -1
- package/types/Tax/CalculationsResource.d.ts +2 -1
- package/types/Tax/Transactions.d.ts +2 -1
- package/types/TaxIds.d.ts +2 -1
- package/types/TaxIdsResource.d.ts +2 -1
- package/types/Terminal/LocationsResource.d.ts +1 -1
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +16 -0
- package/types/Tokens.d.ts +1 -2
- package/types/TransfersResource.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 15.11.0 - 2024-06-13
|
|
4
|
+
* [#2102](https://github.com/stripe/stripe-node/pull/2102) Update generated code
|
|
5
|
+
* Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
6
|
+
* Add support for `twint` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
7
|
+
* Add support for `multibanco` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethod`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
|
|
8
|
+
* Add support for new values `multibanco` and `twint` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
9
|
+
* Add support for new value `de_stn` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
|
|
10
|
+
* Add support for new values `multibanco` and `twint` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
|
|
11
|
+
* Add support for new values `multibanco` and `twint` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
12
|
+
* Add support for new value `de_stn` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
|
|
13
|
+
* Add support for `multibanco_display_details` on `PaymentIntent.next_action`
|
|
14
|
+
* Add support for `invoice_settings` on `Subscription`
|
|
15
|
+
|
|
3
16
|
## 15.10.0 - 2024-06-06
|
|
4
17
|
* [#2101](https://github.com/stripe/stripe-node/pull/2101) Update generated code
|
|
5
18
|
* Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
15.
|
|
1
|
+
15.11.0
|
package/cjs/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '15.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '15.11.0';
|
|
38
38
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
39
39
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
|
40
40
|
Stripe.resources = resources;
|
package/esm/stripe.core.js
CHANGED
|
@@ -31,7 +31,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
31
31
|
];
|
|
32
32
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
33
33
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
34
|
-
Stripe.PACKAGE_VERSION = '15.
|
|
34
|
+
Stripe.PACKAGE_VERSION = '15.11.0';
|
|
35
35
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
36
36
|
Stripe.StripeResource = StripeResource;
|
|
37
37
|
Stripe.resources = resources;
|
package/package.json
CHANGED
package/types/Accounts.d.ts
CHANGED
|
@@ -352,6 +352,11 @@ declare module 'stripe' {
|
|
|
352
352
|
*/
|
|
353
353
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
354
354
|
|
|
355
|
+
/**
|
|
356
|
+
* The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
|
|
357
|
+
*/
|
|
358
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
359
|
+
|
|
355
360
|
/**
|
|
356
361
|
* The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.
|
|
357
362
|
*/
|
|
@@ -422,6 +427,11 @@ declare module 'stripe' {
|
|
|
422
427
|
*/
|
|
423
428
|
treasury?: Capabilities.Treasury;
|
|
424
429
|
|
|
430
|
+
/**
|
|
431
|
+
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
432
|
+
*/
|
|
433
|
+
twint_payments?: Capabilities.TwintPayments;
|
|
434
|
+
|
|
425
435
|
/**
|
|
426
436
|
* The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
|
|
427
437
|
*/
|
|
@@ -495,6 +505,8 @@ declare module 'stripe' {
|
|
|
495
505
|
|
|
496
506
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
497
507
|
|
|
508
|
+
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
509
|
+
|
|
498
510
|
type MxBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
499
511
|
|
|
500
512
|
type OxxoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -523,6 +535,8 @@ declare module 'stripe' {
|
|
|
523
535
|
|
|
524
536
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
525
537
|
|
|
538
|
+
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
539
|
+
|
|
526
540
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
527
541
|
|
|
528
542
|
type UsBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -334,6 +334,11 @@ declare module 'stripe' {
|
|
|
334
334
|
*/
|
|
335
335
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
336
336
|
|
|
337
|
+
/**
|
|
338
|
+
* The multibanco_payments capability.
|
|
339
|
+
*/
|
|
340
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
341
|
+
|
|
337
342
|
/**
|
|
338
343
|
* The mx_bank_transfer_payments capability.
|
|
339
344
|
*/
|
|
@@ -404,6 +409,11 @@ declare module 'stripe' {
|
|
|
404
409
|
*/
|
|
405
410
|
treasury?: Capabilities.Treasury;
|
|
406
411
|
|
|
412
|
+
/**
|
|
413
|
+
* The twint_payments capability.
|
|
414
|
+
*/
|
|
415
|
+
twint_payments?: Capabilities.TwintPayments;
|
|
416
|
+
|
|
407
417
|
/**
|
|
408
418
|
* The us_bank_account_ach_payments capability.
|
|
409
419
|
*/
|
|
@@ -617,6 +627,13 @@ declare module 'stripe' {
|
|
|
617
627
|
requested?: boolean;
|
|
618
628
|
}
|
|
619
629
|
|
|
630
|
+
interface MultibancoPayments {
|
|
631
|
+
/**
|
|
632
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
633
|
+
*/
|
|
634
|
+
requested?: boolean;
|
|
635
|
+
}
|
|
636
|
+
|
|
620
637
|
interface MxBankTransferPayments {
|
|
621
638
|
/**
|
|
622
639
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -715,6 +732,13 @@ declare module 'stripe' {
|
|
|
715
732
|
requested?: boolean;
|
|
716
733
|
}
|
|
717
734
|
|
|
735
|
+
interface TwintPayments {
|
|
736
|
+
/**
|
|
737
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
738
|
+
*/
|
|
739
|
+
requested?: boolean;
|
|
740
|
+
}
|
|
741
|
+
|
|
718
742
|
interface UsBankAccountAchPayments {
|
|
719
743
|
/**
|
|
720
744
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -1905,6 +1929,11 @@ declare module 'stripe' {
|
|
|
1905
1929
|
*/
|
|
1906
1930
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
1907
1931
|
|
|
1932
|
+
/**
|
|
1933
|
+
* The multibanco_payments capability.
|
|
1934
|
+
*/
|
|
1935
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
1936
|
+
|
|
1908
1937
|
/**
|
|
1909
1938
|
* The mx_bank_transfer_payments capability.
|
|
1910
1939
|
*/
|
|
@@ -1975,6 +2004,11 @@ declare module 'stripe' {
|
|
|
1975
2004
|
*/
|
|
1976
2005
|
treasury?: Capabilities.Treasury;
|
|
1977
2006
|
|
|
2007
|
+
/**
|
|
2008
|
+
* The twint_payments capability.
|
|
2009
|
+
*/
|
|
2010
|
+
twint_payments?: Capabilities.TwintPayments;
|
|
2011
|
+
|
|
1978
2012
|
/**
|
|
1979
2013
|
* The us_bank_account_ach_payments capability.
|
|
1980
2014
|
*/
|
|
@@ -2188,6 +2222,13 @@ declare module 'stripe' {
|
|
|
2188
2222
|
requested?: boolean;
|
|
2189
2223
|
}
|
|
2190
2224
|
|
|
2225
|
+
interface MultibancoPayments {
|
|
2226
|
+
/**
|
|
2227
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2228
|
+
*/
|
|
2229
|
+
requested?: boolean;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2191
2232
|
interface MxBankTransferPayments {
|
|
2192
2233
|
/**
|
|
2193
2234
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2286,6 +2327,13 @@ declare module 'stripe' {
|
|
|
2286
2327
|
requested?: boolean;
|
|
2287
2328
|
}
|
|
2288
2329
|
|
|
2330
|
+
interface TwintPayments {
|
|
2331
|
+
/**
|
|
2332
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2333
|
+
*/
|
|
2334
|
+
requested?: boolean;
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2289
2337
|
interface UsBankAccountAchPayments {
|
|
2290
2338
|
/**
|
|
2291
2339
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
package/types/BankAccounts.d.ts
CHANGED
|
@@ -6,8 +6,7 @@ declare module 'stripe' {
|
|
|
6
6
|
* These bank accounts are payment methods on `Customer` objects.
|
|
7
7
|
*
|
|
8
8
|
* On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
|
|
9
|
-
* destinations on `Account` objects for accounts
|
|
10
|
-
* is `application`, which includes [Custom accounts](https://stripe.com/connect/custom-accounts).
|
|
9
|
+
* destinations on `Account` objects for connected accounts.
|
|
11
10
|
* They can be bank accounts or debit cards as well, and are documented in the links above.
|
|
12
11
|
*
|
|
13
12
|
* Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
|
package/types/Charges.d.ts
CHANGED
|
@@ -444,6 +444,8 @@ declare module 'stripe' {
|
|
|
444
444
|
|
|
445
445
|
swish?: PaymentMethodDetails.Swish;
|
|
446
446
|
|
|
447
|
+
twint?: PaymentMethodDetails.Twint;
|
|
448
|
+
|
|
447
449
|
/**
|
|
448
450
|
* The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
|
|
449
451
|
* An additional hash is included on `payment_method_details` with a name matching this value.
|
|
@@ -1950,6 +1952,8 @@ declare module 'stripe' {
|
|
|
1950
1952
|
verified_phone_last4: string | null;
|
|
1951
1953
|
}
|
|
1952
1954
|
|
|
1955
|
+
interface Twint {}
|
|
1956
|
+
|
|
1953
1957
|
interface UsBankAccount {
|
|
1954
1958
|
/**
|
|
1955
1959
|
* Account holder type: individual or company.
|
|
@@ -490,7 +490,7 @@ declare module 'stripe' {
|
|
|
490
490
|
|
|
491
491
|
interface TaxId {
|
|
492
492
|
/**
|
|
493
|
-
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, or `unknown`
|
|
493
|
+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, or `unknown`
|
|
494
494
|
*/
|
|
495
495
|
type: TaxId.Type;
|
|
496
496
|
|
|
@@ -523,6 +523,7 @@ declare module 'stripe' {
|
|
|
523
523
|
| 'cn_tin'
|
|
524
524
|
| 'co_nit'
|
|
525
525
|
| 'cr_tin'
|
|
526
|
+
| 'de_stn'
|
|
526
527
|
| 'do_rcn'
|
|
527
528
|
| 'ec_ruc'
|
|
528
529
|
| 'eg_tin'
|
|
@@ -934,6 +935,8 @@ declare module 'stripe' {
|
|
|
934
935
|
|
|
935
936
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
936
937
|
|
|
938
|
+
multibanco?: PaymentMethodOptions.Multibanco;
|
|
939
|
+
|
|
937
940
|
oxxo?: PaymentMethodOptions.Oxxo;
|
|
938
941
|
|
|
939
942
|
p24?: PaymentMethodOptions.P24;
|
|
@@ -1358,6 +1361,17 @@ declare module 'stripe' {
|
|
|
1358
1361
|
setup_future_usage?: 'none';
|
|
1359
1362
|
}
|
|
1360
1363
|
|
|
1364
|
+
interface Multibanco {
|
|
1365
|
+
/**
|
|
1366
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1367
|
+
*
|
|
1368
|
+
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
|
1369
|
+
*
|
|
1370
|
+
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
|
|
1371
|
+
*/
|
|
1372
|
+
setup_future_usage?: 'none';
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1361
1375
|
interface Oxxo {
|
|
1362
1376
|
/**
|
|
1363
1377
|
* The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
@@ -1089,6 +1089,11 @@ declare module 'stripe' {
|
|
|
1089
1089
|
*/
|
|
1090
1090
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1091
1091
|
|
|
1092
|
+
/**
|
|
1093
|
+
* contains details about the Multibanco payment method options.
|
|
1094
|
+
*/
|
|
1095
|
+
multibanco?: PaymentMethodOptions.Multibanco;
|
|
1096
|
+
|
|
1092
1097
|
/**
|
|
1093
1098
|
* contains details about the OXXO payment method options.
|
|
1094
1099
|
*/
|
|
@@ -1559,6 +1564,17 @@ declare module 'stripe' {
|
|
|
1559
1564
|
setup_future_usage?: 'none';
|
|
1560
1565
|
}
|
|
1561
1566
|
|
|
1567
|
+
interface Multibanco {
|
|
1568
|
+
/**
|
|
1569
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1570
|
+
*
|
|
1571
|
+
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
|
1572
|
+
*
|
|
1573
|
+
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
|
|
1574
|
+
*/
|
|
1575
|
+
setup_future_usage?: 'none';
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1562
1578
|
interface Oxxo {
|
|
1563
1579
|
/**
|
|
1564
1580
|
* The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
@@ -1815,6 +1831,7 @@ declare module 'stripe' {
|
|
|
1815
1831
|
| 'konbini'
|
|
1816
1832
|
| 'link'
|
|
1817
1833
|
| 'mobilepay'
|
|
1834
|
+
| 'multibanco'
|
|
1818
1835
|
| 'oxxo'
|
|
1819
1836
|
| 'p24'
|
|
1820
1837
|
| 'paynow'
|
|
@@ -1825,6 +1842,7 @@ declare module 'stripe' {
|
|
|
1825
1842
|
| 'sepa_debit'
|
|
1826
1843
|
| 'sofort'
|
|
1827
1844
|
| 'swish'
|
|
1845
|
+
| 'twint'
|
|
1828
1846
|
| 'us_bank_account'
|
|
1829
1847
|
| 'wechat_pay'
|
|
1830
1848
|
| 'zip';
|
|
@@ -2169,7 +2187,7 @@ declare module 'stripe' {
|
|
|
2169
2187
|
tax_code?: string;
|
|
2170
2188
|
|
|
2171
2189
|
/**
|
|
2172
|
-
* The type of calculation to use on the shipping rate.
|
|
2190
|
+
* The type of calculation to use on the shipping rate.
|
|
2173
2191
|
*/
|
|
2174
2192
|
type?: 'fixed_amount';
|
|
2175
2193
|
}
|
|
@@ -172,6 +172,8 @@ declare module 'stripe' {
|
|
|
172
172
|
|
|
173
173
|
mobilepay?: PaymentMethodPreview.Mobilepay;
|
|
174
174
|
|
|
175
|
+
multibanco?: PaymentMethodPreview.Multibanco;
|
|
176
|
+
|
|
175
177
|
oxxo?: PaymentMethodPreview.Oxxo;
|
|
176
178
|
|
|
177
179
|
p24?: PaymentMethodPreview.P24;
|
|
@@ -192,6 +194,8 @@ declare module 'stripe' {
|
|
|
192
194
|
|
|
193
195
|
swish?: PaymentMethodPreview.Swish;
|
|
194
196
|
|
|
197
|
+
twint?: PaymentMethodPreview.Twint;
|
|
198
|
+
|
|
195
199
|
/**
|
|
196
200
|
* The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
|
197
201
|
*/
|
|
@@ -1118,6 +1122,8 @@ declare module 'stripe' {
|
|
|
1118
1122
|
|
|
1119
1123
|
interface Mobilepay {}
|
|
1120
1124
|
|
|
1125
|
+
interface Multibanco {}
|
|
1126
|
+
|
|
1121
1127
|
interface Oxxo {}
|
|
1122
1128
|
|
|
1123
1129
|
interface P24 {
|
|
@@ -1233,6 +1239,8 @@ declare module 'stripe' {
|
|
|
1233
1239
|
|
|
1234
1240
|
interface Swish {}
|
|
1235
1241
|
|
|
1242
|
+
interface Twint {}
|
|
1243
|
+
|
|
1236
1244
|
type Type =
|
|
1237
1245
|
| 'acss_debit'
|
|
1238
1246
|
| 'affirm'
|
|
@@ -1258,6 +1266,7 @@ declare module 'stripe' {
|
|
|
1258
1266
|
| 'konbini'
|
|
1259
1267
|
| 'link'
|
|
1260
1268
|
| 'mobilepay'
|
|
1269
|
+
| 'multibanco'
|
|
1261
1270
|
| 'oxxo'
|
|
1262
1271
|
| 'p24'
|
|
1263
1272
|
| 'paynow'
|
|
@@ -1268,6 +1277,7 @@ declare module 'stripe' {
|
|
|
1268
1277
|
| 'sepa_debit'
|
|
1269
1278
|
| 'sofort'
|
|
1270
1279
|
| 'swish'
|
|
1280
|
+
| 'twint'
|
|
1271
1281
|
| 'us_bank_account'
|
|
1272
1282
|
| 'wechat_pay'
|
|
1273
1283
|
| 'zip';
|
|
@@ -215,7 +215,7 @@ declare module 'stripe' {
|
|
|
215
215
|
|
|
216
216
|
interface TaxIdDatum {
|
|
217
217
|
/**
|
|
218
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
218
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
219
219
|
*/
|
|
220
220
|
type: TaxIdDatum.Type;
|
|
221
221
|
|
|
@@ -248,6 +248,7 @@ declare module 'stripe' {
|
|
|
248
248
|
| 'cn_tin'
|
|
249
249
|
| 'co_nit'
|
|
250
250
|
| 'cr_tin'
|
|
251
|
+
| 'de_stn'
|
|
251
252
|
| 'do_rcn'
|
|
252
253
|
| 'ec_ruc'
|
|
253
254
|
| 'eg_tin'
|
|
@@ -650,7 +651,7 @@ declare module 'stripe' {
|
|
|
650
651
|
|
|
651
652
|
interface CustomerCreateTaxIdParams {
|
|
652
653
|
/**
|
|
653
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
654
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
654
655
|
*/
|
|
655
656
|
type: CustomerCreateTaxIdParams.Type;
|
|
656
657
|
|
|
@@ -688,6 +689,7 @@ declare module 'stripe' {
|
|
|
688
689
|
| 'cn_tin'
|
|
689
690
|
| 'co_nit'
|
|
690
691
|
| 'cr_tin'
|
|
692
|
+
| 'de_stn'
|
|
691
693
|
| 'do_rcn'
|
|
692
694
|
| 'ec_ruc'
|
|
693
695
|
| 'eg_tin'
|
|
@@ -809,6 +811,7 @@ declare module 'stripe' {
|
|
|
809
811
|
| 'konbini'
|
|
810
812
|
| 'link'
|
|
811
813
|
| 'mobilepay'
|
|
814
|
+
| 'multibanco'
|
|
812
815
|
| 'oxxo'
|
|
813
816
|
| 'p24'
|
|
814
817
|
| 'paynow'
|
|
@@ -819,6 +822,7 @@ declare module 'stripe' {
|
|
|
819
822
|
| 'sepa_debit'
|
|
820
823
|
| 'sofort'
|
|
821
824
|
| 'swish'
|
|
825
|
+
| 'twint'
|
|
822
826
|
| 'us_bank_account'
|
|
823
827
|
| 'wechat_pay'
|
|
824
828
|
| 'zip';
|
package/types/Invoices.d.ts
CHANGED
|
@@ -551,7 +551,7 @@ declare module 'stripe' {
|
|
|
551
551
|
|
|
552
552
|
interface CustomerTaxId {
|
|
553
553
|
/**
|
|
554
|
-
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, or `unknown`
|
|
554
|
+
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, or `unknown`
|
|
555
555
|
*/
|
|
556
556
|
type: CustomerTaxId.Type;
|
|
557
557
|
|
|
@@ -584,6 +584,7 @@ declare module 'stripe' {
|
|
|
584
584
|
| 'cn_tin'
|
|
585
585
|
| 'co_nit'
|
|
586
586
|
| 'cr_tin'
|
|
587
|
+
| 'de_stn'
|
|
587
588
|
| 'do_rcn'
|
|
588
589
|
| 'ec_ruc'
|
|
589
590
|
| 'eg_tin'
|
|
@@ -586,7 +586,7 @@ declare module 'stripe' {
|
|
|
586
586
|
tax_code?: string;
|
|
587
587
|
|
|
588
588
|
/**
|
|
589
|
-
* The type of calculation to use on the shipping rate.
|
|
589
|
+
* The type of calculation to use on the shipping rate.
|
|
590
590
|
*/
|
|
591
591
|
type?: 'fixed_amount';
|
|
592
592
|
}
|
|
@@ -1261,7 +1261,7 @@ declare module 'stripe' {
|
|
|
1261
1261
|
tax_code?: string;
|
|
1262
1262
|
|
|
1263
1263
|
/**
|
|
1264
|
-
* The type of calculation to use on the shipping rate.
|
|
1264
|
+
* The type of calculation to use on the shipping rate.
|
|
1265
1265
|
*/
|
|
1266
1266
|
type?: 'fixed_amount';
|
|
1267
1267
|
}
|
|
@@ -1590,7 +1590,7 @@ declare module 'stripe' {
|
|
|
1590
1590
|
|
|
1591
1591
|
interface TaxId {
|
|
1592
1592
|
/**
|
|
1593
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
1593
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
1594
1594
|
*/
|
|
1595
1595
|
type: TaxId.Type;
|
|
1596
1596
|
|
|
@@ -1623,6 +1623,7 @@ declare module 'stripe' {
|
|
|
1623
1623
|
| 'cn_tin'
|
|
1624
1624
|
| 'co_nit'
|
|
1625
1625
|
| 'cr_tin'
|
|
1626
|
+
| 'de_stn'
|
|
1626
1627
|
| 'do_rcn'
|
|
1627
1628
|
| 'ec_ruc'
|
|
1628
1629
|
| 'eg_tin'
|
|
@@ -2765,7 +2766,7 @@ declare module 'stripe' {
|
|
|
2765
2766
|
|
|
2766
2767
|
interface TaxId {
|
|
2767
2768
|
/**
|
|
2768
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
2769
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
2769
2770
|
*/
|
|
2770
2771
|
type: TaxId.Type;
|
|
2771
2772
|
|
|
@@ -2798,6 +2799,7 @@ declare module 'stripe' {
|
|
|
2798
2799
|
| 'cn_tin'
|
|
2799
2800
|
| 'co_nit'
|
|
2800
2801
|
| 'cr_tin'
|
|
2802
|
+
| 'de_stn'
|
|
2801
2803
|
| 'do_rcn'
|
|
2802
2804
|
| 'ec_ruc'
|
|
2803
2805
|
| 'eg_tin'
|
|
@@ -4111,7 +4113,7 @@ declare module 'stripe' {
|
|
|
4111
4113
|
|
|
4112
4114
|
interface TaxId {
|
|
4113
4115
|
/**
|
|
4114
|
-
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
4116
|
+
* Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
|
|
4115
4117
|
*/
|
|
4116
4118
|
type: TaxId.Type;
|
|
4117
4119
|
|
|
@@ -4144,6 +4146,7 @@ declare module 'stripe' {
|
|
|
4144
4146
|
| 'cn_tin'
|
|
4145
4147
|
| 'co_nit'
|
|
4146
4148
|
| 'cr_tin'
|
|
4149
|
+
| 'de_stn'
|
|
4147
4150
|
| 'do_rcn'
|
|
4148
4151
|
| 'ec_ruc'
|
|
4149
4152
|
| 'eg_tin'
|
|
@@ -569,6 +569,8 @@ declare module 'stripe' {
|
|
|
569
569
|
|
|
570
570
|
konbini_display_details?: NextAction.KonbiniDisplayDetails;
|
|
571
571
|
|
|
572
|
+
multibanco_display_details?: NextAction.MultibancoDisplayDetails;
|
|
573
|
+
|
|
572
574
|
oxxo_display_details?: NextAction.OxxoDisplayDetails;
|
|
573
575
|
|
|
574
576
|
paynow_display_qr_code?: NextAction.PaynowDisplayQrCode;
|
|
@@ -1010,6 +1012,28 @@ declare module 'stripe' {
|
|
|
1010
1012
|
}
|
|
1011
1013
|
}
|
|
1012
1014
|
|
|
1015
|
+
interface MultibancoDisplayDetails {
|
|
1016
|
+
/**
|
|
1017
|
+
* Entity number associated with this Multibanco payment.
|
|
1018
|
+
*/
|
|
1019
|
+
entity: string | null;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* The timestamp at which the Multibanco voucher expires.
|
|
1023
|
+
*/
|
|
1024
|
+
expires_at: number | null;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* The URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.
|
|
1028
|
+
*/
|
|
1029
|
+
hosted_voucher_url: string | null;
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Reference number associated with this Multibanco payment.
|
|
1033
|
+
*/
|
|
1034
|
+
reference: string | null;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1013
1037
|
interface OxxoDisplayDetails {
|
|
1014
1038
|
/**
|
|
1015
1039
|
* The timestamp after which the OXXO voucher expires.
|
|
@@ -1299,6 +1323,8 @@ declare module 'stripe' {
|
|
|
1299
1323
|
|
|
1300
1324
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1301
1325
|
|
|
1326
|
+
multibanco?: PaymentMethodOptions.Multibanco;
|
|
1327
|
+
|
|
1302
1328
|
oxxo?: PaymentMethodOptions.Oxxo;
|
|
1303
1329
|
|
|
1304
1330
|
p24?: PaymentMethodOptions.P24;
|
|
@@ -1319,6 +1345,8 @@ declare module 'stripe' {
|
|
|
1319
1345
|
|
|
1320
1346
|
swish?: PaymentMethodOptions.Swish;
|
|
1321
1347
|
|
|
1348
|
+
twint?: PaymentMethodOptions.Twint;
|
|
1349
|
+
|
|
1322
1350
|
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
1323
1351
|
|
|
1324
1352
|
wechat_pay?: PaymentMethodOptions.WechatPay;
|
|
@@ -2015,6 +2043,17 @@ declare module 'stripe' {
|
|
|
2015
2043
|
setup_future_usage?: 'none';
|
|
2016
2044
|
}
|
|
2017
2045
|
|
|
2046
|
+
interface Multibanco {
|
|
2047
|
+
/**
|
|
2048
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2049
|
+
*
|
|
2050
|
+
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
|
2051
|
+
*
|
|
2052
|
+
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
|
|
2053
|
+
*/
|
|
2054
|
+
setup_future_usage?: 'none';
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2018
2057
|
interface Oxxo {
|
|
2019
2058
|
/**
|
|
2020
2059
|
* The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
@@ -2199,6 +2238,17 @@ declare module 'stripe' {
|
|
|
2199
2238
|
setup_future_usage?: 'none';
|
|
2200
2239
|
}
|
|
2201
2240
|
|
|
2241
|
+
interface Twint {
|
|
2242
|
+
/**
|
|
2243
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2244
|
+
*
|
|
2245
|
+
* Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
|
|
2246
|
+
*
|
|
2247
|
+
* When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).
|
|
2248
|
+
*/
|
|
2249
|
+
setup_future_usage?: 'none';
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2202
2252
|
interface UsBankAccount {
|
|
2203
2253
|
financial_connections?: UsBankAccount.FinancialConnections;
|
|
2204
2254
|
|