cURL
curl --request GET \ --url https://api.justpaid.io/api/v1/invoice/{invoice_uuid}/pdf \ --header 'Authorization: Bearer <token>'
{ "invoice_uuid": "123e4567-e89b-12d3-a456-426614174000", "pdf_url": "https://api.justpaid.ai/invoices/123.pdf", "generated_at": "2024-03-21T10:00:00Z" }
Gets the invoice PDF URL. Generates PDF if not exists.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
PDF URL retrieved successfully
Response schema for PDF endpoint.
Invoice UUID
"123e4567-e89b-12d3-a456-426614174000"
URL to download PDF
"https://api.justpaid.ai/invoices/123.pdf"
When PDF was generated
"2024-03-21T10:00:00Z"
Was this page helpful?