Preview the cancellation refund
Computes — read-only, no side effect — what cancelling this booking right now would refund: the cancellation tier that applies, the net amount deducted from the next settlement, the indicative gross to refund the customer, and the deadline until which cancellation is still free. Uses the same calculator as POST /bookings/{booking_number}/cancel, so the figures match exactly. Evaluated at the current server time.
Authorizations
API key authentication. Issued by the Safariat admin or via the partner portal. The secret is shown only once at generation.
Production sk_live_* keys must additionally sign every write request
(POST/PUT/DELETE) with the X-Timestamp and X-Signature headers.
Sandbox sk_test_* keys are exempt from request signing: X-Signature and
X-Timestamp are not required for writes in the sandbox (so the developer-portal
"Try it" playground works end to end). The Idempotency-Key header remains
required on writes in both environments.
Path Parameters
Safariat booking number (format MV-XXXXXX). In the sandbox, create a booking first (POST /bookings) and use the returned number here.
^MV-[A-Z0-9]{6}$Response
Cancellation quote computed (no change made)
Server time at which the quote was computed.
Omitted when no tier matched (full or zero refund applies).
Last instant a cancellation still yields the maximum refund tier. null when there is no free-cancellation tier.