Stripe receipt url

That’s unfortunately not something currently supported. There isn’t any way through the API to get an receipt ID to be used here. That endpoint was built with the intent that it would only be used to permalink to a receipt from the body of a receipt email. That said, we are considering building out this functionality at some point in the future.

EDIT: Looks like my colleagues in Stripe support beat me to the punch here.

UPDATE: as of 2019-01-17, this is now supported via the receipt_url property on Charges (https://stripe.com/docs/api/charges/object#charge_object-receipt_url).

Leave a Comment