api/v1/customer/rank-info/{id}

GET

/api/v1/customer/rank-info/{id}

This API method will retrieve the get the ranking information for a specific customer.

Sample Request body

None Required

Sample Response

{
  "status": true,
  "item": {
    "rank": 1,
    "total_balance": 217260
  }
}
{
  "status": false,
  "errorCode": "VALIDATION_EXCEPTION",
  "messages": {
    "customer_id": [
      "customer id could not be found. Check your ID"
    ]
  }
}