stripe 15.12.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -2
- package/VERSION +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +4 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +5 -1
- package/types/BalanceTransactionSources.d.ts +0 -1
- package/types/Capabilities.d.ts +27 -7
- package/types/Checkout/Sessions.d.ts +2 -1
- package/types/Checkout/SessionsResource.d.ts +2 -2
- package/types/CustomersResource.d.ts +4 -2
- package/types/Invoices.d.ts +2 -1
- package/types/InvoicesResource.d.ts +6 -3
- package/types/Issuing/Authorizations.d.ts +173 -0
- package/types/Issuing/Transactions.d.ts +112 -6
- package/types/PaymentLinksResource.d.ts +2 -2
- package/types/Tax/Calculations.d.ts +2 -1
- package/types/Tax/CalculationsResource.d.ts +3 -2
- package/types/Tax/Transactions.d.ts +2 -1
- package/types/TaxIds.d.ts +2 -1
- package/types/TaxIdsResource.d.ts +2 -1
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +480 -7
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +262 -14
- package/types/WebhookEndpointsResource.d.ts +2 -1
- package/types/index.d.ts +0 -1
- package/types/lib.d.ts +1 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/PlatformTaxFees.d.ts +0 -35
|
@@ -202,6 +202,11 @@ declare module 'stripe' {
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
interface PurchaseDetails {
|
|
205
|
+
/**
|
|
206
|
+
* Fleet-specific information for transactions using Fleet cards.
|
|
207
|
+
*/
|
|
208
|
+
fleet: PurchaseDetails.Fleet | null;
|
|
209
|
+
|
|
205
210
|
/**
|
|
206
211
|
* Information about the flight that was purchased with this transaction.
|
|
207
212
|
*/
|
|
@@ -229,6 +234,102 @@ declare module 'stripe' {
|
|
|
229
234
|
}
|
|
230
235
|
|
|
231
236
|
namespace PurchaseDetails {
|
|
237
|
+
interface Fleet {
|
|
238
|
+
/**
|
|
239
|
+
* Answers to prompts presented to cardholder at point of sale.
|
|
240
|
+
*/
|
|
241
|
+
cardholder_prompt_data: Fleet.CardholderPromptData | null;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.
|
|
245
|
+
*/
|
|
246
|
+
purchase_type: string | null;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.
|
|
250
|
+
*/
|
|
251
|
+
reported_breakdown: Fleet.ReportedBreakdown | null;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.
|
|
255
|
+
*/
|
|
256
|
+
service_type: string | null;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
namespace Fleet {
|
|
260
|
+
interface CardholderPromptData {
|
|
261
|
+
/**
|
|
262
|
+
* Driver ID.
|
|
263
|
+
*/
|
|
264
|
+
driver_id: string | null;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Odometer reading.
|
|
268
|
+
*/
|
|
269
|
+
odometer: number | null;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type.
|
|
273
|
+
*/
|
|
274
|
+
unspecified_id: string | null;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* User ID.
|
|
278
|
+
*/
|
|
279
|
+
user_id: string | null;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Vehicle number.
|
|
283
|
+
*/
|
|
284
|
+
vehicle_number: string | null;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface ReportedBreakdown {
|
|
288
|
+
/**
|
|
289
|
+
* Breakdown of fuel portion of the purchase.
|
|
290
|
+
*/
|
|
291
|
+
fuel: ReportedBreakdown.Fuel | null;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Breakdown of non-fuel portion of the purchase.
|
|
295
|
+
*/
|
|
296
|
+
non_fuel: ReportedBreakdown.NonFuel | null;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Information about tax included in this transaction.
|
|
300
|
+
*/
|
|
301
|
+
tax: ReportedBreakdown.Tax | null;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
namespace ReportedBreakdown {
|
|
305
|
+
interface Fuel {
|
|
306
|
+
/**
|
|
307
|
+
* Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.
|
|
308
|
+
*/
|
|
309
|
+
gross_amount_decimal: string | null;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
interface NonFuel {
|
|
313
|
+
/**
|
|
314
|
+
* Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.
|
|
315
|
+
*/
|
|
316
|
+
gross_amount_decimal: string | null;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
interface Tax {
|
|
320
|
+
/**
|
|
321
|
+
* Amount of state or provincial Sales Tax included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
322
|
+
*/
|
|
323
|
+
local_amount_decimal: string | null;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Amount of national Sales Tax or VAT included in the transaction amount. Null if not reported by merchant or not subject to tax.
|
|
327
|
+
*/
|
|
328
|
+
national_amount_decimal: string | null;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
232
333
|
interface Flight {
|
|
233
334
|
/**
|
|
234
335
|
* The time that the flight departed.
|
|
@@ -291,13 +392,23 @@ declare module 'stripe' {
|
|
|
291
392
|
}
|
|
292
393
|
|
|
293
394
|
interface Fuel {
|
|
395
|
+
/**
|
|
396
|
+
* [Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.
|
|
397
|
+
*/
|
|
398
|
+
industry_product_code: string | null;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* The quantity of `unit`s of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
|
|
402
|
+
*/
|
|
403
|
+
quantity_decimal: string | null;
|
|
404
|
+
|
|
294
405
|
/**
|
|
295
406
|
* The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`.
|
|
296
407
|
*/
|
|
297
408
|
type: string;
|
|
298
409
|
|
|
299
410
|
/**
|
|
300
|
-
* The units for `
|
|
411
|
+
* The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`.
|
|
301
412
|
*/
|
|
302
413
|
unit: string;
|
|
303
414
|
|
|
@@ -305,11 +416,6 @@ declare module 'stripe' {
|
|
|
305
416
|
* The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
|
|
306
417
|
*/
|
|
307
418
|
unit_cost_decimal: string;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
|
|
311
|
-
*/
|
|
312
|
-
volume_decimal: string | null;
|
|
313
419
|
}
|
|
314
420
|
|
|
315
421
|
interface Lodging {
|
|
@@ -984,7 +984,7 @@ declare module 'stripe' {
|
|
|
984
984
|
|
|
985
985
|
interface TaxIdCollection {
|
|
986
986
|
/**
|
|
987
|
-
*
|
|
987
|
+
* Enable tax ID collection during checkout. Defaults to `false`.
|
|
988
988
|
*/
|
|
989
989
|
enabled: boolean;
|
|
990
990
|
}
|
|
@@ -1868,7 +1868,7 @@ declare module 'stripe' {
|
|
|
1868
1868
|
|
|
1869
1869
|
interface TaxIdCollection {
|
|
1870
1870
|
/**
|
|
1871
|
-
*
|
|
1871
|
+
* Enable tax ID collection during checkout. Defaults to `false`.
|
|
1872
1872
|
*/
|
|
1873
1873
|
enabled: boolean;
|
|
1874
1874
|
}
|
|
@@ -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`, `de_stn`, 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`, `ch_uid`, or `unknown`
|
|
124
124
|
*/
|
|
125
125
|
type: TaxId.Type;
|
|
126
126
|
|
|
@@ -148,6 +148,7 @@ declare module 'stripe' {
|
|
|
148
148
|
| 'ca_pst_mb'
|
|
149
149
|
| 'ca_pst_sk'
|
|
150
150
|
| 'ca_qst'
|
|
151
|
+
| 'ch_uid'
|
|
151
152
|
| 'ch_vat'
|
|
152
153
|
| 'cl_tin'
|
|
153
154
|
| 'cn_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`, `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`
|
|
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_uid`, `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
|
|
|
@@ -143,6 +143,7 @@ declare module 'stripe' {
|
|
|
143
143
|
| 'ca_pst_mb'
|
|
144
144
|
| 'ca_pst_sk'
|
|
145
145
|
| 'ca_qst'
|
|
146
|
+
| 'ch_uid'
|
|
146
147
|
| 'ch_vat'
|
|
147
148
|
| 'cl_tin'
|
|
148
149
|
| 'cn_tin'
|
|
@@ -318,7 +319,7 @@ declare module 'stripe' {
|
|
|
318
319
|
|
|
319
320
|
class CalculationsResource {
|
|
320
321
|
/**
|
|
321
|
-
* Calculates tax based on input and returns a Tax Calculation object.
|
|
322
|
+
* Calculates tax based on the input and returns a Tax Calculation object.
|
|
322
323
|
*/
|
|
323
324
|
create(
|
|
324
325
|
params: CalculationCreateParams,
|
|
@@ -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`, `de_stn`, 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`, `ch_uid`, or `unknown`
|
|
124
124
|
*/
|
|
125
125
|
type: TaxId.Type;
|
|
126
126
|
|
|
@@ -148,6 +148,7 @@ declare module 'stripe' {
|
|
|
148
148
|
| 'ca_pst_mb'
|
|
149
149
|
| 'ca_pst_sk'
|
|
150
150
|
| 'ca_qst'
|
|
151
|
+
| 'ch_uid'
|
|
151
152
|
| 'ch_vat'
|
|
152
153
|
| 'cl_tin'
|
|
153
154
|
| 'cn_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`, `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`
|
|
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_uid`, `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
|
|
|
@@ -129,6 +129,7 @@ declare module 'stripe' {
|
|
|
129
129
|
| 'ca_pst_mb'
|
|
130
130
|
| 'ca_pst_sk'
|
|
131
131
|
| 'ca_qst'
|
|
132
|
+
| 'ch_uid'
|
|
132
133
|
| 'ch_vat'
|
|
133
134
|
| 'cl_tin'
|
|
134
135
|
| 'cn_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`, `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`
|
|
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_uid`, `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
|
|
|
@@ -63,6 +63,7 @@ declare module 'stripe' {
|
|
|
63
63
|
| 'ca_pst_mb'
|
|
64
64
|
| 'ca_pst_sk'
|
|
65
65
|
| 'ca_qst'
|
|
66
|
+
| 'ch_uid'
|
|
66
67
|
| 'ch_vat'
|
|
67
68
|
| 'cl_tin'
|
|
68
69
|
| 'cn_tin'
|