Skip to main content
POST
https://api.stablepay.global
/
v2
/
users
/
{userId}
/
kyc
/
pan
/
verify
Verify PAN
curl --request POST \
  --url https://api.stablepay.global/v2/users/{userId}/kyc/pan/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "panNumber": "<string>",
  "deviceId": "<string>"
}
'

Verify PAN

Verifies the user’s PAN card against government database.
panNumber
string
required
10-character PAN number (e.g., ABCDE1234F)
deviceId
string
required
Device fingerprint/ID for FIU compliance. Must be captured from the client device.

Request

curl -X POST https://api.stablepay.global/v2/users/usr_abc123/kyc/pan/verify \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "panNumber": "ABCDE1234F",
    "deviceId": "device-fingerprint-12345"
  }'

Response

{
  "success": true,
  "data": {
    "verified": true,
    "name": "RAHUL KUMAR",
    "maskedPan": "XXXX1234F"
  }
}

Errors

CodeDescription
PAN_INVALIDInvalid PAN format
PAN_NOT_FOUNDPAN not in government database