Certification checklist

An integration is ready for real bookings when every item below passes against a test property.

Every website#

  • Content and calendar render from a publishable key on the site's origin, sent in X-Api-Key or Authorization (from 1.4.1; ?key= is the fallback), and the same call from another origin is refused.
  • Quotes and bookings go through the site's server with the secret key, a signed request and an Idempotency-Key; the site's signer reproduces the published test vectors (request, request_empty_body, request_multi_room) and rejects every must_fail case.
  • A retried create shows one booking in the Tulo dashboard.
  • A cancel shows as a guest cancel.
  • Every error code the site can meet is handled.
  • Webhooks are verified (signature, timestamp window, one action per X-Tulo-Delivery-Id), answered within 10 seconds, and unknown events and fields are ignored.
  • A create retried after a timeout or a 5xx keeps the same Idempotency-Key and body, and a 201 with Idempotency-Persistence: degraded is kept as a made booking.

Several rooms in one booking#

Multi-room (partner API 1.4.0), when the site sells several rooms in one booking:

  • Quote N rooms. GET /quote?...&rooms=N with the whole party: the site shows selection_total for N rooms, offers only options with rooms_fit: true, starts from units_required rooms, and uses suggested_split as the default party per room.
  • Calendar for N rooms. GET /calendar?...&rooms=N disables nights that are not bookable and treats any reason (including one it does not know) as not bookable.
  • Create N rooms. POST /bookings with rooms[] (one room type, at least one adult per room, optional guest_name) creates one booking with N rooms in the Tulo dashboard; a retry with the same Idempotency-Key and body replays it and books nothing new.
  • Handle `not_enough_rooms`. A 409 no_availability with reason: "not_enough_rooms" (or fully_booked, stop_sell) sends the guest back to the dates or the room count, naming first_blocked_night and available_count; nothing was booked.
  • Show rooms on the confirmation. The confirmation and the site's booking page show room_count and each room in rooms[] (position, party, stay_total, names), with a single-room booking still shown as before.
  • Handle `booking.room_cancelled`. The site updates the booking from the webhook's rooms[] (that room cancelled or no_show, the totals without it) while the booking stays confirmed, and treats booking.updated as "re-read this booking".

When it passes#

Tell Tulo at support@mail.tulo.homes or WhatsApp +260 77 235 2417 which property the site is for, its origins and its webhook base URL, so the property's own keys and webhooks can be set up. Help for each item: test vectors, idempotency, errors, webhook verification and several rooms. Every code a site can meet is on the Errors page, keyed by code.

Questions? Email support@mail.tulo.homes or WhatsApp +260 77 235 2417.