v4

OpenAPI 3.1.02026-08-0255174167.5 KB
billing

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.

get/api/v1/billing/invoices/{invoiceId}

Path parameters

invoiceIdstring required

Stripe invoice id (in_…), as returned in GET /api/v1/billing.

Headers

Authorizationstring required

Your Dial API key, sent as Authorization: Bearer sk_live_...

Response

Stripe-hosted invoice links.

hostedInvoiceUrlstring nullable

Stripe-hosted invoice page (has a download button), or null.

invoicePdfstring nullable

Direct link to the invoice PDF, or null.