#teamtalk
1 messages · Page 1 of 1 (latest)
Hello there
You want to expand the latest_charge in your request which will contain the Charge object with the receipt_url property: https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Are you familiar with expansion?
just trying to find it
I saw the url once but on subsequent responses coudln't find it maybe Im missing something
It is possible that the PaymentIntent didn't move to succeeded -- like it could move to requires_action if 3DS is required.
In which case there wouldn't be a Charge yet
So there is a charges prop on older API versions that you might see. You can use charges.data if you like, but latest_charge is an easier way to access the relevant Charge object
lastest_charge is that an object inside the response
Sorted thank you!