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": "https://cb-downloads-dev.s3.amazonaws.com//invoice_rI8lOV4vCCpI.pdf",
"valid_till": 1528093653
}
API Index URL GET
https://{site}.chargebee.com/api/v1/downloads
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.
This is a list of the event types we currently support. We will continue
to add more events moving forward. All events follow a uniform pattern -
<resource>_<event_name>. The resources that will be
present in the event content are provided beneath each event type's
description.
Note: If consolidated invoicing is enabled, the
attributes invoice.subscription_id and
credit_note.subscription_id should not be used
(as it will not be present if the invoice / credit note has lines from
multiple subscriptions). Instead to know the related subscriptions,
their line_items' subscription_id attribute should be referred.
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.