The webhook event is triggered when a user attempts to verify the OTP. Upon receiving this webhook, the HIP should validate the OTP generated during the discover link init event. If the OTP is valid, the HIP should proceed to link the care context.

Request

Headers: Body:
{
  "service": "abdm",
  "event": "abha.context_discover_link_confirm",
  "event_time": 1750317942,
  "transaction_id": "<webhook transaction id>",
  "timestamp": 1750317942,
  "business_id": "77237637763817",
  "client_id": "77237637763817",
  "data": {
    "linkRefNumber": "temp",
    "request_id": "546f3465-30fa-4894-89f4-b884a2683fdf",
    "token": "111111",
    "hip_id": "<partner hip id>",
    "oid": "<eka user id>",
    "partner_patient_id": "<partner user id>"
  }
}