Skip to main content
POST
/
download-stripe-invoice
Download Invoice
curl --request POST \
  --url https://app.closerx.ai/api/download-stripe-invoice/ \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "invoice_id": "h5v6Ae11"
}
'
{
  "invoice_pdf_url": "<string>"
}

Authorizations

api_key
string
header
required

Body

application/json
invoice_id
string
required

The Stripe invoice ID to generate the download link for

Example:

"h5v6Ae11"

Response

Successfully generated invoice PDF URL

invoice_pdf_url
string<uri>

Direct PDF URL of the Stripe invoice