Download an invoice
Returns the Stripe-hosted invoice links for one of the account’s invoices — Stripe is the source of truth for invoices. Use the invoiceId from a deposit or the subscription in GET /api/v1/billing. invoicePdf is a direct PDF download; hostedInvoiceUrl is Stripe’s hosted invoice page. Returns 404 if the invoice doesn’t belong to the account.
Authentication
AuthorizationBearer
Your Dial API key, sent as Authorization: Bearer sk_live_...
Path parameters
invoiceId
Stripe invoice id (in_…), as returned in GET /api/v1/billing.
Response
Stripe-hosted invoice links.
hostedInvoiceUrl
Stripe-hosted invoice page (has a download button), or null.
invoicePdf
Direct link to the invoice PDF, or null.
Errors
401
Unauthorized Error
404
Not Found Error