Files are objects that represent a file hosted on Increase's servers. The file may have been uploaded by you (for example, when uploading a check image) or it may have been created by Increase (for example, an autogenerated statement PDF). If you need to download a File, create a File Link.
The time the File was created.
A description of the File.
Whether the File was generated by Increase or by you and sent to Increase.
The filename that was provided upon upload or generated by Increase.
The File's identifier.
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.
The MIME type of the file.
What the File will be used for. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
A constant representing the object's type. For this resource it will always be file
.
Return the page of entries after this one.
Limit the size of the list that is returned. The default (and maximum) is 100 objects.
Return results after this ISO 8601 timestamp.
Return results before this ISO 8601 timestamp.
Return results on or after this ISO 8601 timestamp.
Return results on or before this ISO 8601 timestamp.
Filter Files for those with the specified purpose or purposes. For GET requests, this should be encoded as a comma-delimited string, such as ?in=one,two,three
.
Filter records to the one with the specified idempotency_key
you chose for that object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.
To upload a file to Increase, you'll need to send a request of Content-Type multipart/form-data
. The request should contain the file you would like to upload, as well as the parameters for creating a file.
The description you choose to give the File.
The file contents. This should follow the specifications of RFC 7578 which defines file transfers for the multipart/form-data protocol.
What the File will be used for in Increase's systems.
The identifier of the File.