Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context Protocol
Security and privacy
Security
Stripebot web crawler
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogBasil2025-04-30.preview

Adds support for payment line itemsPublic preview

What’s new

You can now add the line items associated with a payment when creating a PaymentIntent by passing in the payment_details and amount_details params.

See detailed feature eligibility, restrictions, and integration docs in the official payment line items documentation.

Impact

Payment line items is a feature in the Payment Intents API that provides benefits for cards and local payment methods processing:

  • Cost savings for eligible commercial cards for IC+ users: By passing payment line items, you can participate in the Level 2/Level 3 (L2/L3) program that major card networks administer. For eligible commercial cards, passing line item data can provide interchange fee savings.
  • Facilitate reconciliation: Passing line item data can also facilitate reconciliation for your customers. For example, if you primarily serve government customers, it will aid the customer in reconciling a purchase against what shows up on their statement.
  • Improved authorization rates: Payment methods like Klarna and PayPal use line item data in their underwriting models, potentially allowing them to approve more credit based payment options when line items data is passed.

Changes

ChangeResource
Added
PaymentIntentAmountDetailsLineItem
Endpoint ChangeResource
listAdded
PaymentIntentAmountDetailsLineItem
ParametersChangeResources or endpoints
customer_referenceorder_referenceAdded
Charge#capture.payment_detailsCharge#update.payment_detailsPaymentIntent#capture.payment_details
 + 4 more
PaymentIntent#confirm.payment_detailsPaymentIntent#create.payment_detailsPaymentIntent#update.payment_detailsPaymentIntent.payment_details
discount_amountline_itemsshippingtaxAdded
PaymentIntent.amount_details

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
    • If you don’t use an SDK, update your API requests to include Stripe-Version: 2025-04-30.preview
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

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