Generate Invoice PDF
Generates the invoice as a PDF and returns a short-lived link to download it. A draft shows its estimated totals. The buyer’s name and email need member:basic:read and member:email:read, and the Pay now link on an open invoice needs payment:charge, or invoice:create or invoice:update when it has no payment_method_id. Each call generates a new file and link, so this endpoint does not replay Idempotency-Key responses.
Authorizations
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Pins the request to a dated API version.
"2026-11-04-1"
Path Parameters
The invoice's pay_ ID.
Body
Whether to print each line item's description under it. Defaults to true.
false
Response
invoice PDF generated
When the link stops working, as an ISO 8601 timestamp. Generate a new PDF for a fresh link.
"2026-01-01T12:00:00.000Z"
A short-lived link to download the invoice as a PDF. Anyone holding the link can download the file until it expires.
"https://content.whop.com/exports/2026-01-01/pdfs/receipt_pay_xxxxxxxxxxxxxx.pdf"

