This POST endpoint is used to upload one or more files in response to a file upload request.
You must specify both the user_token
and the file_upload_token
in the URL path to identify which user and file upload request the files should be associated with.
In the request body, you must include the files_type
to indicate the type of documents being uploaded (e.g., Bank Statement, Paper Check, etc.) along with an array of files
. Each file object requires the original file_name
(with extension) and its Base64-encoded file_content
.
The service supports multiple file uploads in a single request. Each uploaded file is validated against the expected file types defined in the original file upload request.
The response will confirm whether the upload was successful and return the status of the operation. Upload attempts with invalid file types, corrupted Base64 content, or files exceeding allowed limits will result in an error.
post https://{environment}.masspay.io/{VERSION}/payout/file_uploads//