PayKitBeta

Invoices

GET/v1/clients/{clientId}/invoices/{invoiceId}/pdf

Get an invoice PDF

billing.read

Returns a short-lived signed download URL. The PDF is rendered and stored on first request.

Path parameters

clientIdstringYour PayKit client id.
invoiceIdstringThe invoice id.
curl -X GET "https://api.paykit.co.za/v1/clients/a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/invoices/99887766554433221100ffeeddccbbaa/pdf" \
  -H "Authorization: Bearer YOUR_API_KEY"
200 OK
{
  "url": "https://storage.googleapis.com/…/invoice.pdf?X-Goog-Signature=…",
  "storagePath": "invoices/…/inv_…pdf",
  "expiresAt": "2026-07-13T10:15:00Z"
}