v14
OpenAPI 3.1.02026-08-03122113375.9 KBuser-invoices
Get invoice download URL
Get a PDF download URL for one invoice.
Use this endpoint when a user clicks “download invoice” in billing UI.
Security behavior:
- Verifies the invoice exists.
- Verifies the invoice belongs to the authenticated user’s Stripe customer account.
- Returns 404 for unknown invoices or ownership mismatch.
Response:
- Returns a direct PDF URL when available.
- Returns 404 if the invoice has no PDF yet.
get/user/invoices/{invoiceId}
Path parameters
invoiceIdstring required
Stripe invoice identifier returned by the list endpoint.
Stripe invoice identifier returned by the list endpoint.
Response
Download URL for the requested invoice.