Get Files
Changed onRetrieves metadata for files associated with a specific issuer/organization. This endpoint supports pagination and sorting options to efficiently navigate through potentially large sets of file metadata. <b>Required scopes:</b> files.read
Request
- Base URLhttps://rewards-api.getkard.com
- URLhttps://rewards-api.getkard.com/v2/issuers/{organizationId}/files/metadata
- AuthHTTP bearer
Path parameters
Your issuer organization ID, provided by Kard
Query parameters
Start of the range, applied to the file's original send date (sentAt), which a regenerated file keeps (format ISO8601). If not provided, defaults to current date minus 1 month.
End of the range, applied to the file's original send date (sentAt), which a regenerated file keeps (format ISO8601). If not provided, defaults to current date.
Type of an issuer file. payoutReconciliationFile is the payout (monthly) reconciliation file; monthlyReconciliationFile is its deprecated alias, accepted in filter[fileType] and echoed back in type when used, to be removed in a later version. cardlinkedReconciliationFile is the daily card-linked reconciliation file (cardlinked-reconciliation-YYMMDD.json).
File type to return. payoutReconciliationFile and its deprecated alias monthlyReconciliationFile return the same files; type on each record echoes the name used in the filter.
Number of items per page. Defaults to 10 if not specified and maximum value allowed 100 items per page.
Cursor for forward pagination (next page).
Cursor for backward pagination (previous page).
If provided, response will be sorted by the specified fields. Defaults to descending sentDate, equivalent to "-sentDate"
Response
Response with status 200
Changes
- warning
added the new
cardlinkedReconciliationFileenum value to the//response property for the response status - info
added the new enum value
cardlinkedReconciliationFileto thequeryrequest parameterfilter[fileType]
- warning
- warning
added the new
payoutReconciliationFileenum value to the//response property for the response status - info
added the new enum value
payoutReconciliationFileto thequeryrequest parameterfilter[fileType] - info
added the non-success response with the status
- warning