Get file upload requests by user token
Changed onThis GET endpoint retrieves the list of file upload requests associated with a specific user.
<br> You must provide the user_token in the URL path to identify the user.
<br> Each file upload request includes the file_upload_token, the types of files accepted (files_types_accepted), the time when the request was created, and whether the request is required to proceed with payouts.
<br> The response also includes any referenced attributes (ref_attributes) that link the file request to specific data, such as bank account details or other identifiers.
<br> You can use the optional query parameter only_required to filter results and return only those file upload requests that are mandatory.
<br> The response will be an array of file upload requests, which can then be used to determine what documents need to be uploaded by the user.
<br> Rejected requests are returned with status rejected, time_rejected, rejection_reason (when given) and replacement_file_upload_token; they no longer count toward any requirement.
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
When set to true, will only return required file upload requests. Otherwise, return also optional
When set to true, will only return incomplete file upload requests, otherwise return all
Response
OK
Example response
[
{
"file_upload_token": "file_req_f8d2f013-58cd-4ccc-b12d-c373f4d89eab",
"files_types_accepted": [
"Bank Deposit"
],
"note": "Enter all pages of the utility bill"
}
]Changes
- 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 - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info