cURL
curl --request POST \ --url https://mock-api.cevro.ai/v1/players/{playerId}/kyc/documents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Session-ID: <x-session-id>' \ --data ' { "type": "id_card", "expires_at": "2023-12-25" } '
Submit a new KYC document for verification. In production, this would handle file upload.
API Bearer token. For this demo, any non-empty string is accepted.
id_card
passport
drivers_license
proof_of_address
bank_statement
utility_bill
selfie
source_of_funds
Document expiry date (for ID documents)
Document submitted successfully