Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
Developers Dashboard
Agent toolkit
Stripe health alertsBuilding with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsChangelog

Basil

What is basil?

As a culinary herb in the mint family, basil’s fragrance and fresh, sweet, peppery flavor make it popular with cooks worldwide. Basil thrives in sun and warmth, with over 60 varieties that each have their own unique flavor and aroma.

Sweet basil is most commonly used in pesto and pasta sauces, Thai basil in curries and stir-fries, and lemon basil in everything from seafood to infused oils thanks to its citrus and anise notes.

Basil is the second release in our new API versioning model. As the first version in the Basil release, 2025-03-31.basil introduces both breaking changes and new features—subsequent Basil versions will include only additive changes. (Our last release was Acacia: every time we introduce a breaking change version, we move to the next release.)

April 30, 2025

We’ve introduced a number of new features in this latest version, as well as a new public preview channel with early access to new capabilities and upcoming features.

Key updates from our GA channel include:

  • Broader tax registration support: Twelve new countries are now supported by the Tax Registration API, enabling businesses to automatically collect tax in those regions.
  • Expanded payment method support: We’ve added new capabilities for Affirm, Pix, and Billie across several APIs.
  • Test your event destinations: We’ve introduced a new event type so you can ping a webhook endpoint (or other destination type) to test whether it’s ready to receive events from Stripe.

We also have some exciting developments in our public preview channel:

  • Global Payouts is now available: Users in the US and UK can send money directly to third parties with a new set of money management APIs.
  • Third-party tax provider support: We now support automatic tax calculation with several providers after you install a third-party tax app.
  • Retrieve and manage FX rates: The new FX Quote API retrieves our current FX rate and lets you extend that rate for up to a day.
  • Scripts support custom business logic: You can now provide scripts to define your own logic for specific API objects and extend Stripe’s behavior.

To get started with these updates, review the changelog and upgrade your API version.

March 31, 2025

This version introduces a significant number of breaking changes. Make sure to review the complete changelog below. Most notably:

  • Billing changes: We removed or reorganized a number of capabilities, including legacy usage-based billing and a migration from the Upcoming Invoice API to the Create Preview API. Many of these breaking changes are preparing our APIs for future updates later this year in the Basil release.
  • Total counts no longer supported on lists: You can no longer expand the total_count property on lists, because this is no longer a recommended integration pattern.
  • Checkout Session changes: Checkout Sessions for subscriptions now postpone creation of subscriptions until after the user completes payment—this both improves latency on all Checkout Session API calls and fixes a common bug where customers couldn’t modify billing details after the first payment attempt.

We’ve also included some new features:

  • Payment method improvements: Klarna can now be used on Hosted Invoice Pages, and we’ve introduced support for Naver Pay, Billie, Satispay, and New Zealand’s BECS Direct Debit.
  • Build custom UIs for Checkout Sessions: You can now specify a ui_mode of custom to use Elements and Checkout Sessions to design your own checkout page.
  • Billing meter improvements: We’ve introduced new webhook events for billing meters and credits, and new aggregation formula (last) to use the final meter event in a time range as the total value for a bill.

To get started with these updates, review the changelog and upgrade your API version.

Basil releases
ProductBreaking changes
Release channel
GA
Category
All

2025-04-30.basil

New country support for Tax Registration

Adds support for tax ID types in ten new countries
Tax
Tax Registration API now supports twelve new countries
Tax

Regulatory enhancements

Adds a demographic information hash to the Persons API
Connect+ 1 more
Adds a minority-owned business designation field to the business profile hash
Connect+ 1 more

Payment method enhancements

Adds Affirm as a supported payment method for one-time invoices and subscriptions
Billing
Adds tax ID to Payment Method billing details
Payments
Adds Pix to payment method configurations
Payments
Adds capture method option to Billie payments
Payments

Events enhancements

Adds context field to event payload
Affects all products
Adds a new ping event type for testing an event destination
Affects all products

Additional updates

Adds a field explaning why refunds are pending
Payments
Adds registration date to the Accounts API
Capital+ 1 more
Adds wallet options to Checkout Sessions
Checkout
Adds support for card installments on Confirmation Token
Elements+ 1 more

2025-03-31.basil

Breaking changes

Coupons enhancements

Removes support for discount coupons that don’t have a specified end time
Billing
Removes coupon and promotion code parameters with stackable discounts
Billing

Increase Invoice flexibility

Replaces top-level price fields with improved price modeling on Invoice Items and Invoice Line Items
Billing+ 1 more
Replaces top-level tax-related properties with improved tax modeling on Invoices, Invoice Line Items, and Credit Note Line Items
Billing+ 1 more
Adds support for multiple (partial) payments on invoices
Billing+ 2 more
Adds jurisdiction level and taxability reason to manual tax amounts on invoices
Invoicing

Billing enhancements

Adds subscription item-level billing periods and removes subscription-level periods
Billing
Invoicing resources now specify how they were generated
Billing+ 1 more
Adds support for last aggregation formula on meters
Billing
Adds new webhook event types for Billing Meters
Billing
Adds new webhook event types for billing credits
Billing

Elements with Checkout Session

Adds custom UI mode to Checkout Sessions
Checkout
Adds the initCheckout method
Checkout+ 1 more

Deprecations to billing features

Replaces Upcoming Invoice API methods with the Create Preview Invoice API
Billing+ 1 more
Removes legacy usage-based billing
Billing+ 1 more

Issuing enhancements

Adds reason code for Issuing authorizations created while Stripe is unavailabile
Issuing
HTTP Accept headers for webhooks now specify JSON during Issuing authorizations
Issuing
Adds expired status for Issuing Authorizations
Issuing

Payment enhancements

Updates the Vault and Forward API to return a 402 status code for upstream request timeouts
Payments
Removes manual capture method for Interac cards
Payments+ 1 more
Payment Methods won’t allow modifying fields for Naver Pay after the object is first created
Payments
Partially capturing or canceling payments no longer creates a Refund
Payments
Adds support for Klarna in the Hosted Invoice Page
Billing
Adds ability to configure saved payment methods for one-time payments on the Hosted Invoice Page
Connect+ 1 more
Adds support for saving and reusing Naver Pay payment methods
Billing+ 4 more
Adds support for the Billie local payment method
Checkout+ 5 more
Adds support for the Satispay local payment method
Checkout+ 5 more
Makes the client parameter optional for WeChat Pay until confirmation
Invoicing
Adds support for the New Zealand BECS Direct Debit local payment method
Billing+ 6 more

Checkout enhancements

Checkout Session removes shipping details
Checkout
Checkout Sessions have lower latency and new update semantics
Checkout
Checkout Session allows shipping option updates
Checkout
Adds permissions parameter to Checkout Sessions
Checkout
Adds optional items to Checkout Sessions and Payment Links
Checkout+ 1 more

Additional updates

Removes total count expansion for list API methods
Affects all products
Adds new error codes for required verifications
Connect
Updates the default layout for Payment Element
Elements
Changes the political exposure property of the Person object from a string to an enum
Connect
Adds default value to custom fields on Payment Links
Payment Links
Expanded availability of Account KYC data
Connect
Adds new error code for failures with the Setup Intents API using mobile wallets
Payments+ 1 more
Adds presentment details for Adaptive Pricing
Checkout
Adds BalanceTransaction types related to pay with Stripe balance
Connect+ 1 more
Introduces new customer balance transaction types
Billing
Removes support for the page parameter
Affects all products
Adds ability to configure WiFi for Terminal readers
Terminal
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc