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.createdFired 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.confirmedFired when the campaign goal is met and a voucher converts to a confirmed ticket.
{
"event": "booking.confirmed",
"data": { "bookingId": "cmqh...", "status": "confirmed" }
}booking.refundedFired when a booking is refunded (e.g. funding goal not met).
{
"event": "booking.refunded",
"data": { "bookingId": "cmqh...", "amount": "157.00" }
}listing.createdFired when a resellable booking is listed on the marketplace.
{
"event": "listing.created",
"data": { "listingId": "cmqh...", "bookingId": "cmqh...", "askPrice": "189.00" }
}listing.soldFired when a marketplace listing is sold to another customer.
{
"event": "listing.sold",
"data": { "listingId": "cmqh...", "salePrice": "189.00" }
}esim.activatedFired when a purchased eSIM is activated for travel.
{
"event": "esim.activated",
"data": { "esimOrderId": "cmqh...", "iccid": "8910...", "country": "CO" }
}