This release changes the pinned API version to 2025-04-30.basil.
- #2311 Update generated code
- Add support for
minority_owned_business_designationonAccount.business_profile,AccountCreateParams.business_profile, andAccountUpdateParams.business_profile - Add support for
registration_dateonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.company - Add support for
us_cfpb_dataonAccountCreatePersonParams,AccountUpdatePersonParams,Person, andTokenCreateParams.person - Add support for new value
verification_legal_entity_structure_mismatchon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,BankAccount.future_requirements.errors[].code,BankAccount.requirements.errors[].code,Capability.future_requirements.errors[].code,Capability.requirements.errors[].code,Person.future_requirements.errors[].code, andPerson.requirements.errors[].code - Add support for new value
tax_id_prohibitedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code - Add support for
tax_idonCharge.billing_details,ConfirmationToken.payment_method_preview.billing_details,ConfirmationTokenCreateParams.testHelpers.payment_method_data.billing_details,PaymentIntentConfirmParams.payment_method_data.billing_details,PaymentIntentCreateParams.payment_method_data.billing_details,PaymentIntentUpdateParams.payment_method_data.billing_details,PaymentMethod.billing_details,PaymentMethodCreateParams.billing_details,PaymentMethodUpdateParams.billing_details,SetupIntentConfirmParams.payment_method_data.billing_details,SetupIntentCreateParams.payment_method_data.billing_details, andSetupIntentUpdateParams.payment_method_data.billing_details - Add support for
wallet_optionsonCheckout.SessionCreateParamsandCheckout.Session - Add support for
provideronCheckout.Session.automatic_tax,Invoice.automatic_tax, andQuote.automatic_tax - Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.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, andTaxId.type - Add support for
payment_method_optionsonConfirmationTokenCreateParams.testHelpers - Add support for
installmentsonConfirmationToken.payment_method_options.card - Add support for new values
aw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCustomerCreateParams.tax_id_data[].type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.type - Add support for
contextonEvent - Add support for new value
affirmon enumsInvoice.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, andSubscriptionUpdateParams.payment_settings.payment_method_types - Change type of
InvoiceLineItem.parent.subscription_item_details.subscriptionfromstringtostring | null - Add support for
billieonPaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options, andPaymentIntentUpdateParams.payment_method_options - Add support for
pixonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Add support for
klarnaonPaymentMethodDomain - Add support for
pending_reasononRefund - Change type of
Tax.CalculationLineItem.referencefromstring | nulltostring - Add support for
aw,az,bd,bf,bj,cm,cv,et,in,kg,la, andphonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options - Add support for new value
2025-04-30.basilon enumWebhookEndpointCreateParams.api_version
- Add support for
- #2202 Add build scripts to generate source maps
- #2169 Put @types/node as an optional peerDependency
- #2164 Bump micromatch from 4.0.5 to 4.0.8
- #2230 Bump cross-spawn from 7.0.3 to 7.0.6