#justine222
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
thanks!
No, it's 60 days max. What's your use case?
ours are expiring after 30 days
so when we sent overdue reminders all the links were broken
If you send your customer an invoice using the dashboard or API, they will be able to enter their email address in the recovery flow when they open an expired link. This will resend them the invoice with a fresh link.
the way we have it configured we use an internal email because we need to send invoices to multiple customer emails at once
so we're managing the emails on our end
so maybe we need to grab the a new link from the api when we send reminders?
API: Retrieve the invoice via our API and any of the links returned in the object response like invoice_pdf or hosted_invoice_url will be active links.
do those links not expire? if we pull the link via the API
or will it expire 30 days from when we pull it?
also do stripe payment links expire? so i could also create them a payment link manually for the amount owed in the invoice, for the reminder emails. if i need to do this manually without an engineer support
I would say you can get the fresh link just before you are planning to send the email.
You can do that, and then mark the invoice as paid
So these are always 30 days from when we ping the API for the link?
or is it a rolling thing like the link refreshes 30 days so if we pull it on day 29 it will still expire on day 30
I don't know, please let me check.
Yes, invoice links are generated every time you retrieve it.
But if you want your application to be in control of expiry date, I would recommend to attach links in the emails not to Stripe, but to your own website. After customers click on the link, you app retrieves the Invoice, and redirects the customer to the fresh Stripe link. This way you ensure the URL is fresh every time
interesting okay