| Header | Description |
|---|---|
myAppId | Application identifier used for service authentication |
service-key | Unique service key provided for accessing the verification service |
Authorization | API authorization credentials for secure access |
Content-Type | Specifies the request payload format (application/json) |
| Parameter | Type | Description |
|---|---|---|
lpgId | String | Unique 17-digit LPG ID associated with the connection |
documentType | String | Specifies the verification type (lpg id verification) |
| Field | Description |
|---|---|
ok | Indicates whether the request was successful (true / false) |
message | Status message describing the result |
result.request_id | Unique identifier for the verification request |
result.status_code | Status code indicating the verification result |
result.consumer_name | Name of the LPG consumer |
result.consumer_no | Consumer number associated with the LPG connection |
result.distributor_name | Name of the LPG distributor |
result.consumer_address | Registered address of the consumer |
error | Contains error details if the request fails |
curl --location --request POST 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v3_app' \
--header 'service-key: sk_test_a9944179bc598f06' \
--header 'Authorization: x-api-access indc_test_a41eaf2a175f3b13:ac_test_bf7117f6da6c6285' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "mutation VerifyLPG {\r\n verify(\r\n input: {\r\n documentType: \"lpg id verification\"\r\n lpgId: \"10000000068974155\" \r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n __typename\r\n ... on LPGVerificationResult {\r\n request_id\r\n status_code\r\n consumer_name\r\n consumer_no\r\n distributor_name\r\n consumer_address\r\n }\r\n }\r\n error {\r\n status\r\n message\r\n decryptedError\r\n }\r\n }\r\n}\r\n",
"variables": {}
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"result": {
"__typename": "LPGVerificationResult",
"request_id": "ff50b77e-a658-4f24-8a8e-0adc76847af2",
"status_code": "101",
"consumer_name": "MR. SANTOSH A TUPERE",
"consumer_no": "68974155",
"distributor_name": "",
"consumer_address": ""
},
"error": null
}
}
}