Skip to main content
POST
Cancel bookings

Authorizations

Authorization
string
header
required

Your brand's secret API key, e.g. Bearer way_sk_live_bhEqcn0i1fRoUEHBPjJkQA. The key names the brand, so a brandId in the path must be your own brand. Older Way-Brand-Id + Way-Secret-Key credentials still work: see Legacy authentication.

Headers

Way-Brand-Id
string<uuid>

Narrows an organization key's response to a single brand. Ignored with a brand key, which already names its brand.

Body

application/json
bookings
object[]
required

Bookings to cancel or refund. Each item is processed independently.

Response

Success.