Upload Identity Document
Uploads a document (e.g. passport scan, driver’s licence) for a specific identity check request. The file is submitted as a multipart form upload.
Authentication
Requires a valid customer bearer token.
Path Parameters
Numeric identifier of the identity check request.
Request Body
Multipart form data with the document file.
Response
Returns a 200 OK on successful upload.
Examples
Upload a document
POST /api/public/identityChecks/documents/upload/15
Authorization: Bearer {token}
Content-Type: multipart/form-data
[file data]
TypeScript Integration
import endpoints from '@/api/endpoints'
const formData = new FormData()
formData.append('file', file)
await httpClient.post(endpoints.identity.upload(15), formData)