| 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 |
|---|---|---|
consumerId | String | Unique consumer or customer ID associated with the electricity connection |
mobile | String | Registered mobile number linked to the electricity account |
documentType | String | Specifies the verification type (electricity bill 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.bill_amount | Total electricity bill amount |
result.due_date | Due date for bill payment |
result.customer_name | Name of the electricity consumer |
result.customer_address | Registered address of the consumer |
result.mobile | Registered mobile number |
result.email | Registered email address |
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 VerifyElectricityBill {\r\n verify(\r\n input: {\r\n documentType: \"electricity bill verification\"\r\n consumerId: \"338550000670\" \r\n mobile: \"9890183118\"\r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n __typename\r\n ... on ElectricitBillVerificationResult {\r\n request_id\r\n status_code\r\n bill_amount\r\n due_date\r\n customer_name\r\n customer_address\r\n mobile\r\n email\r\n }\r\n }\r\n }\r\n}\r\n",
"variables": {}
}'{
"data": {
"verify": {
"ok": true,
"message": "string",
"result": {
"__typename": "string",
"request_id": "string",
"status_code": "string",
"bill_amount": "string",
"due_date": "string",
"customer_name": "string",
"customer_address": "string",
"mobile": "string",
"email": "string"
}
}
}
}