Adds Klarna reference parameters for line items in Payment Intents
What’s new
Adds two fields for referencing transactions and subscriptions when using Klarna with Payment Intents for individual line items:
- reference : a reference number for this individual line item
- subscription_reference : a reference number for subscriptions in this line item
These optional parameters accept strings to provide item-specific references that Klarna uses for transaction processing and customer communication. These reference numbers are used for order tracking and customer support inquiries.
Impact
You can now provide transaction information to Klarna for individual line items. This improves the integration between your checkout flow and Klarna’s payment processing, and is used by Klarna to provide customer support and detailed transaction records.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| reference | Added | PaymentIntent#capture. amount_details. line_items[]. payment_method_options. klarna PaymentIntent#confirm. amount_details. line_items[]. payment_method_options. klarna PaymentIntent#create. amount_details. line_items[]. payment_method_options. klarna + 3 more PaymentIntent#increment_authorization. amount_details. line_items[]. payment_method_options. klarna PaymentIntent#update. amount_details. line_items[]. payment_method_options. klarna PaymentIntentAmountDetailsLineItem.payment_method_options.klarna |
| subscription_reference | Added | PaymentIntentAmountDetailsLineItem.payment_method_options.klarna |
Upgrade
- View your current API version in Workbench.
- 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-10-29. clover
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.
Related changes
- Adds MB WAY to payment method configurations
- Adds the related setting payment method options to Checkout Sessions
- Adds support for specifying payment method configurations to the customer portal
- Adds MB WAY payment method to Payment Links and Checkout Sessions
- Adds the ability to exclude payment methods when using Setup Intents
- Adds a subscription reference to Klarna line items in Payment Intents
- Adds support for custom payment methods
