cURL
curl --request POST \ --url https://app.mlm-platform.com/api/v1/members/{userId}/kyc/documents \ --header 'Content-Type: application/json' \ --header 'x-tenant-api-key: <api-key>' \ --data ' { "documentType": "government_id_front", "fileName": "<string>", "mimeType": "<string>", "fileSize": 123, "filePath": "<string>" } '
200
Example
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "documentType": "<string>", "fileName": "<string>", "mimeType": "<string>", "fileSize": 123, "status": "<string>", "createdAt": "2023-11-07T05:31:56Z"}
Records KYC document metadata.
filePath
POST /kyc/documents/upload-url
Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.
government_id_front
government_id_back
passport
proof_of_address
selfie
Document recorded