Aadhaar Back Extraction
Extracts the address and Aadhaar number from the back of an Aadhaar card.
Content-Type: application/json
Headers
| Header | Type | Required | Description |
|---|---|---|---|
key | string | Yes | API key issued for authentication. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
recordId | string | Yes | Unique ID you assign to correlate the request with the response. |
image | string | Yes | Base64 string / data URI of the Aadhaar back image. |
Example
POST/pcs/aadhaar/back
curl --location 'https://sandbox/pcs/aadhaar/back' \
--header 'key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"recordId": "1",
"image": "data:image/png;base64,<BASE64_STRING>"
}'200
{
"recordId": "1",
"dataRetrievalStatus": "SUCCESS",
"data": {
"address": "address-string",
"aadharNumber": "aadhaar-number-string"
},
"utc_time_stamp": "25/06/2024, 07:45:32"
}Response
| Field | Type | Description |
|---|---|---|
recordId | string | Echoes the recordId sent in the request. |
dataRetrievalStatus | string | SUCCESS when data was extracted. |
data.address | string | Full address as printed on the card. |
data.aadharNumber | string | Aadhaar number. |
utc_time_stamp | string | UTC timestamp of the response, DD/MM/YYYY, HH:mm:ss. |
Error handling
200 on success, 422 on a validation error — see
Error handling for the common error shape.