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).
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"}.
| Website ref | Guest | Dates | Room | Status | Payment |
|---|---|---|---|---|---|
| Tafadzwa Dube | 2026-12-25 → 2026-12-30 | 4 | CONFIRMED | Company booking | |
| Kudzai Mokoena | 2026-12-18 → 2026-12-20 | 3 | CONFIRMED | Company booking | |
| Sarah Mpofu | 2026-12-14 → 2026-12-16 | 5 | CONFIRMED | Company booking | |
| Sipho Nkomo | 2026-12-13 → 2026-12-16 | 21 | HOLD | ||
| Precious Dube | 2026-12-12 → 2026-12-14 | 7 | CONFIRMED | ||
| Precious Gumede | 2026-12-12 → 2026-12-15 | 10 | HOLD | ||
| Peter Marufu | 2026-12-07 → 2026-12-10 | 31 | CONFIRMED | Company booking | |
| Thandiwe Naidoo | 2026-12-06 → 2026-12-09 | 7 | CONFIRMED | ||
| Sarah Botha | 2026-12-05 → 2026-12-07 | 23 | CONFIRMED | Company booking | |
| Sarah Chikwanha | 2026-12-04 → 2026-12-09 | 26 | HOLD | Company booking | |
| Peter Phiri | 2026-12-04 → 2026-12-06 | 4 | CONFIRMED | Company booking | |
| Nokuthula Gumede | 2026-12-03 → 2026-12-06 | 17 | CONFIRMED | Company booking | |
| Grace Ndlovu | 2026-12-02 → 2026-12-04 | 20 | CONFIRMED | Company booking |
| Nothing yet. |