#simeng.

1 messages · Page 1 of 1 (latest)

hoary nimbusBOT
final basin
#

Hi there, how can I help?

carmine scroll
#

We are trying to implement a self hosted page, that our customer can retrieve and download all the history invoices

#

So we store the invoice data in our DB, including the hosted_invoice_url and pdf url

#

however since the link may expire

#

Is there a proper solution or recommended way, that allows the users to retrieve their invoices anytime they want?

final basin
#
Even after expiry, any URLs that the Dashboard displays or a user retrieves through the API are guaranteed to be valid for at least 10 days.```
#

You can just retrieve the invoice and use the updated URL

carmine scroll
#

Ok the URL will be updated periodically?

#

Sounds like I can simply call the invoices.retrieve endpoint everytime the url would ba a valid one?

final basin
#

Yes you are right