#Gadbit
1 messages · Page 1 of 1 (latest)
What do you mean by receipt number? You want a link to the payment's receipt?
Just the receipt number
A transaction identifier other than payment intent or charge id
So the user can see that
Oh ok I see. You would have to go to the Payment Intent's Charge object, and there's a receipt number field there: https://stripe.com/docs/api/charges/object#charge_object-receipt_number
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh OK, thanks. But...
Is that just for charges?
Or how can i get that from confirming a paymentIntent?
Payment Intents use Charges under the hood
Oh oK
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can get the Charge from the Payment Intent object
If you're using an older API version, there will be a list of Charges on the Payment Intent
Thanks a lot. That's what i was looking for.