List all files
Returns a list of the files that your account has access to. Paypercut sorts and returns the files by their creation dates, placing the most recently created files at the top.
Query Parameters
- Type: array string[] · enumpurpose
Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.
- Type: string · enum
The purpose of the uploaded file.
values- account
_requirement - additional
_verification - identity
_document
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/files
curl https://api.paypercut.io/v1/files \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"items": [
{
"id": "string",
"type": null,
"url": null,
"filename": null,
"size": null,
"purpose": "account_requirement"
}
],
"last_key": null
}
