‹
Website bookings
🔔
Turn on phone alerts so you never miss a request.Turn on alerts

Website bookings

When the website takes a room booking it should send it here, so it shows on the Group calendar and suites availability and blocks the room, and a card payment is recorded. The website needs to be set up once to do this (a developer task).

Connection

Send bookings to:
https://retreat.spurstechnology.com/website_hook.php

Key (keep secret):
...

The website makes an HTTPS POST for each booking, and again if it changes or is cancelled. Body as JSON:

POST https://retreat.spurstechnology.com/website_hook.phpContent-Type: application/json

{
  "key": "YOUR-KEY",
  "ref": "WEB-12345",            // the website's own booking id
  "guest": "Jane Doe",
  "email": "jane@example.com",
  "phone": "+263...",
  "arrival": "2026-12-20",
  "departure": "2026-12-22",
  "room_type": "Standard",        // Standard | Premium | Executive  (or room_class: STD/PRM/EXE)
  "pax": 2,
  "rate": 70,
  "currency": "US$",
  "payment": "card",              // "card" if paid online, otherwise "checkin"
  "paid_amount": 140,             // when paid by card
  "payment_ref": "PF-abc123",
  "status": "new"                 // "new" (or change) or "cancel"
}

Reply is JSON, e.g. {"ok":true,"action":"NEW","room":"...","booking_id":..}. Sending the same ref again updates that booking instead of duplicating it. To test the key, POST {"key":"...","test":"1"}.

Recent website bookings

Website refGuestDatesRoomStatusPayment
Tafadzwa Dube2026-12-25 → 2026-12-304CONFIRMEDCompany booking
Kudzai Mokoena2026-12-18 → 2026-12-203CONFIRMEDCompany booking
Sarah Mpofu2026-12-14 → 2026-12-165CONFIRMEDCompany booking
Sipho Nkomo2026-12-13 → 2026-12-1621HOLD
Precious Dube2026-12-12 → 2026-12-147CONFIRMED
Precious Gumede2026-12-12 → 2026-12-1510HOLD
Peter Marufu2026-12-07 → 2026-12-1031CONFIRMEDCompany booking
Thandiwe Naidoo2026-12-06 → 2026-12-097CONFIRMED
Sarah Botha2026-12-05 → 2026-12-0723CONFIRMEDCompany booking
Sarah Chikwanha2026-12-04 → 2026-12-0926HOLDCompany booking
Peter Phiri2026-12-04 → 2026-12-064CONFIRMEDCompany booking
Nokuthula Gumede2026-12-03 → 2026-12-0617CONFIRMEDCompany booking
Grace Ndlovu2026-12-02 → 2026-12-0420CONFIRMEDCompany booking

Connection log

Nothing yet.