Create an identity document for the kyc verification
Create an identity document for the kyc verification.
Path parameters
-
User id
-
Identity or Legal representative id
POST /users/{user_id}/kyc/identities/{identity_id}/kyc_verification/identity_document
curl \
-X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/kyc/identities/{identity_id}/kyc_verification/identity_document \
-H "Content-Type: application/json" \
-d '{"identity_document":{"country":"string","document_type":"string","issue_date":"2023-05-04","issued_by":"string","nationality":"string","number":"string","valid_until":"2023-05-04"}}'
Request example
{
"identity_document": {
"country": "string",
"document_type": "string",
"issue_date": "2023-05-04",
"issued_by": "string",
"nationality": "string",
"number": "string",
"valid_until": "2023-05-04"
}
}
Request examples
{
"identity_document": {
"country": "string",
"document_type": "string",
"issue_date": "2024-05-04",
"issued_by": "string",
"nationality": "string",
"number": "string",
"valid_until": "2024-05-04"
}
}
Response examples (201)
{
"id": "string",
"kyc_verification_id": "string",
"country": "string",
"document_type": "string",
"issue_date": "2023-05-04",
"issued_by": "string",
"nationality": "string",
"number": "string",
"valid_until": "2023-05-04",
"created_at": "string",
"updated_at": "string"
}
Response examples (201)
{
"id": "string",
"kyc_verification_id": "string",
"country": "string",
"document_type": "string",
"issue_date": "2024-05-04",
"issued_by": "string",
"nationality": "string",
"number": "string",
"valid_until": "2024-05-04",
"created_at": "string",
"updated_at": "string"
}