cURL
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>" }
Generates and returns the Stripe invoice download URL for the given invoice ID.
The Stripe invoice ID to generate the download link for
"h5v6Ae11"
Successfully generated invoice PDF URL
Direct PDF URL of the Stripe invoice