Webhooks

AOA will POST a JSON payload to your registered endpoint for each of the events below.

Register your webhook endpoint

UI only — webhook delivery is not yet active.

booking.created

Fired when a customer purchases a voucher and a booking is created.

{
  "event": "booking.created",
  "data": {
    "bookingId": "cmqh...",
    "flightNumber": "NK 100",
    "route": "FLL→BOG",
    "seat": "12A",
    "pricePaid": "157.00",
    "status": "pending"
  }
}
booking.confirmed

Fired when the campaign goal is met and a voucher converts to a confirmed ticket.

{
  "event": "booking.confirmed",
  "data": { "bookingId": "cmqh...", "status": "confirmed" }
}
booking.refunded

Fired when a booking is refunded (e.g. funding goal not met).

{
  "event": "booking.refunded",
  "data": { "bookingId": "cmqh...", "amount": "157.00" }
}
listing.created

Fired when a resellable booking is listed on the marketplace.

{
  "event": "listing.created",
  "data": { "listingId": "cmqh...", "bookingId": "cmqh...", "askPrice": "189.00" }
}
listing.sold

Fired when a marketplace listing is sold to another customer.

{
  "event": "listing.sold",
  "data": { "listingId": "cmqh...", "salePrice": "189.00" }
}
esim.activated

Fired when a purchased eSIM is activated for travel.

{
  "event": "esim.activated",
  "data": { "esimOrderId": "cmqh...", "iccid": "8910...", "country": "CO" }
}