Authentication & Headers

Send every API call using POST or GET. Include your API key in the request header.

Base Gateway Endpoint:
https://api.manacsc.info/gateway.php?service={SERVICE_CODE}
Required Headers:
Content-Type: application/json
X-API-KEY: YOUR_API_KEY_HERE

How to Send a POST Request

  1. Open Postman and select POST.
  2. Copy the service endpoint URL shown below.
  3. In Headers, add Content-Type: application/json and X-API-KEY: your_api_key.
  4. Open Body → raw → JSON, paste the JSON request body, then click Send.
RC Manual 2 — cURL Example
curl -X POST "http://localhost/api_project/gateway.php?service=RC_MANUAL_2" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: YOUR_API_KEY_HERE" \
  -d '{"engine_number":"ENG123456789"}'

Quick API Test — No JSON Needed

Choose a service, enter the required number, and send the request directly.


            
POST

1. Rice Card Verification (`RICE_CARD`)

Retrieve Rice Card details, FPS shop ID, and household member information.

Endpoint URL:
http://localhost/api_project/gateway.php?service=RICE_CARD
Request Body (JSON):
{
  "rice_card_number": "2804384271"
}
POST

3. PAN Find by Aadhaar (`PAN_FIND`)

Retrieve the full PAN number and PAN status linked to an Aadhaar card.

Endpoint URL:
http://localhost/api_project/gateway.php?service=PAN_FIND
Request Body (JSON):
{
  "aadhaar_number": "123456789012",
  "consent": true
}
POST

PAN Details Verification (PAN_DETAILS)

Retrieve verified PAN holder details after receiving customer consent.

Endpoint URL:
http://localhost/api_project/gateway.php?service=PAN_DETAILS
Request Body (JSON):
{
  "pan_number": "ABCDE1234F",
  "consent": true
}
POST

4. Driving Licence PDF Download (`DL_PDF`)

Retrieve a Base64 PDF and local file download using a licence number and date of birth.

Endpoint URL:
http://localhost/api_project/gateway.php?service=DL_PDF
Request Body (JSON):
{
  "dl_number": "AP12345678901234",
  "dob": "01-01-2000",
  "consent": true
}
POST

5. RC Manual by Vehicle No (`RC_MANUAL_1`)

Create a manual RC request using a vehicle number. It is charged immediately and returns a `request_id`.

Endpoint URL:
http://localhost/api_project/gateway.php?service=RC_MANUAL_1
Request Body (JSON):
{
  "vehicle_number": "TS09AB1234"
}
POST

6. RC Manual by Engine/Chassis (`RC_MANUAL_2`)

Send either an engine number or a chassis number.

Endpoint URL:
http://localhost/api_project/gateway.php?service=RC_MANUAL_2
Request Body Sample:
{
  "engine_number": "ENG123456789"
}
Alternative Request Body (Chassis Number):
{
  "chassis_number": "MA3EWB22S00ABCDE1"
}
GET

7. RC Manual Status Check (`RC_MANUAL_STATUS`)

Use the returned `request_id` to check the current status and retrieve the Base64/PDF file when complete.

Endpoint URL (GET Parameter):
http://localhost/api_project/gateway.php?service=RC_MANUAL_STATUS&request_id=REQ_123456
Completed Response (JSON):
{
  "status": true,
  "code": 200,
  "data": {
    "request_id": "REQ_123456",
    "status": "COMPLETED",
    "type": "binary",
    "mime": "application/pdf",
    "file_url": "storage/pdfs/doc_1_1725000000.pdf",
    "file_base64": "JVBERi0xLjQKJcTl8uXr..."
  }
}