Files
Create a File
Changed onBefore uploading a file, you must create a File resource.
Once created, you can upload your file to the new File resource.
post/files
Request
- Base URLhttps://finix.sandbox-payments-api.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Finix-Versionstring
Example:2022-02-01
Specify the API version of your request. For more details, see Versioning.
Content-Typestring
Example:application/json
The data type being sent in the request body must be application/json.
Request body
Example request
{
"display_name": "Bank Statement",
"linked_to": "MU2n7BSovtwYsWYZF6rBnnzk"
}Response
A single File
Example response
{
"extension": "png",
"file_name": "bank_statement_01_2024.png",
"linked_to": "MU2n7BSovtwYsWYZF6rBnnzk"
}Changes
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning