Eko Platform Services Logo

    GETGet Operator Code and Circle

    Auto-detect a mobile number's recharge operator code and telecom circle.

    GET/customer/payment/bbps/recharge/{customer_mobile}/operator

    Returns the phone_operator_code and circle_area for a customer mobile number — returned under dependent_params. Pass these into Get Recharge Plans.

    Path parameters

    customer_mobilestringRequired

    Customer's mobile number.

    example: 9876543210

    Query 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

    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.

      • dependent_paramsarray

        Resolved operator/circle as name-value pairs (phone_operator_code, circle_area) — returned at the top level, not under data.

        • namestring

          Parameter name (phone_operator_code or circle_area).

        • valuestring

          Parameter value.