curl --request POST \
--url https://api.sandbox.co.in/kyc/aadhaar/okyc/otp/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.kyc.aadhaar.okyc.request",
"reference_id": "9020131",
"otp": "361679"
}
'Verify the Aadhaar number by passing the OTP received on the individualās registered mobile number.
curl --request POST \
--url https://api.sandbox.co.in/kyc/aadhaar/okyc/otp/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.kyc.aadhaar.okyc.request",
"reference_id": "9020131",
"otp": "361679"
}
'API key for identification
JWT access token
"in.co.sandbox.kyc.aadhaar.okyc.request"Unique reference identifier returned by the Generate OTP API for this Aadhaar verification flow. Used to correlate the OTP submission with the original request.
6-digit one-time password sent to the mobile number linked with the Aadhaar. Must be entered exactly as received and is valid only for the associated reference_id.
6^[0-9]{6}$Was this page helpful?