get https://api-v3-uat.tanda.africa/kyx/v1/countries//consumer-document-types
Retrieves the list of consumer document types required for onboarding, which must be uploaded as part of the registration process.
Fetch consumer document types
This endpoint allows an organization to retrieve all consumer document types required for onboarding within a specific country. The API returns a list of document types (e.g., National ID, Selfie) along with metadata such as document ID, description, validation rules, and country details.
Parameters:
countryId
(path): ISO country code (e.g., "KE" for Kenya
Use the following for testing
countryId: KE
Sample Response
[
{
"id": "KE.NationalID",
"name": "National ID",
"description": "NationalID",
"validator": "National",
"required": false,
"datetimeCreated": "2025-05-19T04:44:26.000Z",
"lastModified": "2025-08-27T02:57:33.000Z",
"country": {
"id": "KE",
"shortName": "Kenya"
}
},
{
"id": "KE.Selfie",
"name": "Selfie",
"description": "Selfie",
"validator": "validator",
"required": true,
"datetimeCreated": "2025-05-15T08:26:53.000Z",
"lastModified": "2025-05-18T18:12:40.000Z",
"country": {
"id": "KE",
"shortName": "Kenya"
}
}
]