Download invoice PDF
Generate a signed URL to download the invoice as a PDF. The URL expires after 7 days.
Generate a signed URL to download the invoice as a PDF. The URL expires after 7 days.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/invoices/string/download"{ "success": true, "data": { "url": "string", "expiresAt": "2019-08-24T14:15:22Z", "object": "invoice", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}