Billing
Get invoice PDF URL
Changed onReturns a Stripe-hosted PDF URL for the invoice. The URL is short-lived; fetch fresh when you need to hand it to a user.
Requesting an invoice that does not belong to the caller's organization returns 404 (not 403), so a foreign invoice ID cannot be confirmed to exist.
get/payment/v1/invoices/{invoiceId}/pdf
Request
- Base URLhttps://api.smallest.ai
- URLhttps://api.smallest.ai/payment/v1/invoices/{invoiceId}/pdf
- AuthHTTP bearer
Path parameters
invoiceIdstring required
Stripe invoice ID (e.g. in_1THiCSRwh8g1U6dfOcUtTdq9).
Response
Stripe-hosted PDF URL for the invoice.
Example response
{
"success": true
}Changes
- info
endpoint added
- info