Download a Report File
Get a link to download a report file.
This request returns the report file metadata together with a link, which is a short-lived URL used to download the report content. The link is valid for 15 minutes from the time the request is made. Once it expires, a new link must be generated to access the file again.
A report file is available for 30 days from the date it is created. The expiresAt field indicates the actual expiration date of the report file. This request returns a 404 Not Found response if the file does not exist or has already expired.
authorizationAuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
OK
*/*Time at which the object was created. In ISO 8601 format.
Time at which the report file expires and can no longer be downloaded. In ISO 8601 format. Not the link expiry, which is shorter.
Name of the report file.
File format. CSV is comma-separated values.
Unique identifier for this report file.
Short-lived URL used to download the report content. Valid for 15 minutes from the time the request is made.
Report date, in the format YYYY-MM-DD.
Report file type. DBS_CREDIT_CARD_SETTLEMENT_REPORT is the DBS credit card settlement report.
Time at which the object was last updated. In ISO 8601 format.
curl -X POST 'https://api.tryacme.com/v1/report-files/string/download'{
"createdAt": "string",
"expiresAt": "string",
"fileName": "string",
"format": "string",
"id": "string",
"link": "string",
"reportDate": "string",
"type": "string",
"updatedAt": "string"
}