POST /api/request_pan.php

Request New PAN & Correction

Initiate new PAN or correction

Live API Testing

Parameters

api_key String Req
Ex: YOUR API KEY
number String Req
Ex: 9876543210
pan_mode String Req
Ex: EKYC
pan_type String Req
Ex: new_pan
return_url String Req
Ex: https://demo-return.com/callback
orderid String Req
Ex: PAN-DEMO-12345

Success

{
    "status_code": 200,
    "status": "SUCCESS",
    "message": "Generated Redirecting URL Successfully",
    "redirecting_url": "/api/redirecting.php?txnid=DEMO-TXN-12345",
    "txnid": "DEMO-TXN-12345"
}

Errors

Error 400
{
    "status_code": 400,
    "status": "FAILED",
    "message": "Mobile number is required"
}
Error 401
{
    "status_code": 401,
    "status": "FAILED",
    "message": "Invalid API Key"
}