Upload document
POST/api/v2/documents
Upload a new document for identity verification.
Document Types:
personal_id- Personal IDaddress_proof- Proof of addressbusiness_registration- Business Registrationletter_of_intent- Letter of Intent
File Requirements:
- Allowed extensions: jpg, jpeg, png, pdf
- Accepted MIME types: ["image/jpeg", "image/png", "application/pdf"]
document_id feeds documents_show, documents_update, documents_destroy and documents_files_download_file;
document.files[].role feeds documents_files_download_file.
Request
Responses
- 200
- 401
- 422
creates a new document
returns unauthorized
returns unprocessable entity