Sending Account Information After Payment Confirmation JS

Hello, my website is currently set up to open a square space checkout page in another tab. Once a customer checks out and the payment is confirmed, I want to send automatically generated account information to the email address that they checked out with. I am not sure how to achieve this and was hoping someone could give me some pointers.

I came across the payment api and customer api, but not sure how to get the customer information once they check out in a separate tab. All suggestions are welcomed. Thank you in advanced for your time!

:wave: With our webhooks your app can get notified of successful payments and with the payload of the webhook you can build the email or make the necessary API calls to get the information to build the email to send to the customer. :slightly_smiling_face:

1 Like