#hristofor_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1227958932689915905
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
What do you mean by "billing email" exactly?
The receipts?
This kind of emails
I want to control them on Customer level via API, is this possible?
Or is it possible from Stripe UI?
No, you can't control it on the Customer level. However, you might be able to remove the email address from a Customer object, so there's nowhere to send them.
You mean to update the customer via API and set the email to empty string or null? Or via the interface?
๐ stepping in
So you are saying you only want some Customers to receive emails about expiring cards? Is that correct?
Yes and I want to control it from our system
Hmm okay really the more reliable way here then is to track expiration date of PaymentMethods and send your own emails if you are going to turn this setting off.
I would not recommend unsetting Customer emails as a reliable solution here
So the solution is as I tought is to use webhooks and send my own emails, because I will need controlled emails for other events
Yep