When a booking is created or its status changes, SCOM will send a callback with the relevant booking data.

  • Purpose & Use Cases: Get notified of order updates automatically.

  • Example for an order under the Connect listing plan:

  {
  "id": "eyJ0eXBlIjoiRXZlbnQiLCJpZCI6MjU1NDg2OX0=",
  "object": "event",
  "data": {
    "object": {
      "object": "booking",
      "stage": "making_payment",
      "currency": "GBP",
      "moveInDate": "2025-06-10",
      "moveOutDate": "2025-06-30",
      "referenceId": "IB084626017",
      "totalPrice": "124.29",
      "totalRental": "94.29",
      "totalFee": "20.00",
      "totalDeposit": "10.00",
      "roomId": "eyJ0eXBlIjoiUm9vbSIsImlkIjoxMDA3MjYzMH0=",
      "roomExternalId": null,
      "rateAvailabilityId": "eyJ0eXBlIjoiTGlzdGluZyIsImlkIjoxMDAwMzk3MzI5fQ==",
      "rateAvailabilityExternalId": null,
      "propertyId": "eyJ0eXBlIjoiUHJvcGVydHkiLCJpZCI6MTA0MjE0Nn0=",
      "propertyExternalId": null,
      "propertyName": "Instant Book property -2",
      "guarantor": null,
      "student": {
        "referenceId": "S63620-24210",
        "firstName": "A",
        "lastName": "A",
        "emailAddress": "tyra.huang+0610@student.com",
        "addressLines": "ddddd",
        "city": "shanghai",
        "state": "ddd",
        "postalCode": "dddd",
        "country": "CHN",
        "dateOfBirth": "1999-06-02",
        "gender": "male",
        "language": "zh-cn",
        "nationality": "ALB",
        "passportFirstName": "A",
        "passportMiddleName": "",
        "passportLastName": "A",
        "passportNumber": null,
        "destinationUniversity": null
      },
      "cancelledReason": null,
      "createdAt": "2025-06-10T06:00:52+00:00",
      "updatedAt": "2025-06-10T06:01:05+00:00",
      "confirmedAt": null,
      "cancelledAt": null,
      "paidAt": null,
      "lostAt": null
    }
  },
  "type": "booking.waiting_for_payment"
}