On-init OTP verification issue

Hi @IntegrationSupport, In the On-init APIs the OTP is sent from HIP and it is confirmed via PHR App but how should the HIP Know that the OTP is verified. Is there any callback will come?

@Abishekbv You have to call auth confirm api after that for verification-

curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/confirm
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cGYJibdYknXWH5RanyYmE29vaxjOG7tV_rigXIveAp1kbTdbz3FzL9JZMyksjrgNS9BfDlE-nrStPg1U9CI_pjt1h39YDY84IWZRKS2EeM4rBfwd7hc4F0Bh4XqyXucMbbzmVKxAzLVhs08z0ltMwtCmW3y1o0T3SVuRrkITWRM7bioNRYYg1Bans3vHEg’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–data ‘{
“requestId”: “157d140c-c22a-4101-a909-f9bf276cfa69”,
“timestamp”: “2023-11-22T12:29:05.743Z”,
“transactionId”: “731fa5cd-3fd7-40de-825e-7f9303b7b713”,
“credential”: {
“authCode”: “140071”
}
}’

Also, please go through the documentation section which is segregated -
https://sandbox.abdm.gov.in/abdm-docs/MileStone_two