Skip to content

HashCNet V1

This document provides the necessary information for interacting with the HashCNet APIs, detailing the required parameters and expected responses for both fetching user details and processing payments.

Note: Below is the list of ISPs under HashCNet and their service slugs:

  1. Askina: askina
  2. Kshireshwar Network: kshireshwar-network
  3. Life Net: life-net
  4. Limpid ICT Solution: limpid-ict-solution
  5. LNT Infotech: lnt-infotech
  6. Mega Cable Net: mega-cable-net

Type: Multi Step API

User Detail Fetch API

  • Request URL: {{base_url}}/api/servicegroup/details/hashcnet/
  • Request Method: POST

Service Params


{
    "token": "token",
    "reference": "\ unique reference\ ",
    "username": "pnt_test",
    "service_slug": "lnt-infotech"  // Service slug from above list
}

Response Example


{
    "package_name": "FOC users / 6M",
    "total_amount": 10,
    "session_id": 21,
    "status": true
}

Payment API

  • Request URL: {{base_url}}/api/servicegroup/commit/hashcnet/
  • Request Method: POST

Service Params


{
    "session_id": 172,
    "reference": "reference123",
    "token": "Test_token",
    "package_name": "FOC users / 6M",  // Package name from the service params in detail fetch API
    "amount": 1150.00
}

Response Example


{
    "status": true,
    "state": "Success",
    "message": "Successfully Completed Transaction",
    "extra_data": {},
    "detail": "Payment successfully created.",
    "credits_consumed": 1150.0,
    "credits_available": 96790035.7550002,
    "id": 5884
}