You are viewing the documentation for Chargebee API V2. If you're using the older version (V1), click here.

Requesting to download a file through this API will return the download_url attribute as the response. This attribute will contain a URL that will allow the requested content to be downloaded.

Sample download [ JSON ]

{ "download_url": "<your-site>/invoice_rI8lOV4vCCpI.pdf", "valid_till": 1528093653 }
string, max chars=3500
The URL at which the file is available for download.
timestamp(UTC) in seconds
The time until which the download_url is valid.
optional, string, max chars=100
The media type of the file.