---
updatedAt: 2026-11-09T20:26:04.000Z
agentTools:
  projectIndex: https://developer.spreedly.com/llms.txt
---

# Update Stripe Payment Intent Version to Dahlia

# **Overview**

Spreedly is updating its **Stripe Payment Intents integration** to align with [newer API versions](https://docs.stripe.com/changelog) released by Stripe.

Today, Spreedly supports Stripe API version [**2025-02-24.acacia**](https://docs.stripe.com/changelog#acacia). With this update we are aligning to [**2026-04-22.dahlia**](https://docs.stripe.com/changelog#2026-04-22.dahlia)*&#x20;&#x20;*&#x61;s the new default version for Stripe Payment Intents integration.

## **Customer Impact**

These changes will impact your integration depending on your current implementation:

* If you use **balance transaction data** (via GSRF), your reporting and reconciliation will change due to captured-only amounts and fees.
* If your workflows depend on **Refund objects**, especially for partial capture or cancellation flows, those workflows will break or return incomplete data.
* If you use **Level 3 / line item data**, requests using legacy field names or formats will fail once deprecated.

See the section breakouts below for more detailed information on each change.

## **What You Need to Do**

To ensure a smooth transition, we recommend the following:

Review and update any **reporting or reconciliation logic** to rely on captured amounts rather than authorized amounts.

Update your **refund handling logic** so it does not assume a Refund object will always exist.

Migrate all **Level 3 and line item fields** to the new naming conventions and structure.

Validate your integration against the updated behavior before enforcement.

## **What’s Changing (Current vs New State)**

### **1. Balance Transactions** (Implemented by Stripe in [**2025-03-31.basil**](https://docs.stripe.com/changelog#2025-03-31.basil))

Stripe has changed how balance transaction amounts and fees are calculated.

<Columns layout="fixed">
  <Column>
    **Current state**<br />Balance transactions for partial captures could be based on the authorized total, not only the captured total.
  </Column>

  <Column>
    **New state**<br />Balance transactions will reflect only the **captured amount** and fees will be calculated based only on the captured amount. See [Stripe documentation](https://docs.stripe.com/changelog#2025-03-31.basil) for more details.
  </Column>

  <Column>
    **Example**<br />If a payment is authorized for 10,000 but only 8,000 is captured, the balance transaction will now show **amount = 8,000 and fees calculated on 8,000**, instead of 10,000.
  </Column>
</Columns>

<br />

### **2. Refund Behavior** (Implemented by Stripe in [**2025-03-31.basil**](https://docs.stripe.com/changelog#2025-03-31.basil))

Stripe has changed how refunds are generated in certain payment flows.

<Columns layout="fixed">
  <Column>
    **Current state**<br />Your integration can receive a Refund object in flows like partial captures or cancellations.
  </Column>

  <Column>
    **New state**<br />Stripe will **not create a Refund object** for partial captures or payment cancellations. See [Stripe documentation](https://docs.stripe.com/changelog#2025-03-31.basil) for more details.
  </Column>

  <Column>
    **Example**<br />A workflow that previously returned a refund reference (e.g., refund ID) after a partial capture will now return **no refund object at all**.
  </Column>
</Columns>

<br />

### **3. Level 3 / Line Item Data** (Implemented by Stripe in [2025-10-29.clover](https://docs.stripe.com/changelog#2025-10-29.clover))

Stripe is standardizing Level 3 (enhanced line item) data and removing legacy formats. Once legacy Level 3 support is removed, requests using old field names will **fail**.

<Columns layout="fixed">
  <Column>
    **Current state**<br />Legacy field names:

    `merchant_reference`

    `shipping_address_zip, shipping_from_zip`

    Line items using `product_description` and flat_tax_amount\`
  </Column>

  <Column>
    **New state (Clover):**<br />Updated field names and structure are required:

    `order_reference`

    `shipping_to_postal_code`

    `shipping_from_postal_code`

    Line items must use `product_name` and structured tax fields like `total_tax_amount` with optional `tax_breakdowns`
  </Column>

  <Column>
    **Example**<br />A line item that previously used **product_description = "T-shirt" and tax_amount = 100** must now use **product_name = "T-shirt" and total_tax_amount = 100**, with optional tax breakdown details.
  </Column>
</Columns>

**Exact Field Mapping**

| Old Field Name                         | New Field Name                                                                                                        |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `merchant_reference`                   | `order_reference`                                                                                                     |
| `shipping_address_zip`                 | `shipping_to_postal_code`                                                                                             |
| `shipping_from_zip`                    | `shipping_from_postal_code`                                                                                           |
| `Product_description` and `tax_amount` | Line items must use `product_name` and structured tax fields like `total_tax_amount` (with optional `tax_breakdowns`) |

<br />

### Non-breaking enhancments

Implemented by Stripe in [**2026-04-22.dahlia**](https://docs.stripe.com/changelog#2026-04-22.dahlia)

Optional :

1. Card-present capture method on PI(2025-11-17) Pass through capture behavior for Terminal / card-present flows on PI, not only top level `automatic`/`manual`.
2. iDEAL `transaction_id `in GSRF(2025-11-17) -  Return iDEAL bank reference from charge PM details on the transaction response.
3. Automatic tax on PI(2025-11-17) — GSF to enable Stripe Tax calculation on Payment Intent create/update.
4. `enforce_arithmetic_validation` opt-out(2026-01-28) - GSF for merchants using L3 line items when Stripe strict math validation fails.
5. `transaction_purpose` for US bank account(2026-02-25) - GSF for ACH compliance&#x20;
6. `amount_to_confirm` on PI confirm(2026-04-22) - GSF on confirm for surcharge or confirm-with-adjusted-amount flows.

##

### **Migration Strategy & Rollout Approach**

We are providing a **controlled migration path** to minimize disruption:

By default, our integration will continue using **2025-02-24.acacia** until January 21, 2027.

* We will deploy changes ahead of the final cutoff to allow sufficient testing time.
* You can opt in early to **2026-04-22.dahlia** to test and validate changes ahead of enforcement by using the “version\_override” GSF.
* When ready you can change over production to continue to use version\_override as **2026-04-22.dahlia** until changeover.
* Once the changeover is complete you should remove the GSF

**Please note:**

We will be giving notification warnings of the impending update through changelog.

* Once enforcement occurs, integrations that have not migrated will experience **breaking failures**
* There is no automatic synchronization—customers must actively validate and update the integration using the override.