Eko Platform Services Logo

    GETValidate OTP-Verification-Token

    Validate an otp_verification_token as proof that OTP verification happened within the 5-minute time limit.

    GET/tools/kyc/mobile/otp/validate-token

    Validates the authenticity of an otp_verification_token issued by the Verify OTP API, proving the OTP verification was actually performed within its 5-minute validity window. Returns status = 0 when the token is valid; a timed-out or tampered/invalid token returns status = 1 with a descriptive message.

    Query parameters

    initiator_idstringRequired

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

    example: 9962981729

    otp_verification_tokenstringRequired· OTP Verification Token

    The signed JWT received from the Verify OTP API.

    example: eyJ0eXAiOiJKV1QiLCJ...5aXdrqrNcEbhfYfDsI

    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.

      • client_ref_idstring

        Unique reference id for the original OTP flow, echoed back.

      • otp_verification_tokenstring

        The token that was validated, echoed back.

      • initiator_idstring

        Registered mobile number of the API user that initiated the call.

      • mobilestring

        The mobile number the token certifies as verified.

      • tidstring

        Unique transaction id for this validation.