Removes the `charges` attribute from the `PaymentIntent` object
Removes the charges property on the PaymentIntent object. Use the latest_charge property instead.
docs.stripe.comquote checked
- behaviour change
- Your codeby hand
Nemotron fixes
In its own wordsmatches the page ✓
| [Removes the `charges` attribute from the `PaymentIntent` object](https://docs.stripe.com/changelog/2022-11-15/removes-charges-attribute-paymentintent.md) | Payments | Breaking | api |
Also readmatches the page ✓
Removes the `charges` property on the [PaymentIntent](https://docs.stripe.com/api/payment_intents/object.md?api-version=2024-06-20) object. Use the `latest_charge` property instead.
- Lets you access the most recent charge associated with a PaymentIntent using latest_charge, instead of relying on the now-removed charges attribute. This simplifies the way you retrieve charge information for a PaymentIntent.
What Teire looks for in your code
nothing to search for: checked by hand
Does it reach your code?