CKYC 2.0 Implementation Guide for Developers
Prepare a CKYC 2.0 client from an approved contract. Review access, certificates, consent, schemas, retries, testing, and production evidence.
Build a CKYC client from the current contract supplied to your authorized reporting entity. Keep a versioned test plan beside it. Confirm credentials, certificates, consent, retry behavior and production approval before using live customer records.
This guide provides an implementation framework. It does not reproduce a current authorized API schema or claim that every reporting entity follows one fixed call sequence.
Confirm access before choosing endpoints
CERSAI's June 2026 circular describes integration documentation, onboarding, API security and testing for reporting entities. It names a simulation environment for that release. Obtain the current environment and document directly through your authorized access route. CERSAI integration circular, mirrored copy.
Keep legacy testbed instructions separate from a new environment's credentials. A familiar hostname does not prove compatibility. A pilot or mock run does not establish production authorization.
For the registry's purpose and responsible parties, read the CKYC overview.
Complete the contract worksheet
| Item | Value your implementation must record |
|---|---|
| Document identity | Exact title, version and issue date |
| Authority | Current circular and responsible reporting entity |
| Operation | Search, retrieval, creation or update supported by that contract |
| Endpoint | Approved environment, host, path and method |
| Authentication | Credential owner and permitted authentication method |
| Message protection | Required signature, encryption and certificate rules |
| Input schema | Mandatory fields, allowed codes and customer type |
| Consent | Required interaction, proof and expiry |
| Response | Success, pending, rejection and ambiguous outcomes |
| Retry | Idempotency, request reference and reconciliation behavior |
Leave an unresolved row open. Do not infer a field from an old sample or a different vendor's wrapper API.
Separate business states from transport responses
Model each authorized operation as a state transition. A successful network exchange can still return a pending or rejected business result. A timeout can occur after the remote system has accepted a submission.
Prepared -> Authorized -> Submitted -> Accepted
| |
v v
Uncertain Reconciled
|
v
Contract-defined status checkThis is an application design example. Use the contract's actual result codes and permitted status checks. Avoid retrying a state-changing submission until you can determine its outcome.
Keep the request reference and response category in the operational log. Put any necessary customer payload in its separately controlled processing boundary.
Implement consent according to the active contract
Identify who requests consent, who validates any challenge and what evidence the reporting entity must retain. Separate “challenge sent” from “challenge completed.” Keep OTP values out of logs and support tickets.
Do not invent your own consent token and assume the registry accepts it. Do not describe date of birth or a registry identifier as an authentication factor. Those values can be known by another person.
Use account access controls for the customer and operator sessions around the registry interaction.
Review Aadhaar and document handling separately
Follow the applicable regulator's requirements and the actual accepted evidence route. Map masking and field handling to the contract and purpose. An application's preference to store fewer fields cannot override a specific recordkeeping duty.
An offline XML signature, a DigiLocker download integrity check and an issuer document signature are different checks. Record exactly which one ran. NamoID's current driving-licence preview reports independent issuer-signature verification as not_verified. DigiLocker check boundaries.
The Aadhaar adapter returns parsed fields and verification flags without writing a verification record. Your consumer must evaluate those flags and control any later storage. Aadhaar XML verification.
Test failures before the production review
Use the CKYC contract and test worksheet. Populate the expected outcome from the approved contract.
- Confirm the entity and environment for each test.
- Test a valid request with approved test data.
- Test missing and malformed mandatory fields.
- Test expired or invalid credentials and certificates.
- Test declined or incomplete consent.
- Test a timeout after submission.
- Test reconciliation before retrying that submission.
- Confirm that diagnostics exclude secrets and customer records.
- Record the document version and observed result.
Use synthetic data unless the provider explicitly authorizes another testing arrangement. Keep the contract's production sign-off separate from your local test results.
Handle certificate and field questions with evidence
For a certificate error, check the configured environment, credential identity, expected certificate role and validity period. Compare the actual failure stage with the documented error. Do not disable signature verification to make a request succeed.
For a field error, record the schema version, customer type and field path. Use synthetic values in a support example. Confirm whether the request was rejected before processing or requires reconciliation.
Review the surrounding access design with NamoID
NamoID engineers can help review account binding, operator access and the identity evidence around the integration. CERSAI and the responsible entity control registry access and approval.
Share your stack, contract version and a redacted failure stage in Slack for an early response. Contact the NamoID team