PaymentMethods

Get invoice PDF access

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
  • URL: https://api.leadping.ai/payment-methods/invoices/{invoiceId}/pdf-access
  • Auth: HTTP bearer

Path parameters

invoiceIdstring required

The Stripe invoice identifier whose PDF should be accessed.

Query parameters

downloadboolean

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

Response

OK

urlstring uri

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

expiresAtstring date-time

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

Changes

No recorded changes to this operation across all 1 revision of this API.