Skip to main content
Seyaha calls POST /bookings/{externalBookingId}/cancel when a confirmed, paid booking is cancelled by the customer or a Seyaha operator. The externalBookingId path parameter is the value you returned in externalBookingId from POST /bookings/confirm.
This endpoint is optional. If you don’t implement it, cancellations on Seyaha will not propagate to your platform. You would need to handle the reconciliation manually or via a separate notification channel.

Request

Path parameter

Request body (optional)


Response

Response body


Full flow example


Implementation notes

Cancellation does not automatically process a refund via Seyaha’s payment system. Seyaha handles refunds on its side independently. On your side, cancel the booking and restore slot availability — do not attempt to charge or refund through this call.
  • Timeout: 10 seconds
  • Restore the slot’s vacancies so other customers can book the freed spot.
  • If the booking ID does not exist on your side, return 200 with success: true — Seyaha has already cancelled it internally.
  • Implement idempotency — multiple cancel calls for the same booking should always return 200.