Download a payment receipt as a PDF file.Authentication: Requires API key with read:invoices scope.Access Control: Receipt must belong to the authenticated organization.PDF Generation:
If PDF is already generated and stored, redirects to the stored URL
If PDF is not available, generates it on-the-fly
PDF includes invoice details, payment information, and validation code
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params
Responses
🟢200OK
application/pdf
Receipt PDF file
Headers
Body
🔵302302
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.jokoor.com/v1/pay/receipts//download' \
--header'Authorization: Bearer <token>'
Response Response Example
401 - Success
{"error":"Authentication required. Please log in to continue."}