Real-time booking modification notification

When a booking is modified on the Holidu side, such as a change to dates, guest count, or payment schedule, Holidu can push an instant notification to your endpoint, eliminating the need to poll the GET booking details endpoint for updates.

This feature is active for Holidu Payments bookings only. Holidu POSTs a payload to your endpoint and you respond with ACKNOWLEDGED.

To enable this feature, provide your modification endpoint URL to Holidu. We will configure it on our side.


Request

Holidu sends an HTTP POST to your configured modification endpoint with the following JSON body:

ParameterTypeRequiredDescription
holiduBookingIdLongYesHolidu's internal booking ID
providerBookingIdStringYesYour reference for the booking (the externalId you returned at booking creation)
actionStringYesAlways "MODIFICATION"
paymentHandlerStringYesAlways "HOLIDU"
checkinLocalDate YYYY-MM-DDYesUpdated check-in date
checkoutLocalDate YYYY-MM-DDYesUpdated check-out date
adultsIntegerYesTotal number of adult guests
childrenIntegerYesTotal number of child guests
paymentRatesArray of objectsYesUpdated payment schedule
paymentRates[].amountNumberYesInstallment amount
paymentRates[].currencyStringYesISO 4217 currency code (e.g. "EUR")
paymentRates[].dueDateLocalDate YYYY-MM-DDYesDate the installment is due

Example

{
  "holiduBookingId": 123123123,
  "providerBookingId": "your-booking-ref-001",
  "action": "MODIFICATION",
  "paymentHandler": "HOLIDU",
  "checkin": "2025-03-10",
  "checkout": "2025-03-15",
  "adults": 2,
  "children": 1,
  "paymentRates": [
    {
      "amount": 500,
      "currency": "EUR",
      "dueDate": "2025-03-01"
    }
  ]
}

Response

Your endpoint must respond with HTTP 200 and the following JSON body:

ParameterTypeRequiredDescription
statusStringYesMust be "ACKNOWLEDGED"

Example

{
  "status": "ACKNOWLEDGED"
}

Retry and fallback behaviour

ScenarioBehaviour
HTTP 5xx from your endpointHolidu retries up to 3 times with exponential back-off (starting at 5 seconds)
HTTP 4xx from your endpointNo retry. Treated as a permanent failure
All retries exhausted / permanent failureHolidu falls back to sending a modification email notification