From 37ad7168c7b4fef47bf11f13b498b0845e8b39d7 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com> Date: Fri, 25 Jun 2021 11:52:04 -0400 Subject: [PATCH] Codegen for openapi d12f3f1 (#1177) --- types/2020-08-27/Charges.d.ts | 9 ++ types/2020-08-27/Checkout/Sessions.d.ts | 3 +- types/2020-08-27/Customers.d.ts | 3 +- types/2020-08-27/InvoiceLineItems.d.ts | 3 +- types/2020-08-27/Invoices.d.ts | 6 +- types/2020-08-27/PaymentIntents.d.ts | 108 ++++++++++++++++++++++++ types/2020-08-27/PaymentMethods.d.ts | 24 ++++++ types/2020-08-27/TaxIds.d.ts | 6 +- 8 files changed, 155 insertions(+), 7 deletions(-) diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 4c3ab72c68..2aedbd7f26 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -398,6 +398,8 @@ declare module 'stripe' { bancontact?: PaymentMethodDetails.Bancontact; + boleto?: PaymentMethodDetails.Boleto; + card?: PaymentMethodDetails.Card; card_present?: PaymentMethodDetails.CardPresent; @@ -642,6 +644,13 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto { + /** + * Uniquely identifies this customer tax_id (CNPJ or CPF) + */ + tax_id: string; + } + interface Card { /** * Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. diff --git a/types/2020-08-27/Checkout/Sessions.d.ts b/types/2020-08-27/Checkout/Sessions.d.ts index 8caf9956d6..24f543f38a 100644 --- a/types/2020-08-27/Checkout/Sessions.d.ts +++ b/types/2020-08-27/Checkout/Sessions.d.ts @@ -215,7 +215,7 @@ declare module 'stripe' { interface TaxId { /** - * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `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`, `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`, or `unknown` + * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `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`, `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`, or `unknown` */ type: TaxId.Type; @@ -244,6 +244,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' diff --git a/types/2020-08-27/Customers.d.ts b/types/2020-08-27/Customers.d.ts index a47104a150..5a937ee69b 100644 --- a/types/2020-08-27/Customers.d.ts +++ b/types/2020-08-27/Customers.d.ts @@ -414,7 +414,7 @@ declare module 'stripe' { interface TaxIdDatum { /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxIdDatum.Type; @@ -443,6 +443,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' diff --git a/types/2020-08-27/InvoiceLineItems.d.ts b/types/2020-08-27/InvoiceLineItems.d.ts index e52280c8ae..9e2dacfc70 100644 --- a/types/2020-08-27/InvoiceLineItems.d.ts +++ b/types/2020-08-27/InvoiceLineItems.d.ts @@ -369,7 +369,7 @@ declare module 'stripe' { interface TaxId { /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxId.Type; @@ -398,6 +398,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' diff --git a/types/2020-08-27/Invoices.d.ts b/types/2020-08-27/Invoices.d.ts index 687d71680a..1ff73ac7f3 100644 --- a/types/2020-08-27/Invoices.d.ts +++ b/types/2020-08-27/Invoices.d.ts @@ -393,7 +393,7 @@ declare module 'stripe' { interface CustomerTaxId { /** - * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `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`, `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`, or `unknown` + * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `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`, `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`, or `unknown` */ type: CustomerTaxId.Type; @@ -422,6 +422,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' @@ -1491,7 +1492,7 @@ declare module 'stripe' { interface TaxId { /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxId.Type; @@ -1520,6 +1521,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index 54e0122ca5..6baea7a5e2 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -325,6 +325,8 @@ declare module 'stripe' { interface NextAction { alipay_handle_redirect?: NextAction.AlipayHandleRedirect; + boleto_display_details?: NextAction.BoletoDisplayDetails; + oxxo_display_details?: NextAction.OxxoDisplayDetails; redirect_to_url?: NextAction.RedirectToUrl; @@ -365,6 +367,28 @@ declare module 'stripe' { url: string | null; } + interface BoletoDisplayDetails { + /** + * The timestamp after which the boleto expires. + */ + expires_at: number | null; + + /** + * The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. + */ + hosted_voucher_url: string | null; + + /** + * The boleto number. + */ + number: string | null; + + /** + * The URL to the downloadable boleto voucher PDF. + */ + pdf: string | null; + } + interface OxxoDisplayDetails { /** * The timestamp after which the OXXO voucher expires. @@ -418,6 +442,8 @@ declare module 'stripe' { bancontact?: PaymentMethodOptions.Bancontact; + boleto?: PaymentMethodOptions.Boleto; + card?: PaymentMethodOptions.Card; card_present?: PaymentMethodOptions.CardPresent; @@ -494,6 +520,13 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days: number; + } + interface Card { /** * Installment details for this payment (Mexico only). @@ -916,6 +949,11 @@ declare module 'stripe' { */ billing_details?: PaymentMethodData.BillingDetails; + /** + * If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + */ + boleto?: PaymentMethodData.Boleto; + /** * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. */ @@ -1081,6 +1119,13 @@ declare module 'stripe' { } } + interface Boleto { + /** + * Uniquely identifies this customer tax_id (CNPJ or CPF) + */ + tax_id: string; + } + interface Eps { /** * The customer's bank. @@ -1250,6 +1295,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'eps' | 'fpx' | 'giropay' @@ -1284,6 +1330,11 @@ declare module 'stripe' { */ bancontact?: Stripe.Emptyable; + /** + * If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + */ + boleto?: Stripe.Emptyable; + /** * Configuration for any card payments attempted on this PaymentIntent. */ @@ -1383,6 +1434,13 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days?: number; + } + interface Card { /** * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. @@ -1717,6 +1775,11 @@ declare module 'stripe' { */ billing_details?: PaymentMethodData.BillingDetails; + /** + * If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + */ + boleto?: PaymentMethodData.Boleto; + /** * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. */ @@ -1882,6 +1945,13 @@ declare module 'stripe' { } } + interface Boleto { + /** + * Uniquely identifies this customer tax_id (CNPJ or CPF) + */ + tax_id: string; + } + interface Eps { /** * The customer's bank. @@ -2051,6 +2121,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'eps' | 'fpx' | 'giropay' @@ -2085,6 +2156,11 @@ declare module 'stripe' { */ bancontact?: Stripe.Emptyable; + /** + * If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + */ + boleto?: Stripe.Emptyable; + /** * Configuration for any card payments attempted on this PaymentIntent. */ @@ -2184,6 +2260,13 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days?: number; + } + interface Card { /** * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. @@ -2632,6 +2715,11 @@ declare module 'stripe' { */ billing_details?: PaymentMethodData.BillingDetails; + /** + * If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + */ + boleto?: PaymentMethodData.Boleto; + /** * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. */ @@ -2797,6 +2885,13 @@ declare module 'stripe' { } } + interface Boleto { + /** + * Uniquely identifies this customer tax_id (CNPJ or CPF) + */ + tax_id: string; + } + interface Eps { /** * The customer's bank. @@ -2966,6 +3061,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'eps' | 'fpx' | 'giropay' @@ -3000,6 +3096,11 @@ declare module 'stripe' { */ bancontact?: Stripe.Emptyable; + /** + * If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options. + */ + boleto?: Stripe.Emptyable; + /** * Configuration for any card payments attempted on this PaymentIntent. */ @@ -3099,6 +3200,13 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto { + /** + * The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time. + */ + expires_after_days?: number; + } + interface Card { /** * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index 1bf3879d18..8046801735 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -30,6 +30,8 @@ declare module 'stripe' { billing_details: PaymentMethod.BillingDetails; + boleto?: PaymentMethod.Boleto; + card?: PaymentMethod.Card; card_present?: PaymentMethod.CardPresent; @@ -170,6 +172,13 @@ declare module 'stripe' { phone: string | null; } + interface Boleto { + /** + * Uniquely identifies the customer tax id (CNPJ or CPF) + */ + tax_id: string; + } + interface Card { /** * Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. @@ -594,6 +603,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'card' | 'card_present' | 'eps' @@ -644,6 +654,11 @@ declare module 'stripe' { */ billing_details?: PaymentMethodCreateParams.BillingDetails; + /** + * If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method. + */ + boleto?: PaymentMethodCreateParams.Boleto; + /** * If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When providing a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly. */ @@ -829,6 +844,13 @@ declare module 'stripe' { } } + interface Boleto { + /** + * Uniquely identifies this customer tax_id (CNPJ or CPF) + */ + tax_id: string; + } + interface Card1 { /** * The card's CVC. It is highly recommended to always include this value. @@ -1024,6 +1046,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'card' | 'eps' | 'fpx' @@ -1188,6 +1211,7 @@ declare module 'stripe' { | 'au_becs_debit' | 'bacs_debit' | 'bancontact' + | 'boleto' | 'card' | 'card_present' | 'eps' diff --git a/types/2020-08-27/TaxIds.d.ts b/types/2020-08-27/TaxIds.d.ts index 139f2d1aaa..2a25cdf20c 100644 --- a/types/2020-08-27/TaxIds.d.ts +++ b/types/2020-08-27/TaxIds.d.ts @@ -39,7 +39,7 @@ declare module 'stripe' { livemode: boolean; /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have type `unknown` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have type `unknown` */ type: TaxId.Type; @@ -73,6 +73,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' @@ -139,7 +140,7 @@ declare module 'stripe' { interface TaxIdCreateParams { /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` + * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` */ type: TaxIdCreateParams.Type; @@ -173,6 +174,7 @@ declare module 'stripe' { | 'gb_vat' | 'hk_br' | 'id_npwp' + | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn'