Removes the charges attribute from the PaymentIntent objectBreaking changes
What’s new
Removes the charges
property on the PaymentIntent object. Use the latest_
property instead.
Impact
Lets you access the most recent charge associated with a PaymentIntent using latest_
, instead of relying on the now-removed charges
attribute. This simplifies the way you retrieve charge information for a PaymentIntent.