PaymentMethods

Get invoice PDF access

Changed on

Creates a short-lived, secure URL that lets the current organization view or download a private Stripe invoice PDF without exposing a permanent file link.

get/payment-methods/invoices/{invoiceId}/pdf-access

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

invoiceId, string required

The Stripe invoice identifier whose PDF should be accessed.

Query parameters

download, boolean

Whether the secure URL should download the PDF instead of displaying it inline.

Response

A temporary URL for downloading the accessible invoice PDF.

InvoicePdfAccessResponse required

Short-lived access details for a private Leadping invoice PDF.

url, string uri

Short-lived URL that can be used to download the invoice PDF.

expiresAt, string date-time

Date and time after which the download URL is no longer valid.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status