stripe 15.11.0-beta.1 → 15.12.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 +23 -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 +7 -0
- package/types/AccountsResource.d.ts +24 -0
- package/types/BankAccounts.d.ts +1 -2
- package/types/Checkout/Sessions.d.ts +2 -1
- package/types/Checkout/SessionsResource.d.ts +1 -1
- package/types/CustomersResource.d.ts +4 -2
- package/types/Invoices.d.ts +2 -1
- package/types/InvoicesResource.d.ts +11 -8
- package/types/Orders.d.ts +2 -1
- package/types/OrdersResource.d.ts +6 -4
- package/types/QuoteLines.d.ts +1 -1
- package/types/QuotePreviewInvoices.d.ts +2 -1
- package/types/QuotesResource.d.ts +2 -2
- package/types/ShippingRates.d.ts +1 -1
- package/types/ShippingRatesResource.d.ts +1 -1
- package/types/SubscriptionSchedulesResource.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/Tokens.d.ts +1 -2
- package/types/TransfersResource.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 15.12.0-beta.1 - 2024-06-13
|
|
4
|
+
* [#2103](https://github.com/stripe/stripe-node/pull/2103) Update generated code for beta
|
|
5
|
+
* Add support for new value `de_stn` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
|
|
6
|
+
* Add support for new value `de_stn` on enum `Order.tax_details.tax_ids[].type`
|
|
7
|
+
|
|
8
|
+
## 15.11.0 - 2024-06-13
|
|
9
|
+
* [#2102](https://github.com/stripe/stripe-node/pull/2102) Update generated code
|
|
10
|
+
* Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
11
|
+
* 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`
|
|
12
|
+
* 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`
|
|
13
|
+
* Add support for new values `multibanco` and `twint` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
|
|
14
|
+
* 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`
|
|
15
|
+
* 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`
|
|
16
|
+
* Add support for new values `multibanco` and `twint` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
|
|
17
|
+
* 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`
|
|
18
|
+
* Add support for `multibanco_display_details` on `PaymentIntent.next_action`
|
|
19
|
+
* Add support for `invoice_settings` on `Subscription`
|
|
20
|
+
|
|
3
21
|
## 15.11.0-beta.1 - 2024-06-06
|
|
4
22
|
* [#2098](https://github.com/stripe/stripe-node/pull/2098) Update generated code for beta
|
|
5
23
|
* Add support for `twint` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
6
24
|
|
|
25
|
+
## 15.10.0 - 2024-06-06
|
|
26
|
+
* [#2101](https://github.com/stripe/stripe-node/pull/2101) Update generated code
|
|
27
|
+
* 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`
|
|
28
|
+
* Add support for new value `swish` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]`
|
|
29
|
+
|
|
7
30
|
## 15.10.0-beta.1 - 2024-05-30
|
|
8
31
|
* [#2094](https://github.com/stripe/stripe-node/pull/2094) Update generated code for beta
|
|
9
32
|
* Add support for new values `en-RO` and `ro-RO` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale` and `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
15.
|
|
1
|
+
15.12.0-beta.1
|
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.12.0-beta.1';
|
|
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.12.0-beta.1';
|
|
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
|
@@ -354,6 +354,11 @@ declare module 'stripe' {
|
|
|
354
354
|
*/
|
|
355
355
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
356
356
|
|
|
357
|
+
/**
|
|
358
|
+
* The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
|
|
359
|
+
*/
|
|
360
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
361
|
+
|
|
357
362
|
/**
|
|
358
363
|
* 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.
|
|
359
364
|
*/
|
|
@@ -517,6 +522,8 @@ declare module 'stripe' {
|
|
|
517
522
|
|
|
518
523
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
519
524
|
|
|
525
|
+
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
526
|
+
|
|
520
527
|
type MxBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
521
528
|
|
|
522
529
|
type OxxoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -339,6 +339,11 @@ declare module 'stripe' {
|
|
|
339
339
|
*/
|
|
340
340
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
341
341
|
|
|
342
|
+
/**
|
|
343
|
+
* The multibanco_payments capability.
|
|
344
|
+
*/
|
|
345
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
346
|
+
|
|
342
347
|
/**
|
|
343
348
|
* The mx_bank_transfer_payments capability.
|
|
344
349
|
*/
|
|
@@ -642,6 +647,13 @@ declare module 'stripe' {
|
|
|
642
647
|
requested?: boolean;
|
|
643
648
|
}
|
|
644
649
|
|
|
650
|
+
interface MultibancoPayments {
|
|
651
|
+
/**
|
|
652
|
+
* 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.
|
|
653
|
+
*/
|
|
654
|
+
requested?: boolean;
|
|
655
|
+
}
|
|
656
|
+
|
|
645
657
|
interface MxBankTransferPayments {
|
|
646
658
|
/**
|
|
647
659
|
* 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.
|
|
@@ -2043,6 +2055,11 @@ declare module 'stripe' {
|
|
|
2043
2055
|
*/
|
|
2044
2056
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
2045
2057
|
|
|
2058
|
+
/**
|
|
2059
|
+
* The multibanco_payments capability.
|
|
2060
|
+
*/
|
|
2061
|
+
multibanco_payments?: Capabilities.MultibancoPayments;
|
|
2062
|
+
|
|
2046
2063
|
/**
|
|
2047
2064
|
* The mx_bank_transfer_payments capability.
|
|
2048
2065
|
*/
|
|
@@ -2346,6 +2363,13 @@ declare module 'stripe' {
|
|
|
2346
2363
|
requested?: boolean;
|
|
2347
2364
|
}
|
|
2348
2365
|
|
|
2366
|
+
interface MultibancoPayments {
|
|
2367
|
+
/**
|
|
2368
|
+
* 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.
|
|
2369
|
+
*/
|
|
2370
|
+
requested?: boolean;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2349
2373
|
interface MxBankTransferPayments {
|
|
2350
2374
|
/**
|
|
2351
2375
|
* 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)
|
|
@@ -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'
|
|
@@ -2201,7 +2201,7 @@ declare module 'stripe' {
|
|
|
2201
2201
|
tax_code?: string;
|
|
2202
2202
|
|
|
2203
2203
|
/**
|
|
2204
|
-
* The type of calculation to use on the shipping rate.
|
|
2204
|
+
* The type of calculation to use on the shipping rate.
|
|
2205
2205
|
*/
|
|
2206
2206
|
type?: 'fixed_amount';
|
|
2207
2207
|
}
|
|
@@ -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'
|
package/types/Invoices.d.ts
CHANGED
|
@@ -617,7 +617,7 @@ declare module 'stripe' {
|
|
|
617
617
|
|
|
618
618
|
interface CustomerTaxId {
|
|
619
619
|
/**
|
|
620
|
-
* 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`
|
|
620
|
+
* 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`
|
|
621
621
|
*/
|
|
622
622
|
type: CustomerTaxId.Type;
|
|
623
623
|
|
|
@@ -650,6 +650,7 @@ declare module 'stripe' {
|
|
|
650
650
|
| 'cn_tin'
|
|
651
651
|
| 'co_nit'
|
|
652
652
|
| 'cr_tin'
|
|
653
|
+
| 'de_stn'
|
|
653
654
|
| 'do_rcn'
|
|
654
655
|
| 'ec_ruc'
|
|
655
656
|
| 'eg_tin'
|
|
@@ -666,7 +666,7 @@ declare module 'stripe' {
|
|
|
666
666
|
tax_code?: string;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
|
-
* The type of calculation to use on the shipping rate.
|
|
669
|
+
* The type of calculation to use on the shipping rate.
|
|
670
670
|
*/
|
|
671
671
|
type?: 'fixed_amount';
|
|
672
672
|
}
|
|
@@ -1421,7 +1421,7 @@ declare module 'stripe' {
|
|
|
1421
1421
|
tax_code?: string;
|
|
1422
1422
|
|
|
1423
1423
|
/**
|
|
1424
|
-
* The type of calculation to use on the shipping rate.
|
|
1424
|
+
* The type of calculation to use on the shipping rate.
|
|
1425
1425
|
*/
|
|
1426
1426
|
type?: 'fixed_amount';
|
|
1427
1427
|
}
|
|
@@ -2072,7 +2072,7 @@ declare module 'stripe' {
|
|
|
2072
2072
|
|
|
2073
2073
|
interface TaxId {
|
|
2074
2074
|
/**
|
|
2075
|
-
* 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`
|
|
2075
|
+
* 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`
|
|
2076
2076
|
*/
|
|
2077
2077
|
type: TaxId.Type;
|
|
2078
2078
|
|
|
@@ -2105,6 +2105,7 @@ declare module 'stripe' {
|
|
|
2105
2105
|
| 'cn_tin'
|
|
2106
2106
|
| 'co_nit'
|
|
2107
2107
|
| 'cr_tin'
|
|
2108
|
+
| 'de_stn'
|
|
2108
2109
|
| 'do_rcn'
|
|
2109
2110
|
| 'ec_ruc'
|
|
2110
2111
|
| 'eg_tin'
|
|
@@ -2472,7 +2473,7 @@ declare module 'stripe' {
|
|
|
2472
2473
|
amendment_start: Amendment.AmendmentStart;
|
|
2473
2474
|
|
|
2474
2475
|
/**
|
|
2475
|
-
* For
|
|
2476
|
+
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
2476
2477
|
*/
|
|
2477
2478
|
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
2478
2479
|
|
|
@@ -4283,7 +4284,7 @@ declare module 'stripe' {
|
|
|
4283
4284
|
|
|
4284
4285
|
interface TaxId {
|
|
4285
4286
|
/**
|
|
4286
|
-
* 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`
|
|
4287
|
+
* 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`
|
|
4287
4288
|
*/
|
|
4288
4289
|
type: TaxId.Type;
|
|
4289
4290
|
|
|
@@ -4316,6 +4317,7 @@ declare module 'stripe' {
|
|
|
4316
4317
|
| 'cn_tin'
|
|
4317
4318
|
| 'co_nit'
|
|
4318
4319
|
| 'cr_tin'
|
|
4320
|
+
| 'de_stn'
|
|
4319
4321
|
| 'do_rcn'
|
|
4320
4322
|
| 'ec_ruc'
|
|
4321
4323
|
| 'eg_tin'
|
|
@@ -4683,7 +4685,7 @@ declare module 'stripe' {
|
|
|
4683
4685
|
amendment_start: Amendment.AmendmentStart;
|
|
4684
4686
|
|
|
4685
4687
|
/**
|
|
4686
|
-
* For
|
|
4688
|
+
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
4687
4689
|
*/
|
|
4688
4690
|
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
4689
4691
|
|
|
@@ -6753,7 +6755,7 @@ declare module 'stripe' {
|
|
|
6753
6755
|
|
|
6754
6756
|
interface TaxId {
|
|
6755
6757
|
/**
|
|
6756
|
-
* 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`
|
|
6758
|
+
* 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`
|
|
6757
6759
|
*/
|
|
6758
6760
|
type: TaxId.Type;
|
|
6759
6761
|
|
|
@@ -6786,6 +6788,7 @@ declare module 'stripe' {
|
|
|
6786
6788
|
| 'cn_tin'
|
|
6787
6789
|
| 'co_nit'
|
|
6788
6790
|
| 'cr_tin'
|
|
6791
|
+
| 'de_stn'
|
|
6789
6792
|
| 'do_rcn'
|
|
6790
6793
|
| 'ec_ruc'
|
|
6791
6794
|
| 'eg_tin'
|
|
@@ -7153,7 +7156,7 @@ declare module 'stripe' {
|
|
|
7153
7156
|
amendment_start: Amendment.AmendmentStart;
|
|
7154
7157
|
|
|
7155
7158
|
/**
|
|
7156
|
-
* For
|
|
7159
|
+
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
7157
7160
|
*/
|
|
7158
7161
|
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
7159
7162
|
|
package/types/Orders.d.ts
CHANGED
|
@@ -869,7 +869,7 @@ declare module 'stripe' {
|
|
|
869
869
|
|
|
870
870
|
interface TaxId {
|
|
871
871
|
/**
|
|
872
|
-
* 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`
|
|
872
|
+
* 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`
|
|
873
873
|
*/
|
|
874
874
|
type: TaxId.Type;
|
|
875
875
|
|
|
@@ -902,6 +902,7 @@ declare module 'stripe' {
|
|
|
902
902
|
| 'cn_tin'
|
|
903
903
|
| 'co_nit'
|
|
904
904
|
| 'cr_tin'
|
|
905
|
+
| 'de_stn'
|
|
905
906
|
| 'do_rcn'
|
|
906
907
|
| 'ec_ruc'
|
|
907
908
|
| 'eg_tin'
|
|
@@ -1064,7 +1064,7 @@ declare module 'stripe' {
|
|
|
1064
1064
|
tax_code?: string;
|
|
1065
1065
|
|
|
1066
1066
|
/**
|
|
1067
|
-
* The type of calculation to use on the shipping rate.
|
|
1067
|
+
* The type of calculation to use on the shipping rate.
|
|
1068
1068
|
*/
|
|
1069
1069
|
type?: 'fixed_amount';
|
|
1070
1070
|
}
|
|
@@ -1191,7 +1191,7 @@ declare module 'stripe' {
|
|
|
1191
1191
|
|
|
1192
1192
|
interface TaxId {
|
|
1193
1193
|
/**
|
|
1194
|
-
* 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`
|
|
1194
|
+
* 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`
|
|
1195
1195
|
*/
|
|
1196
1196
|
type: TaxId.Type;
|
|
1197
1197
|
|
|
@@ -1224,6 +1224,7 @@ declare module 'stripe' {
|
|
|
1224
1224
|
| 'cn_tin'
|
|
1225
1225
|
| 'co_nit'
|
|
1226
1226
|
| 'cr_tin'
|
|
1227
|
+
| 'de_stn'
|
|
1227
1228
|
| 'do_rcn'
|
|
1228
1229
|
| 'ec_ruc'
|
|
1229
1230
|
| 'eg_tin'
|
|
@@ -2356,7 +2357,7 @@ declare module 'stripe' {
|
|
|
2356
2357
|
tax_code?: string;
|
|
2357
2358
|
|
|
2358
2359
|
/**
|
|
2359
|
-
* The type of calculation to use on the shipping rate.
|
|
2360
|
+
* The type of calculation to use on the shipping rate.
|
|
2360
2361
|
*/
|
|
2361
2362
|
type?: 'fixed_amount';
|
|
2362
2363
|
}
|
|
@@ -2483,7 +2484,7 @@ declare module 'stripe' {
|
|
|
2483
2484
|
|
|
2484
2485
|
interface TaxId {
|
|
2485
2486
|
/**
|
|
2486
|
-
* 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`
|
|
2487
|
+
* 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`
|
|
2487
2488
|
*/
|
|
2488
2489
|
type: TaxId.Type;
|
|
2489
2490
|
|
|
@@ -2516,6 +2517,7 @@ declare module 'stripe' {
|
|
|
2516
2517
|
| 'cn_tin'
|
|
2517
2518
|
| 'co_nit'
|
|
2518
2519
|
| 'cr_tin'
|
|
2520
|
+
| 'de_stn'
|
|
2519
2521
|
| 'do_rcn'
|
|
2520
2522
|
| 'ec_ruc'
|
|
2521
2523
|
| 'eg_tin'
|
package/types/QuoteLines.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare module 'stripe' {
|
|
|
27
27
|
applies_to: QuoteLine.AppliesTo | null;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* For
|
|
30
|
+
* For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
|
|
31
31
|
*/
|
|
32
32
|
billing_cycle_anchor: QuoteLine.BillingCycleAnchor | null;
|
|
33
33
|
|
|
@@ -594,7 +594,7 @@ declare module 'stripe' {
|
|
|
594
594
|
|
|
595
595
|
interface CustomerTaxId {
|
|
596
596
|
/**
|
|
597
|
-
* 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`
|
|
597
|
+
* 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`
|
|
598
598
|
*/
|
|
599
599
|
type: CustomerTaxId.Type;
|
|
600
600
|
|
|
@@ -627,6 +627,7 @@ declare module 'stripe' {
|
|
|
627
627
|
| 'cn_tin'
|
|
628
628
|
| 'co_nit'
|
|
629
629
|
| 'cr_tin'
|
|
630
|
+
| 'de_stn'
|
|
630
631
|
| 'do_rcn'
|
|
631
632
|
| 'ec_ruc'
|
|
632
633
|
| 'eg_tin'
|
|
@@ -274,7 +274,7 @@ declare module 'stripe' {
|
|
|
274
274
|
applies_to?: Line.AppliesTo;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* For
|
|
277
|
+
* For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
|
|
278
278
|
*/
|
|
279
279
|
billing_cycle_anchor?: Line.BillingCycleAnchor;
|
|
280
280
|
|
|
@@ -1964,7 +1964,7 @@ declare module 'stripe' {
|
|
|
1964
1964
|
applies_to?: Line.AppliesTo;
|
|
1965
1965
|
|
|
1966
1966
|
/**
|
|
1967
|
-
* For
|
|
1967
|
+
* For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
|
|
1968
1968
|
*/
|
|
1969
1969
|
billing_cycle_anchor?: Line.BillingCycleAnchor;
|
|
1970
1970
|
|
package/types/ShippingRates.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare module 'stripe' {
|
|
|
60
60
|
tax_code: string | Stripe.TaxCode | null;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* The type of calculation to use on the shipping rate.
|
|
63
|
+
* The type of calculation to use on the shipping rate.
|
|
64
64
|
*/
|
|
65
65
|
type: 'fixed_amount';
|
|
66
66
|
}
|
|
@@ -1786,7 +1786,7 @@ declare module 'stripe' {
|
|
|
1786
1786
|
amendment_start: Amendment.AmendmentStart;
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
|
-
* For
|
|
1789
|
+
* For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
|
1790
1790
|
*/
|
|
1791
1791
|
billing_cycle_anchor?: Amendment.BillingCycleAnchor;
|
|
1792
1792
|
|
package/types/Subscriptions.d.ts
CHANGED
|
@@ -139,6 +139,8 @@ declare module 'stripe' {
|
|
|
139
139
|
*/
|
|
140
140
|
ended_at: number | null;
|
|
141
141
|
|
|
142
|
+
invoice_settings: Subscription.InvoiceSettings;
|
|
143
|
+
|
|
142
144
|
/**
|
|
143
145
|
* List of subscription items, each with an attached price.
|
|
144
146
|
*/
|
|
@@ -356,6 +358,35 @@ declare module 'stripe' {
|
|
|
356
358
|
|
|
357
359
|
type CollectionMethod = 'charge_automatically' | 'send_invoice';
|
|
358
360
|
|
|
361
|
+
interface InvoiceSettings {
|
|
362
|
+
/**
|
|
363
|
+
* The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
|
364
|
+
*/
|
|
365
|
+
account_tax_ids: Array<
|
|
366
|
+
string | Stripe.TaxId | Stripe.DeletedTaxId
|
|
367
|
+
> | null;
|
|
368
|
+
|
|
369
|
+
issuer: InvoiceSettings.Issuer;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
namespace InvoiceSettings {
|
|
373
|
+
interface Issuer {
|
|
374
|
+
/**
|
|
375
|
+
* The connected account being referenced when `type` is `account`.
|
|
376
|
+
*/
|
|
377
|
+
account?: string | Stripe.Account;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Type of the account referenced.
|
|
381
|
+
*/
|
|
382
|
+
type: Issuer.Type;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
namespace Issuer {
|
|
386
|
+
type Type = 'account' | 'self';
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
359
390
|
interface PauseCollection {
|
|
360
391
|
/**
|
|
361
392
|
* The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
|
@@ -2110,12 +2110,12 @@ declare module 'stripe' {
|
|
|
2110
2110
|
expand?: Array<string>;
|
|
2111
2111
|
|
|
2112
2112
|
/**
|
|
2113
|
-
* Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items.
|
|
2113
|
+
* Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`.
|
|
2114
2114
|
*/
|
|
2115
2115
|
invoice_now?: boolean;
|
|
2116
2116
|
|
|
2117
2117
|
/**
|
|
2118
|
-
* Will generate a proration invoice item that credits remaining unused time until the subscription period end.
|
|
2118
|
+
* Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`.
|
|
2119
2119
|
*/
|
|
2120
2120
|
prorate?: boolean;
|
|
2121
2121
|
}
|
|
@@ -120,7 +120,7 @@ declare module 'stripe' {
|
|
|
120
120
|
|
|
121
121
|
interface TaxId {
|
|
122
122
|
/**
|
|
123
|
-
* 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`
|
|
123
|
+
* 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`
|
|
124
124
|
*/
|
|
125
125
|
type: TaxId.Type;
|
|
126
126
|
|
|
@@ -153,6 +153,7 @@ declare module 'stripe' {
|
|
|
153
153
|
| 'cn_tin'
|
|
154
154
|
| 'co_nit'
|
|
155
155
|
| 'cr_tin'
|
|
156
|
+
| 'de_stn'
|
|
156
157
|
| 'do_rcn'
|
|
157
158
|
| 'ec_ruc'
|
|
158
159
|
| 'eg_tin'
|
|
@@ -115,7 +115,7 @@ declare module 'stripe' {
|
|
|
115
115
|
|
|
116
116
|
interface TaxId {
|
|
117
117
|
/**
|
|
118
|
-
* 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`
|
|
118
|
+
* 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`
|
|
119
119
|
*/
|
|
120
120
|
type: TaxId.Type;
|
|
121
121
|
|
|
@@ -148,6 +148,7 @@ declare module 'stripe' {
|
|
|
148
148
|
| 'cn_tin'
|
|
149
149
|
| 'co_nit'
|
|
150
150
|
| 'cr_tin'
|
|
151
|
+
| 'de_stn'
|
|
151
152
|
| 'do_rcn'
|
|
152
153
|
| 'ec_ruc'
|
|
153
154
|
| 'eg_tin'
|
|
@@ -120,7 +120,7 @@ declare module 'stripe' {
|
|
|
120
120
|
|
|
121
121
|
interface TaxId {
|
|
122
122
|
/**
|
|
123
|
-
* 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`
|
|
123
|
+
* 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`
|
|
124
124
|
*/
|
|
125
125
|
type: TaxId.Type;
|
|
126
126
|
|
|
@@ -153,6 +153,7 @@ declare module 'stripe' {
|
|
|
153
153
|
| 'cn_tin'
|
|
154
154
|
| 'co_nit'
|
|
155
155
|
| 'cr_tin'
|
|
156
|
+
| 'de_stn'
|
|
156
157
|
| 'do_rcn'
|
|
157
158
|
| 'ec_ruc'
|
|
158
159
|
| 'eg_tin'
|
package/types/TaxIds.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ declare module 'stripe' {
|
|
|
70
70
|
owner: TaxId.Owner | null;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* 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`. Note that some legacy tax IDs have type `unknown`
|
|
73
|
+
* 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`. Note that some legacy tax IDs have type `unknown`
|
|
74
74
|
*/
|
|
75
75
|
type: TaxId.Type;
|
|
76
76
|
|
|
@@ -134,6 +134,7 @@ declare module 'stripe' {
|
|
|
134
134
|
| 'cn_tin'
|
|
135
135
|
| 'co_nit'
|
|
136
136
|
| 'cr_tin'
|
|
137
|
+
| 'de_stn'
|
|
137
138
|
| 'do_rcn'
|
|
138
139
|
| 'ec_ruc'
|
|
139
140
|
| 'eg_tin'
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
interface TaxIdCreateParams {
|
|
6
6
|
/**
|
|
7
|
-
* 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`
|
|
7
|
+
* 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`
|
|
8
8
|
*/
|
|
9
9
|
type: TaxIdCreateParams.Type;
|
|
10
10
|
|
|
@@ -68,6 +68,7 @@ declare module 'stripe' {
|
|
|
68
68
|
| 'cn_tin'
|
|
69
69
|
| 'co_nit'
|
|
70
70
|
| 'cr_tin'
|
|
71
|
+
| 'de_stn'
|
|
71
72
|
| 'do_rcn'
|
|
72
73
|
| 'ec_ruc'
|
|
73
74
|
| 'eg_tin'
|
|
@@ -73,7 +73,7 @@ declare module 'stripe' {
|
|
|
73
73
|
|
|
74
74
|
interface LocationUpdateParams {
|
|
75
75
|
/**
|
|
76
|
-
* The full address of the location.
|
|
76
|
+
* The full address of the location. If you're updating the `address` field, avoid changing the `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
|
|
77
77
|
*/
|
|
78
78
|
address?: Stripe.AddressParam;
|
|
79
79
|
|
package/types/Tokens.d.ts
CHANGED
|
@@ -39,8 +39,7 @@ declare module 'stripe' {
|
|
|
39
39
|
* These bank accounts are payment methods on `Customer` objects.
|
|
40
40
|
*
|
|
41
41
|
* On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
|
|
42
|
-
* destinations on `Account` objects for accounts
|
|
43
|
-
* is `application`, which includes [Custom accounts](https://stripe.com/connect/custom-accounts).
|
|
42
|
+
* destinations on `Account` objects for connected accounts.
|
|
44
43
|
* They can be bank accounts or debit cards as well, and are documented in the links above.
|
|
45
44
|
*
|
|
46
45
|
* Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
|
|
@@ -106,7 +106,7 @@ declare module 'stripe' {
|
|
|
106
106
|
amount?: number;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* An arbitrary string which you can attach to a reversal object.
|
|
109
|
+
* An arbitrary string which you can attach to a reversal object. This will be unset if you POST an empty value.
|
|
110
110
|
*/
|
|
111
111
|
description?: string;
|
|
112
112
|
|