v1

latestOpenAPI 3.1.02026-07-241012.3 KB

Verify Customer OTP

Verify a customer's mobile number via OTP

post/v3/customer/account/otp/verify

Path parameters

customer_idstring required

Mobile number of the customer

Headers

developer_keystring required

Your static API key (See Guide)

secret-keystring required

Your dynamically generated security key, unique for every request (See Guide)

secret-key-timestampstring required

The current timestamp used to generate secret-key

Request body

initiator_idstring required

The unique cell number with which you are onboarded on Eko's platform. For UAT refer to [Platform Credentials] (https://developers.eko.in/docs/platform-credentials)

user_codestring required

User code value of the retailer from whom the request is coming

otpinteger

Which you received by calling Create Customer or Resend OTP API or Get Customer Info (For Existing Customer) or Validate Aadhar on customer's number

otp_ref_idinteger required

Which you received by calling Create Customer or Resend OTP API or Get Customer Info (For Existing Customer) or Validate Aadhar

Response

200

OR
OR

Example response

{
  "response_status_id": -1,
  "data": {
    "customer_profile": {
      "total_monthly_limit": "50000.0",
      "mobile": "9444444444",
      "balance": "0.00",
      "next_allowed_limit": "5287.0",
      "name": "Karan Garg",
      "chart": [
        {
          "data_type_id": 10,
          "data": {
            "used": 44713,
            "remaining": 5287
          }
        }
      ]
    },
    "sender_name": "Karan Garg",
    "next_allowed_limit": 5287
  },
  "response_type_id": 309,
  "message": "Success!"
}
All 1 operations