#scarX
1 messages · Page 1 of 1 (latest)
Hi there!
There is a setting in the dashboard to automatically send email receipts https://dashboard.stripe.com/settings/emails
Yeah, that setting send reciepts to every customer. But I want to send it for a particular group of people.
Like for example, I want to make a api call with an invoice_id to send for that invoice
We have this call but it only works in certain circumstances. https://stripe.com/docs/api/invoices/sendz
Can you tell me more about what you are trying to do here?
I have few customers who wants a receipt after a payment and some customers want's only the invoices and some wants both of them.
So I plan to automate this based on payment webhook and statuses
Thank you for the clarification. I actually don't know if that is controllable via the API. Or at least I don't know if sending the Stripe Invoice is controllable.
I will check in to this, I think the behavior is that either Stripe sends the receipt automatically when payment is turned on, or it isn't sent because it is turned off, so it is expected for you to send a custom email as a receipt if you want control like that.
Double checking now and will get back to you
Hey @desert vapor apologies for the delay here. It looks like that endpoint that I pointed to can be used to send/resend receipt emails: https://stripe.com/docs/invoicing/send-email?dashboard-or-api=api#email-reminders