Categories
Utility APIs
  • No APIs yet
WhatsApp APIs
  • No APIs yet
SMS APIs
  • No APIs yet
Email APIs
  • No APIs yet
Business APIs
  • No APIs yet
Payment APIs
  • No APIs yet
BANKING SERVICES
Recharge APIs
  • No APIs yet
Electricity Service
  • No APIs yet
RATION SERVICES

RATION TO BASIC DETAILS

Endpoint Version: 1.0.0 | Cost: ₹1.50 per call

Endpoint Route
GET https://api.rsprint.site/api/v1/gateway/ration-basic
Description

Retrieve head of family name, FPS shop name and members count from Ration Card.

Request Headers
Header Name Value / Type Description
Content-Type string application/json
X-API-Key string your_api_key
X-API-Secret string your_api_secret
Request Parameters (JSON Body)
Parameter Name Required Type Constraint
ration_card_number string Ration Card ID
Response Headers
Header Sample Value
Content-Type application/json; charset=utf-8
X-Execution-Time-Ms 45.82 ms
Error Codes mapping
Error Code Description / Scenario
INVALID_PARAMETER One or more query parameters are incorrectly formatted.
INSUFFICIENT_BALANCE Your wallet balance is below the charge rate of this endpoint.
Code Integration
cURL Request Shell

            
Sample Success Response
{
    "status": "success",
    "data": {
        "hof_name": "S H ALAM",
        "fps_name": "Patna Coop Society",
        "members_count": 4
    }
}
Sample Error Response
{
    "status": "error",
    "message": "Authentication failed or parameter invalid"
}