v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
IPD Webhooks

IPD Admission Estimate

When a cost estimate line item is created or updated against an IPD admission, a webhook event is sent to registered webhooks with the estimate details, including the service, rate, quantity and any discount applied.

Field Definitions

service: string - The type of service. For IPD events, this will be ipd.

event: string - The type of event. This will be ipd_admissions_estimates.created or ipd_admissions_estimates.updated.

event_time: integer - Event occurrence timestamp (epoch seconds).

transaction_id: string - Unique transaction identifier for the event.

timestamp: integer - Timestamp of the event (epoch seconds).

business_id: string - The eka ID of the business.

client_id: string - Client ID associated with the event.

data: object - Contains details about the estimate line item.

name / service_id: The estimate item name and the service identifier it refers to.

rate / quantity / discount: Pricing details for the estimate line item.

Example Webhook Request

Endpoint: https://your-registered-webhook-url.com

Method: POST

post/registered_url_for_ipd_admissions_estimates_events

Request body

servicestring required

Type of service

event'ipd_admissions_estimates.created' | 'ipd_admissions_estimates.updated' required

Type of event

event_timeinteger required

Event occurred timestamp

transaction_idstring

Unique transaction identifier for the event

timestampinteger required

Timestamp of the event

business_idstring required

Business ID for the admission

client_idstring

Client ID for the admission

Example request

{
  "service": "ipd",
  "event": "ipd_admissions_estimates.created",
  "event_time": 1782812696,
  "transaction_id": "8c2c435c-fa95-4556-9d6e-400ea2f2433d",
  "timestamp": 1782812696,
  "business_id": "7175620245483777",
  "client_id": "EC_1777984421469",
  "data": {
    "added_by": "175620245502842",
    "created_at": "2026-06-30 09:44:49.434000+00:00",
    "date": "2026-06-30 09:44:48.238000+00:00",
    "discount": {
      "category": "percentage"
    },
    "id": "8c2c435c-fa95-4556-9d6e-400ea2f2433d",
    "name": "test",
    "quantity": 1,
    "rate": 500,
    "service_id": "2961-500-7175620245483777-68ad85d786ddd9001d409348",
    "updated_at": "2026-06-30 09:44:49.434000+00:00"
  }
}