Eko Platform Services Logo

    POSTValidate Sender Aadhaar OTP

    Verify the Aadhaar OTP for a DMT Levin sender to complete identity validation.

    POST/customer/payment/dmt-levin/sender/{customer_id}/aadhaar/otp/verify

    Validates the OTP received on the sender's Aadhaar-linked mobile number in the DMT Levin flow. Use intent_id: 20 for Aadhaar validation (as opposed to intent_id: 19 for sender onboarding). On success, the sender's identity is confirmed and their DMT Levin wallet profile is updated.

    Path parameters

    customer_idstringRequired

    Sender's mobile number.

    example: 9876543210

    Body parameters

    initiator_idstringRequired

    Registered mobile number of the API user (see Platform Credentials).

    example: 9962981729

    user_codestringRequired

    User code of the retailer/agent the service is run for.

    example: 20810200

    client_ref_idstringoptional

    Unique reference id per API call, generated by your system.

    example: REQ-20260101-001

    otpintegeroptional

    OTP received on the Aadhaar-linked mobile number.

    example: 123456

    otp_ref_idintegerRequired

    Reference ID from the Validate Aadhaar (DMT Levin) response.

    example: 93847201

    intent_idstringoptional

    Set to "19" for sender onboarding or "20" for Aadhaar validation.

    example: 20

    additional_infostringoptional

    Additional info flag. Defaults to 1.

    example: 1

    Headers

    developer_keystringRequired

    Static API key issued to your account after KYC.

    secret-keystringRequired

    Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).

    secret-key-timestampstringRequired

    Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.

    content-typestringRequired

    application/json

    example: application/json

    Responses

    • statusnumber

      Primary success indicator (0 = success).

    • messagestring

      Human-readable response / error message.

    • response_status_idnumber

      Granular status id; see the shared error-codes table.

    • response_type_idnumber

      A unique id for every possible response shape (success or error) — useful for client logic branching and analytics.

    • dataobject

      API-specific response payload.

      • verifiedboolean

        True if Aadhaar OTP validation was successful.

      • namestring

        Verified sender name from Aadhaar.

      • genderstring

        Gender from Aadhaar record.

      • dobstring

        Date of birth from Aadhaar.

      • masked_aadhaarstring

        Aadhaar number with first 8 digits masked.