Eko Platform Services Logo

    POSTValidate Aadhaar & Generate OTP

    Validate a sender's Aadhaar number and trigger an OTP to the linked mobile for DMT Levin onboarding.

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

    Submits the sender's Aadhaar number via the DMT Levin channel to initiate OTP-based Aadhaar validation. The otp_ref_id from the sender's existing profile plus the Aadhaar number are required. Returns a new otp_ref_id for the validation session. Part of the Levin DMT sender onboarding flow.

    Path parameters

    customer_idintegerRequired

    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

    aadharstringRequired

    12-digit Aadhaar number of the sender.

    example: 123456789012

    otp_ref_idstringRequired

    Reference ID returned from the Get Sender Info (or Create Sender) API for this customer.

    example: 73849201

    additional_infostringRequired

    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.

      • otp_ref_idstring

        New OTP reference ID for the Aadhaar validation session. Pass to Validate Sender Aadhaar OTP.

      • mobile_hintstring

        Masked mobile number to which the OTP was dispatched.