Transactions & ReportingReport Files

List Report Files

GET
/v1/report-files

Authorization

authorization
AuthorizationBearer <token>

Set Your Secret API Key

In: header

Query Parameters

after?string

An object ID used as a cursor in pagination. If a list request returns 100 objects ending with obj_0KSEVXZ2ZF0AV, a subsequent call can include after=obj_0KSEVXZ2ZF0AV to fetch the next page of the list.

limit?integer

A limit on the number of objects to be returned, between 1 and 100.

Formatint32
order?string

Sort list objects in either ascending or descending order.

Value in

  • "ASC"
  • "DESC"
reportDate?string

Retrieve only report files with this report date. Specify an exact date in the format YYYY-MM-DD. This is an exact match, not a range. Please note that this parameter is currently subject to availability of report date in the file name.

Formatdate

Response Body

*/*

curl -X GET "https://example.com/v1/report-files"
{  "data": [    {      "createdAt": "string",      "expiresAt": "string",      "fileName": "string",      "format": "string",      "id": "string",      "reportDate": "string",      "type": "string",      "updatedAt": "string"    }  ],  "hasMore": true}