File
File is used to manage uploaded documents.

Properties
Id "string", "variable", "expression"\
The id of the file that will be sent after selecting a file action, to identify which file was selected.
Value "expression"
| required
The value will be either DOWNLOAD
or REMOVE
, according to which of the file actions has been triggered.
Name "string", "variable", "expression"
The text of the name displayed should be the file name. We recommend using short labels for easy scanning.
Status value "string", "variable", "expression"
| required
This requires the status value that the document currently has. It is limited to one of the following values: LOADING
, ERROR
, IN_PROGRESS
, UNDER_REVIEW
, COMPLETED
or DECLINED
.
Status mapping "table"
| required
The status value can be mapped here to show a different label for each of them.
Name | Type | Description |
---|---|---|
Status value | "string", "variable", "expression" | Value to match with the component status value. |
Status label | "string" | multilanguage | Label for the value. |
Customer ID at Toqio "expression"
Identifier of the customer on Toqio for downloading the document.
Merchant ID at Toqio "expression"
Identifier of the merchant on Toqio for downloading the document.
The Merchant ID property is only used for the Merchant's portal (SME platform). If you want to use the component on other platforms, you can omit this field.
Document Key at Toqio "expression"
Identifier of the document for downloading the document. If you use the component with the File Upload component, you will get the document key after uploading a file.
If all of the parameters above do not exist, use the current behaviour, saving the action “DOWNLOAD” on the value expression
Can remove file "boolean"
If the file can be removed, this option must be enabled. It defaults to true.
Margin top "number"
Add space equivalent to the number of indicated pixels to the top margin.
Margin bottom "number"
Add space equivalent to the number of indicated pixels to the bottom margin.
Updated 3 days ago