curl --location 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'service-key: sk_test_bf78b31a4b9275ca' \
--header 'Authorization: x-api-access indc_test_8cdbb53b09f50c3c:ac_test_bd6e115254f11a58' \
--header 'providercode: K2GE7KOC' \
--header 'Content-Type: application/json' \
--data '{
"query": "mutation Verify($input: VerifyInput!) {\r\n verify(input: $input) {\r\n ok\r\n message\r\n status\r\n result {\r\n ... on BankAccountVerificationJBResult {\r\n status_code\r\n is_error\r\n message\r\n data {\r\n verification_type\r\n account_number\r\n ifsc_code\r\n vpa\r\n account_holder_name\r\n is_verified\r\n message\r\n }\r\n }\r\n }\r\n error {\r\n status\r\n message\r\n raw\r\n }\r\n }\r\n}\r\n",
"variables": {
"input": {
"documentType": "bank-account-verification-jb",
"bank_account_number": "924010073885409",
"bank_ifsc_code": "UTIB0000404"
}
}
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"status": 200,
"result": {
"status_code": 200,
"is_error": false,
"message": "Verfication Details.",
"data": {
"verification_type": "bank_account",
"account_number": "924010073885409",
"ifsc_code": "UTIB0000404",
"vpa": null,
"account_holder_name": null,
"is_verified": false,
"message": "Beneficiary Verification Failed."
}
},
"error": null
}
}
}