Upload file by url.
POSTDescription: Retrieve a file URL to upload. When your upload finish, send the confirmation and you can download your file./storage/upload
Request
Header Parameters
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- application/json
Body
required
The reference file date. Format: YYYY-MM-DD.
The name of the file with extension.
Folder name. The requested value will be concatenated with the identifier of the user making the request.
File type.
The destination gateway for this file.
Responses
- 200
- 400
- 401
- 422
File URL returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
File ID
File URL
{
"file_id": "string",
"url": "https://s3.amazonaws.com/bucket/folder/file.csv"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.