action increase_create_a_file { label: "Create a File" description: "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." provider: increase method: POST path: "/files" encoding: json output: { type: "object" description: "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)." required: ["created_at", "description", "direction", "download_url", "filename", "id", "purpose", "type"] properties: { created_at: { type: "string" format: "date-time" description: "The time the File was created." } description: { type: "string" description: "A description of the File." } direction: { type: "string" description: "Whether the File was generated by Increase or by you and sent to Increase." enum: ["to_increase", "from_increase"] } download_url: { type: "string" description: "A URL from where the File can be downloaded at this point in time. The location of this URL may change over time." } filename: { type: "string" description: "The filename that was provided upon upload or generated by Increase." } id: { type: "string" description: "The File's identifier." } purpose: { type: "string" description: "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." enum: ["check_image_front", "check_image_back", "form_1099_int", "form_ss_4", "identity_document", "increase_statement", "other", "trust_formation_document", "digital_wallet_artwork", "digital_wallet_app_icon", "entity_supplemental_document"] } type: { type: "string" description: "A constant representing the object's type. For this resource it will always be `file`." enum: ["file"] } } } }