Skip to navigation

Get invoice PDF URL

View as Markdown

Returns a Stripe-hosted PDF URL for the invoice. The URL is short-lived; fetch fresh when you need to hand it to a user.

Pass a valid Stripe invoice ID returned by GET /payment/v1/invoices. Passing an invoice ID that belongs to a different organization returns 404 (not 403), so a foreign ID cannot be confirmed to exist.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

invoiceIdstringRequired

Stripe invoice ID (e.g. in_1THiCSRwh8g1U6dfOcUtTdq9).

Response

Stripe-hosted PDF URL for the invoice.

successboolean
dataobject

Errors

401
Unauthorized Error
404
Not Found Error