Discussions
Public link customer invoices
this month
Hey @PennylaneTeam,
By performing a GET on the /customer_invoices route, we are able to retrieve a public link (/public/invoice/pdf?encrypted_id=xx) to the invoice, which has a lifetime of 30 minutes. This URL redirects to an S3 instance called “jeancaisse.” On this invoice, there is a “Pay Now” button that redirects to another Pennylane link (/public/view_invoice?encrypted_id=xx) which is valid for more than 30 minutes.
Is there an easier way to retrieve this link? We don't want to scrape on the PDF to get the URL!
Thank you!
