Defines the object schema located at components.schemas.file in the specification.
This is an object representing a file hosted on Stripe's servers. The file may have been uploaded by yourself using the create file request (for example, when uploading dispute evidence) or it may have been created by Stripe (for example, the results of a Sigma scheduled query).
Related guide: File Upload Guide.
Constructors
FilefileCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
fileExpiresAt :: Maybe (Nullable Int)expires_at: The time at which the file expires and is no longer available in epoch seconds.
fileFilename :: Maybe (Nullable Text)filename: A filename for the file, suitable for saving to a filesystem.
Constraints:
Maximum length of 5000
fileId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
fileLinks :: Maybe (Nullable FileLinks'NonNullable)links: A list of file links that point at this file.
filePurpose :: FilePurpose'purpose: The purpose of the uploaded file.
fileSize :: Intsize: The size in bytes of the file object.
fileTitle :: Maybe (Nullable Text)title: A user friendly title for the document.
Constraints:
Maximum length of 5000
fileType :: Maybe (Nullable Text)type: The type of the file returned (e.g., `csv`, `pdf`, `jpg`, or `png`).
Constraints:
Maximum length of 5000
fileUrl :: Maybe (Nullable Text)url: The URL from which the file can be downloaded using your live secret API key.
Constraints:
Maximum length of 5000