Automatic email from Payments API

Hello there, i’m working with the payments API. I’ve created a payment, but in order to send an email to my customer I have to go into customers dashboard and manually hit “send receipt”.

Is there any API to do this? I notice you use /api/v1/payments/receipt, can this be accessible, or is there another I can use?

Otherwise i’ll have to setup an script to send an email containing the receipt_url, which is very strange.

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Take Payments
Payments API Integration
Verify the Payment

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.