Web Hooks
Booking Creation
1 min
the booking creation web hook is fired when a booking has been made the web hook sends post json data which can then be injested into your own internal software the post data is as below { event "created", bookingid 221332, // a numeric booking id that is used internally venue 2131, // the venue id bookingdetails { name "daniel nethersole", // the name on the booking pax 3, // the number of guests booking date "2022 05 13", // the date in iso 8601 format booking time "13 00", // relative to the timezone of the account # booking length 60, // in minutes how long is the session session id 243, // the numeric session id previous visits 3, // the number of previous visits from this user session name "outside seating", // the session name email "dan\@bookingninja io", // the booking email phone "+447049201022", // the booking phone number comments "can we have pizza", // any user inputted comments allergy \["wheat", "soya"], // any user selected allergies, as per eu standard allergy position \[213, 231], // array of position(s) user has been seated at, based on the venues setup }, payment { total 231 // the total received in the local currencies lowest domination (cent, pence etc) fee 0, // the bookingninja fee, (normally 0) source "card" // either card, applepay or googlepay stripe id // the payment id from stripe } }