#Julien - Payment Links
1 messages ยท Page 1 of 1 (latest)
HI ๐
Payment Links are not customer specific when they are created. If your payment link collects the users email then you can use the webhook event to retrieve the newly created customer with the email address and send the receipt that way.
Incredible. You're the greatest.
Payment Link purchases generate a lot of events so I would start by looking at this one: https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But depending on what information you want you may wish to look at a few others. Honestly a good place to start with this would be to use the Stripe CLI to listen for all webhook events https://stripe.com/docs/cli/listen and then examine what data is in each event to find out what you need to send the right receipt email.