#codepic-checkout-receipt
1 messages · Page 1 of 1 (latest)
I believe it's on the associated Charge object, but am working on double checking.
Yup, you're looking for the receipt_url field on the associated Charge:
https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok. How do I retrieve the charge id from a "checkout session" ?
You can find the payment_intent ID on the Checkout Session object, and then use that to retrieve the associated charge.
https://stripe.com/docs/api/checkout/sessions/object?lang=python#checkout_session_object-payment_intent
https://stripe.com/docs/api/charges/list#list_charges-payment_intent