A short-lived partner token, obtained by exchanging your API key at
POST /token. Send it as Authorization: Bearer <access_token>.
Tokens live for fifteen minutes by default and never for more than an hour.
Mint one per batch of work, not one per request.
The token carries the workspace and the environment its key was issued for. You
cannot change either by asking: the exchange ignores everything in the request
body for exactly that reason.
It also carries the key's scopes (scope, a list). Every operation names a
scope as x-maat-scope, and a token whose key lacks it is refused with
403 insufficient_scope, naming the scope. Scopes are fixed when a key is
issued and are re-read from the key on every request, so a key narrowed today is
narrowed on its next call — the token's scope is what the key held at exchange
time, for your own reading, never what authorizes a request.
x-maat-scope is the floor, and on nine operations it is not the whole
story.PUT and DELETE /listings/{listing_id}/quick-actions/{template_key}
carry rules:write, and additionally require pricing:write when
template_key begins pricing. — the capability depends on the template in
the path, because a cleaning fee changes what a guest pays and a minimum stay
does not. The refusal is the same 403 insufficient_scope, naming
pricing:write. The two READS apply the same requirement without erroring:
GET /listings/{listing_id}/quick-actions still lists the pricing.* rows but
withholds their applied state, and GET /listings/{listing_id}/rules omits the
pricing rules entirely and reports pricing_withheld in warnings. The five
operations that return a booking — the two booking reads, confirm, reject and
POST /sandbox/bookings — read guests:read the same way, without ever
erroring: it decides whether a booking's guest carries the guest's display name
(and, where guest contact is enabled for your workspace, email and phone) or is
null, and whether guest_note can be anything but null. These nine are the only operations in this document whose answer
depends on more than their x-maat-scope, and each of them says so
machine-readably: x-maat-scope-additional lists the second scope it can read
and x-maat-scope-additional-when says what happens without it.
Never send it as a cookie or in a query string, and never store it — store the
API key, mint tokens from it.
Body
application/json
The booking.rejected delivery.
The host declined a pending request. stay.guests reads null.
event_id
string<uuid>
required
Stable across our retries. Use it to be idempotent.
event_type
enum<string>
required
Always booking.rejected. Fixed on this schema, so narrowing on it
alone hands you this one shape.
See BookingEventType for the
seven transitions that carry this envelope.
Available options:
booking.requested,
booking.confirmed,
booking.rejected,
booking.checked_in,
booking.checked_out,
booking.cancelled,
booking.modified
Allowed value: "booking.rejected"
occurred_at
string<date-time>
required
When the thing happened, stamped in the same transaction as the fact itself — not when we prepared this delivery. A backlog, a retry or a redrive does not move it, so it is safe to sort on; two events written in one transaction share an instant, which makes it a partial order rather than a sequence number. See https://developer.maatstays.com/guides/webhook-delivery#what-occurred_at-actually-is.
data
DeveloperBookingEvent · object
required
One moment in a booking's life. All seven booking.* events share this one shape; event_type on the envelope says
which transition produced it and status says where the booking ended up.
There is no guest object and there never will be one. No name, no initial, no
email, no user id, no reference of any kind. console_url is the honest pointer:
follow it, sign in as a human, and see what a human may see.
There is also no amount_paid. The amount and its currency can only be paired
correctly inside Maat's booking service, and none of these events carries the
pair — GET /v1/bookings/{booking_reference} answers it.
Show child attributes
test
boolean
Present, and true, only on a delivery you asked for with
POST /webhooks/endpoint/test. Absent on every real event — never
false. Branch on its presence if your handler must not act on
the fixture.
Response
200
Return any 2xx to acknowledge.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Maat Stays","description":"Guides and reference for managing your Maat Stays listings, calendars, rates, bookings and reviews from your own system.","colors":{"primary":"#c5142a","light":"#ff6a74","dark":"#a8122a"},"logo":{"light":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc","dark":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=50cf3353b610a530a0657a8d261df0be"},"favicon":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/icon.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=0fcc683aa8ad70eae0ba06b5460afa34","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python","go"]}},"appearance":{"default":"system"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"maat-stays","hasAudioNarration":false,"actualSubdomain":"maat-stays","customDomains":["developer.maatstays.com"],"gitSource":{"type":"github","owner":"imustafa","repo":"geospacial","deployBranch":"main","contentDirectory":"developer-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10fc559ffae5051c41c048"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b152e6693b18845e0999d48","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"Enums","count":41},{"language":"default","tag":"Pricing","count":11},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Booking notifications","count":8},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"Calendar","count":6},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Finance","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/webhooks/booking.rejected","slug":"/api-reference/webhooks/booking.rejected","pageMetadata":{"title":"A pending request was declined","description":"Delivered when a pending request-to-book was declined — by the host in the app, or through `POST /v1/bookings/{booking_reference}/reject`.","openapi":"openapi/openapi.yaml webhook booking.rejected","href":"/api-reference/webhooks/booking.rejected"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Delivered when a pending request-to-book was declined — by the host in the app, or through \", _jsx(_components.code, {\n children: \"POST /v1/bookings/{booking_reference}/reject\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"A pending request was declined","description":"Delivered when a pending request-to-book was declined — by the host in the app, or through `POST /v1/bookings/{booking_reference}/reject`.","openapi":"openapi/openapi.yaml webhook booking.rejected","href":"/api-reference/webhooks/booking.rejected"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["booking-notifications"],"operationId":"onBookingRejected","summary":"A pending request was declined","description":"Delivered when a pending request-to-book was declined — by the host in the app, or through `POST /v1/bookings/{booking_reference}/reject`.","requestBody":"b6ce810f-8481-445f-9cae-efad57e718e7","responses":{"200":"1e9a685e-e8fa-4967-8cb2-8f755e82cbe5"},"method":"post","type":"webhook","servers":["bfd060a5-0f89-4901-9142-ddadbc088436"],"security":["27c1ff0b-58c5-43d0-84ca-9d1f79d33330"],"path":"booking.rejected","baseUrlOptions":["https://maatstays.com/v1"],"title":"A pending request was declined","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":true,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"event_id\": \"9a1d2c37-4e5f-4a6b-8c9d-0e1f2a3b4c5d\",\n \"event_type\": \"booking.rejected\",\n \"occurred_at\": \"2026-09-02T07:05:00Z\",\n \"data\": {\n \"booking_reference\": \"5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d\",\n \"property\": {\n \"provider_id\": \"my-prop-9001\",\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\"\n },\n \"status\": \"rejected\",\n \"stay\": {\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"check_in_time\": \"15:00\",\n \"check_out_time\": \"12:00\",\n \"guests\": null\n },\n \"previous_stay\": null,\n \"cancellation\": null,\n \"console_url\": \"https://maatstays.com/bookings/5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d\"\n }\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"DeveloperBookingRejectedDelivery","description":"The `booking.rejected` delivery.\nThe host declined a pending request. `stay.guests` reads `null`.\n","required":["event_id","event_type","occurred_at","data"],"additionalProperties":false,"properties":{"event_id":{"type":"string","format":"uuid","description":"Stable across our retries. Use it to be idempotent.","isRequired":true,"uniqueKey":"event_id","typeLabel":"string\u003cuuid>"},"event_type":{"type":"string","title":"BookingEventType","description":"Always `booking.rejected`. Fixed on this schema, so narrowing on it\nalone hands you this one shape.\n\nSee [`BookingEventType`](/api-reference/enums/booking-event-type) for the\nseven transitions that carry this envelope.\n","enum":["booking.requested","booking.confirmed","booking.rejected","booking.checked_in","booking.checked_out","booking.cancelled","booking.modified"],"const":"booking.rejected","x-enum-descriptions":{"booking.requested":"A guest paid for a stay the host still has to approve.","booking.confirmed":"The stay is sold.","booking.rejected":"The host declined the request.","booking.checked_in":"The guest confirmed their own arrival.","booking.checked_out":"The guest confirmed their own departure.","booking.cancelled":"The stay was cancelled; `cancellation` is present.","booking.modified":"The stay window moved; `previous_stay` is present."},"x-maat-internal-enum":{"name":"PartnerWebhookEventType","relation":"subset_of"},"isRequired":true,"uniqueKey":"event_type","typeLabel":"enum\u003cstring>"},"occurred_at":{"type":"string","format":"date-time","description":"When the thing happened, stamped in the same transaction as the fact itself — not when we prepared this delivery. A backlog, a retry or a redrive does not move it, so it is safe to sort on; two events written in one transaction share an instant, which makes it a partial order rather than a sequence number. See https://developer.maatstays.com/guides/webhook-delivery#what-occurred_at-actually-is.","isRequired":true,"uniqueKey":"occurred_at","typeLabel":"string\u003cdate-time>"},"data":{"type":"object","title":"DeveloperBookingEvent","description":"One moment in a booking's life. All seven `booking.*` events share this one shape; `event_type` on the envelope says\nwhich transition produced it and `status` says where the booking ended up.\n\n**There is no guest object and there never will be one.** No name, no initial, no\nemail, no user id, no reference of any kind. `console_url` is the honest pointer:\nfollow it, sign in as a human, and see what a human may see.\n\nThere is also no `amount_paid`. The amount and its currency can only be paired\ncorrectly inside Maat's booking service, and none of these events carries the\npair — `GET /v1/bookings/{booking_reference}` answers it.\n","required":["booking_reference","property","status","stay","previous_stay","cancellation","console_url"],"additionalProperties":false,"properties":{"booking_reference":{"type":"string","format":"uuid","description":"The correlation key every event about this stay carries. A UUID, and the same value `GET /bookings/{booking_reference}` takes.","isRequired":true,"uniqueKey":"data.booking_reference","typeLabel":"string\u003cuuid>"},"property":{"type":"object","title":"PartnerPropertyRef","description":"Which of your inventory this is about. The same object a publication event\ncarries.\n","required":["provider_id","listing_id"],"additionalProperties":false,"properties":{"provider_id":{"oneOf":[{"type":"string","description":"Your identifier, when the property came from you. `null` for a property\nthe host created on Maat and you are merely synced to.\n","isRequired":true,"uniqueKey":"data.property.provider_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your identifier, when the property came from you. `null` for a property\nthe host created on Maat and you are merely synced to.\n","isRequired":true,"uniqueKey":"data.property.provider_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.property.provider_id","typeLabel":"string | null"},"listing_id":{"type":"string","format":"uuid","description":"The Maat listing this event is about.","isRequired":true,"uniqueKey":"data.property.listing_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"data.property","typeLabel":"PartnerPropertyRef · object"},"status":{"type":"string","title":"BookingStatus","description":"Where the booking is AFTER this transition. A checkout reads `completed`,\nbecause that is the state Maat actually holds — there is no\n`checked_out`.\n\nSee [`BookingStatus`](/api-reference/enums/booking-status).\n","enum":["pending","confirmed","checked_in","completed","cancelled","rejected"],"x-enum-descriptions":{"pending":"Paid, and waiting for the host to approve it. The only status `confirm` and `reject` accept.","confirmed":"Approved. The nights are sold.","checked_in":"The guest confirmed their own arrival.","completed":"The stay is over.","cancelled":"Cancelled by the guest, the host or Maat; read `cancellation.initiated_by`.","rejected":"The host declined the request."},"x-maat-internal-enum":{"name":"DeveloperBookingStatus","relation":"equals"},"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"stay":{"type":"object","title":"DeveloperBookingEventStay","description":"The stay. `check_out` is the departure day, not the last night, and the times are\nthe property's own door times.\n","required":["check_in","check_out","check_in_time","check_out_time","guests"],"additionalProperties":false,"properties":{"check_in":{"type":"string","format":"date","description":"Arrival date.","isRequired":true,"uniqueKey":"data.stay.check_in","typeLabel":"string\u003cdate>"},"check_out":{"type":"string","format":"date","description":"Departure date, exclusive.","isRequired":true,"uniqueKey":"data.stay.check_out","typeLabel":"string\u003cdate>"},"check_in_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"Local check-in time on the arrival date, 24-hour `HH:MM`.","isRequired":true,"uniqueKey":"data.stay.check_in_time","typeLabel":"string"},"check_out_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"Local check-out time on the departure date, 24-hour `HH:MM`.","isRequired":true,"uniqueKey":"data.stay.check_out_time","typeLabel":"string"},"guests":{"oneOf":[{"type":"integer","minimum":1,"description":"The party size, or `null` when **this event does not state one**. Three\nof the seven carry it — `booking.requested`, `booking.confirmed` and\n`booking.cancelled`. It is `null` on the other four:\n`booking.rejected`, `booking.checked_in`, `booking.checked_out` and\n`booking.modified`.\n\n`null` means we are not telling you, never \"nobody is coming\". Do not\nsubstitute the unit's capacity: it is what the property CAN sleep, not\nwho is arriving. `GET /v1/bookings/{booking_reference}` always answers it.\n","isRequired":true,"uniqueKey":"data.stay.guests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"The party size, or `null` when **this event does not state one**. Three\nof the seven carry it — `booking.requested`, `booking.confirmed` and\n`booking.cancelled`. It is `null` on the other four:\n`booking.rejected`, `booking.checked_in`, `booking.checked_out` and\n`booking.modified`.\n\n`null` means we are not telling you, never \"nobody is coming\". Do not\nsubstitute the unit's capacity: it is what the property CAN sleep, not\nwho is arriving. `GET /v1/bookings/{booking_reference}` always answers it.\n","isRequired":true,"uniqueKey":"data.stay.guests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.stay.guests","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"data.stay","typeLabel":"DeveloperBookingEventStay · object"},"previous_stay":{"oneOf":[{"type":"object","title":"DeveloperBookingPreviousStay","description":"The window this modification replaced. `null` on every other event.","required":["check_in","check_out"],"properties":{"check_in":{"type":"string","format":"date","description":"The arrival date before the modification.","isRequired":true,"uniqueKey":"data.previous_stay.oneOf.0.check_in","typeLabel":"string\u003cdate>"},"check_out":{"type":"string","format":"date","description":"The departure date before the modification, exclusive.","isRequired":true,"uniqueKey":"data.previous_stay.oneOf.0.check_out","typeLabel":"string\u003cdate>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.previous_stay.oneOf.0","typeLabel":"DeveloperBookingPreviousStay · object"},{"type":"null","description":"The window this modification replaced. `null` on every other event.","isRequired":true,"uniqueKey":"data.previous_stay.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.previous_stay","typeLabel":"DeveloperBookingPreviousStay · object | null"},"cancellation":{"oneOf":[{"type":"object","title":"DeveloperBookingCancellation","description":"`null` unless this is `booking.cancelled`. `initiated_by` decides what you\ndo next: `guest` frees the nights, `host` is an operational failure,\n`platform` means Maat ended it and has told the guest.\n","required":["cancelled_at","initiated_by"],"properties":{"cancelled_at":{"type":"string","format":"date-time","description":"When the booking was cancelled.","isRequired":true,"uniqueKey":"data.cancellation.oneOf.0.cancelled_at","typeLabel":"string\u003cdate-time>"},"initiated_by":{"type":"string","title":"CancellationInitiator","description":"Which party cancelled. Never which person.\n\nSee [`CancellationInitiator`](/api-reference/enums/cancellation-initiator).\n","enum":["guest","host","platform"],"x-enum-descriptions":{"guest":"The guest cancelled. Free the nights and re-sell them.","host":"The host cancelled. An operational failure somebody has to chase.","platform":"Maat ended the booking. The nights are free; the guest has been told by Maat."},"x-maat-internal-enum":{"name":"PartnerCancellationInitiator","relation":"equals"},"isRequired":true,"uniqueKey":"data.cancellation.oneOf.0.initiated_by","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.cancellation.oneOf.0","typeLabel":"DeveloperBookingCancellation · object"},{"type":"null","description":"`null` unless this is `booking.cancelled`. `initiated_by` decides what you\ndo next: `guest` frees the nights, `host` is an operational failure,\n`platform` means Maat ended it and has told the guest.\n","isRequired":true,"uniqueKey":"data.cancellation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.cancellation","typeLabel":"DeveloperBookingCancellation · object | null"},"console_url":{"type":"string","format":"uri","description":"The Maat host console's page for this booking.","isRequired":true,"uniqueKey":"data.console_url","typeLabel":"string\u003curi>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"DeveloperBookingEvent · object"},"test":{"type":"boolean","const":true,"description":"Present, and `true`, only on a delivery you asked for with\n`POST /webhooks/endpoint/test`. Absent on every real event — never\n`false`. Branch on its presence if your handler must not act on\nthe fixture.\n","uniqueKey":"test","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"DeveloperBookingRejectedDelivery · object"},"example":{"event_id":"9a1d2c37-4e5f-4a6b-8c9d-0e1f2a3b4c5d","event_type":"booking.rejected","occurred_at":"2026-09-02T07:05:00Z","data":{"booking_reference":"5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","property":{"provider_id":"my-prop-9001","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24"},"status":"rejected","stay":{"check_in":"2026-09-12","check_out":"2026-09-16","check_in_time":"15:00","check_out_time":"12:00","guests":null},"previous_stay":null,"cancellation":null,"console_url":"https://maatstays.com/bookings/5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d"}},"examples":{"Example":{"title":"Example","value":{"event_id":"9a1d2c37-4e5f-4a6b-8c9d-0e1f2a3b4c5d","event_type":"booking.rejected","occurred_at":"2026-09-02T07:05:00Z","data":{"booking_reference":"5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","property":{"provider_id":"my-prop-9001","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24"},"status":"rejected","stay":{"check_in":"2026-09-12","check_out":"2026-09-16","check_in_time":"15:00","check_out_time":"12:00","guests":null},"previous_stay":null,"cancellation":null,"console_url":"https://maatstays.com/bookings/5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1e9a685e-e8fa-4967-8cb2-8f755e82cbe5":{"description":"Return any 2xx to acknowledge.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"27c1ff0b-58c5-43d0-84ca-9d1f79d33330":{"partnerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"}}},"servers":{"bfd060a5-0f89-4901-9142-ddadbc088436":{"url":"https://maatstays.com/v1","description":"The one host this contract is published against. Whether a call lands on a sandbox or a production workspace is decided by the key you exchanged, never by the hostname."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"partnerAuth","name":"Authorization"}],"title":"partnerAuth"}]},"originalFileLocation":"openapi/openapi.yaml"},"subdomain":"maat-stays","siteName":"Maat Stays","title":"A pending request was declined - Maat Stays","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-07T20:45:54.843Z","originalFileLocation":"api-reference/webhooks/booking.rejected.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delivered when a pending request-to-book was declined — by the host in the app, or through POST /v1/bookings/{booking_reference}/reject.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"A pending request was declined - Maat Stays\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delivered when a pending request-to-book was declined — by the host in the app, or through POST /v1/bookings/{booking_reference}/reject.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Maat Stays\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Booking+notifications\u0026amp;title=A+pending+request+was+declined\u0026amp;description=Delivered+when+a+pending+request-to-book+was+declined+%E2%80%94+by+the+host+in+the+app%2C+or+through+%60POST+%2Fv1%2Fbookings%2F%7Bbooking_reference%7D%2Freject%60.\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=69e97862c2172a47859d7ddf034ab96df758e0f64894e487efd1aa427caf9447\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"A pending request was declined - Maat Stays\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delivered when a pending request-to-book was declined — by the host in the app, or through POST /v1/bookings/{booking_reference}/reject.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Booking+notifications\u0026amp;title=A+pending+request+was+declined\u0026amp;description=Delivered+when+a+pending+request-to-book+was+declined+%E2%80%94+by+the+host+in+the+app%2C+or+through+%60POST+%2Fv1%2Fbookings%2F%7Bbooking_reference%7D%2Freject%60.\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=69e97862c2172a47859d7ddf034ab96df758e0f64894e487efd1aa427caf9447\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c5142a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhooks/booking.rejected.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.maatstays.com/#organization\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.maatstays.com#website\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected#webpage\",\"url\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected\",\"name\":\"A pending request was declined\",\"description\":\"Delivered when a pending request-to-book was declined — by the host in the app, or through POST /v1/bookings/{booking_reference}/reject.\",\"dateModified\":\"2026-09-07T20:45:54.843Z\",\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://developer.maatstays.com/api-reference/authentication/exchange-your-api-key-for-a-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Booking notifications\",\"item\":\"https://developer.maatstays.com/api-reference/webhooks/endpoint.challenge\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"A pending request was declined\",\"item\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected#apireference\",\"headline\":\"A pending request was declined\",\"name\":\"A pending request was declined\",\"description\":\"Delivered when a pending request-to-book was declined — by the host in the app, or through POST /v1/bookings/{booking_reference}/reject.\",\"url\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected\",\"mainEntityOfPage\":{\"@id\":\"https://developer.maatstays.com/api-reference/webhooks/booking.rejected#webpage\"},\"dateModified\":\"2026-09-07T20:45:54.843Z\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Maat Stays\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Maat Stays\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/webhooks/booking.rejected.md","siteName":"Maat Stays","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/index"},{"title":"Get access","href":"/guides/developer-access"},{"title":"Authentication","href":"/guides/authentication"},{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Sandbox","href":"/guides/sandbox"},{"title":"Scopes","href":"/guides/scopes"}]},{"group":"Guides","pages":[{"title":"Push a property","href":"/guides/properties"},{"title":"The resource model","href":"/guides/property-lifecycle"},{"title":"Photos","href":"/guides/photos"},{"title":"Calendar blocks","href":"/guides/calendar-blocks"},{"title":"Pricing rules and rates","href":"/guides/pricing-and-rules"},{"title":"Bookings and reviews","href":"/guides/bookings"},{"title":"Booking notifications lifecycle","href":"/guides/booking-lifecycle"},{"title":"Finance","href":"/guides/finance"},{"title":"Webhooks","href":"/guides/webhooks"},{"title":"Webhook signatures","href":"/guides/webhook-signatures"},{"title":"Webhook delivery","href":"/guides/webhook-delivery"}]},{"group":"Reference","pages":[{"title":"Errors","href":"/guides/errors"},{"title":"Rate limits","href":"/guides/rate-limits"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Versioning and deprecation","href":"/guides/versioning"},{"title":"Glossary","href":"/guides/glossary"},{"title":"The data boundary","href":"/guides/data-boundary"},{"title":"Managing your keys","href":"/guides/managing-keys"},{"title":"Connect your AI assistant","href":"/guides/connect-your-ai-assistant"}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/guides/changelog"}]},{"group":"API Reference","pages":[{"group":"Authentication","pages":[{"title":"Exchange your API key for a token","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /token","href":"/api-reference/authentication/exchange-your-api-key-for-a-token"}]},{"group":"Properties","pages":[{"title":"Create or replace a property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{provider_id}","href":"/api-reference/properties/create-or-replace-a-property"},{"title":"List your properties","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties","href":"/api-reference/properties/list-your-properties"},{"title":"Read one property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/by-id/{property_id}","href":"/api-reference/properties/read-one-property"},{"title":"Replace a property's address","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/address","href":"/api-reference/properties/replace-a-propertys-address"},{"title":"Replace a property's amenities","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/amenities","href":"/api-reference/properties/replace-a-propertys-amenities"}]},{"group":"Units","pages":[{"title":"Read one unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /units/{unit_id}","href":"/api-reference/units/read-one-unit"},{"title":"Change what a unit is","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /units/{unit_id}","href":"/api-reference/units/change-what-a-unit-is"},{"title":"Replace a unit's house-rule answers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /units/{unit_id}/house-rules","href":"/api-reference/units/replace-a-units-house-rule-answers"}]},{"group":"Listings","pages":[{"title":"Read one listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}","href":"/api-reference/listings/read-one-listing"},{"title":"Change a listing, and whether it is on sale","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /listings/{listing_id}","href":"/api-reference/listings/change-a-listing-and-whether-it-is-on-sale"},{"title":"Replace a listing's price","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing","href":"/api-reference/listings/replace-a-listings-price"},{"title":"A listing went on sale","openapi":"openapi/openapi.yaml webhook listing.published","href":"/api-reference/webhooks/listing.published"},{"title":"A listing came off sale","openapi":"openapi/openapi.yaml webhook listing.unlisted","href":"/api-reference/webhooks/listing.unlisted"}]},{"group":"Catalog","pages":[{"title":"Every property type","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/property-types","href":"/api-reference/catalog/every-property-type"},{"title":"Every amenity","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/amenities","href":"/api-reference/catalog/every-amenity"},{"title":"Every house rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/house-rules","href":"/api-reference/catalog/every-house-rule"},{"title":"Every subdivision and city of a country","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /locations/{country_code}","href":"/api-reference/catalog/every-subdivision-and-city-of-a-country"}]},{"group":"Photos","pages":[{"title":"List a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/{property_id}/photos","href":"/api-reference/photos/list-a-propertys-photos"},{"title":"Get upload forms for new photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /properties/{property_id}/photos/presign","href":"/api-reference/photos/get-upload-forms-for-new-photos"},{"title":"Arrange a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/photos/order","href":"/api-reference/photos/arrange-a-propertys-photos"},{"title":"Remove a photo","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /properties/{property_id}/photos/{photo_id}","href":"/api-reference/photos/remove-a-photo"}]},{"group":"Calendar","pages":[{"title":"Read availability, night by night","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/calendar","href":"/api-reference/calendar/read-availability-night-by-night"},{"title":"What is held right now","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /calendar/holds","href":"/api-reference/calendar/what-is-held-right-now"},{"title":"Close nights with a host block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks","href":"/api-reference/calendar/close-nights-with-a-host-block"},{"title":"Release host blocks by date","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks/release","href":"/api-reference/calendar/release-host-blocks-by-date"},{"title":"Nights went off sale while a guest pays","openapi":"openapi/openapi.yaml webhook calendar.held","href":"/api-reference/webhooks/calendar.held"},{"title":"A hold ended — the nights came back, or were sold","openapi":"openapi/openapi.yaml webhook calendar.released","href":"/api-reference/webhooks/calendar.released"}]},{"group":"Blocks","pages":[{"title":"Hold a range of nights with a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /blocks/{external_uid}","href":"/api-reference/blocks/hold-a-range-of-nights-with-a-partner-block"},{"title":"Release a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /blocks/{external_uid}","href":"/api-reference/blocks/release-a-partner-block"},{"title":"Read your partner blocks back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blocks","href":"/api-reference/blocks/read-your-partner-blocks-back"}]},{"group":"Pricing","pages":[{"title":"The quick actions for a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/quick-actions","href":"/api-reference/pricing/the-quick-actions-for-a-listing"},{"title":"Switch a quick action on, or move its value","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-on-or-move-its-value"},{"title":"Switch a quick action off","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-off"},{"title":"Every rule attached to a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rules","href":"/api-reference/pricing/every-rule-attached-to-a-listing"},{"title":"Read back the rates you sent","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rates","href":"/api-reference/pricing/read-back-the-rates-you-sent"},{"title":"Supply nightly rates for a date range","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/rates","href":"/api-reference/pricing/supply-nightly-rates-for-a-date-range"},{"title":"Who prices this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/who-prices-this-listing"},{"title":"Become the listing's pricing source","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/become-the-listings-pricing-source"},{"title":"Stop pricing this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/stop-pricing-this-listing"},{"title":"Who prices a listing changed","openapi":"openapi/openapi.yaml webhook pricing.mode_changed","href":"/api-reference/webhooks/pricing.mode_changed"},{"title":"A listing you price changed currency","openapi":"openapi/openapi.yaml webhook pricing.currency_changed","href":"/api-reference/webhooks/pricing.currency_changed"}]},{"group":"Bookings","pages":[{"title":"List bookings on your inventory","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings","href":"/api-reference/bookings/list-bookings-on-your-inventory"},{"title":"Read one booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings/{booking_reference}","href":"/api-reference/bookings/read-one-booking"},{"title":"Confirm a pending booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/confirm","href":"/api-reference/bookings/confirm-a-pending-booking"},{"title":"Reject a pending booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/reject","href":"/api-reference/bookings/reject-a-pending-booking"}]},{"group":"Sandbox","pages":[{"title":"Create a booking in your sandbox","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sandbox/bookings","href":"/api-reference/sandbox/create-a-booking-in-your-sandbox"}]},{"group":"Reviews","pages":[{"title":"Read a listing's reviews","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/reviews","href":"/api-reference/reviews/read-a-listings-reviews"},{"title":"Reply to a review, as the workspace","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /reviews/{review_id}/reply","href":"/api-reference/reviews/reply-to-a-review-as-the-workspace"},{"title":"A guest published a review","openapi":"openapi/openapi.yaml webhook review.created","href":"/api-reference/webhooks/review.created"}]},{"group":"Finance","pages":[{"title":"Read your balance, per currency","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/balance","href":"/api-reference/finance/read-your-balance-per-currency"},{"title":"List what each payment earned you","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings","href":"/api-reference/finance/list-what-each-payment-earned-you"},{"title":"Total your earnings by day, week or month","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings/summary","href":"/api-reference/finance/total-your-earnings-by-day-week-or-month"},{"title":"List your payout requests","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts","href":"/api-reference/finance/list-your-payout-requests"},{"title":"See what is due to be released","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts/upcoming","href":"/api-reference/finance/see-what-is-due-to-be-released"},{"title":"List what you owe","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/penalties","href":"/api-reference/finance/list-what-you-owe"}]},{"group":"Webhooks","pages":[{"title":"Read your endpoint back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/endpoint","href":"/api-reference/webhooks/read-your-endpoint-back"},{"title":"Register where deliveries go","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /webhooks/endpoint","href":"/api-reference/webhooks/register-where-deliveries-go"},{"title":"Delete your endpoint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /webhooks/endpoint","href":"/api-reference/webhooks/delete-your-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send yourself a test event","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/test","href":"/api-reference/webhooks/send-yourself-a-test-event"},{"title":"List what we have tried to deliver","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries","href":"/api-reference/webhooks/list-what-we-have-tried-to-deliver"},{"title":"Read one delivery, body included","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries/{delivery_id}","href":"/api-reference/webhooks/read-one-delivery-body-included"},{"title":"Put a delivery back in the queue","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/deliveries/{delivery_id}/redrive","href":"/api-reference/webhooks/put-a-delivery-back-in-the-queue"}]},{"group":"Booking notifications","pages":[{"title":"Prove the endpoint is yours","openapi":"openapi/openapi.yaml webhook endpoint.challenge","href":"/api-reference/webhooks/endpoint.challenge"},{"title":"A guest booked one of your properties","openapi":"openapi/openapi.yaml webhook booking.confirmed","href":"/api-reference/webhooks/booking.confirmed"},{"title":"A booking on one of your properties was cancelled","openapi":"openapi/openapi.yaml webhook booking.cancelled","href":"/api-reference/webhooks/booking.cancelled"},{"title":"A guest paid, and the host has to answer","description":"Delivered when a guest completes and pays for a booking on a listing whose host approves each one, so it landed `pending` rather than `confirmed`.","openapi":"openapi/openapi.yaml webhook booking.requested","href":"/api-reference/webhooks/booking.requested"},{"title":"A pending request was declined","openapi":"openapi/openapi.yaml webhook booking.rejected","href":"/api-reference/webhooks/booking.rejected"},{"title":"The guest confirmed they have arrived","description":"Delivered when the GUEST confirms their own arrival, never on a clock.","openapi":"openapi/openapi.yaml webhook booking.checked_in","href":"/api-reference/webhooks/booking.checked_in"},{"title":"The guest confirmed they have left","openapi":"openapi/openapi.yaml webhook booking.checked_out","href":"/api-reference/webhooks/booking.checked_out"},{"title":"A modification was applied and the dates moved","openapi":"openapi/openapi.yaml webhook booking.modified","href":"/api-reference/webhooks/booking.modified"}]},{"group":"Enums","pages":[{"title":"BlockReason","href":"/api-reference/enums/block-reason"},{"title":"BlockedBy","href":"/api-reference/enums/blocked-by"},{"title":"BookingEventType","href":"/api-reference/enums/booking-event-type"},{"title":"BookingStatus","href":"/api-reference/enums/booking-status"},{"title":"CalendarNightStatus","href":"/api-reference/enums/calendar-night-status"},{"title":"CancellationInitiator","href":"/api-reference/enums/cancellation-initiator"},{"title":"EarningStatus","href":"/api-reference/enums/earning-status"},{"title":"EarningsGranularity","href":"/api-reference/enums/earnings-granularity"},{"title":"HoldReleaseReason","href":"/api-reference/enums/hold-release-reason"},{"title":"HostBlockCategory","href":"/api-reference/enums/host-block-category"},{"title":"HouseRuleKind","href":"/api-reference/enums/house-rule-kind"},{"title":"InventoryKind","href":"/api-reference/enums/inventory-kind"},{"title":"ListingPublicationEventType","href":"/api-reference/enums/listing-publication-event-type"},{"title":"ListingPublicationStatus","href":"/api-reference/enums/listing-publication-status"},{"title":"ListingRuleSource","href":"/api-reference/enums/listing-rule-source"},{"title":"ListingRuleWarning","href":"/api-reference/enums/listing-rule-warning"},{"title":"ListingStatus","href":"/api-reference/enums/listing-status"},{"title":"MissingReason","href":"/api-reference/enums/missing-reason"},{"title":"PayoutStatus","href":"/api-reference/enums/payout-status"},{"title":"PenaltyReason","href":"/api-reference/enums/penalty-reason"},{"title":"PenaltyStatus","href":"/api-reference/enums/penalty-status"},{"title":"PhotoContentType","href":"/api-reference/enums/photo-content-type"},{"title":"PhotoRejectionReason","href":"/api-reference/enums/photo-rejection-reason"},{"title":"PhotoState","href":"/api-reference/enums/photo-state"},{"title":"PricingModeTakeWarning","href":"/api-reference/enums/pricing-mode-take-warning"},{"title":"PricingModeValue","href":"/api-reference/enums/pricing-mode-value"},{"title":"ProblemCode","href":"/api-reference/enums/problem-code"},{"title":"QuickActionFeeBasis","href":"/api-reference/enums/quick-action-fee-basis"},{"title":"QuickActionParamKind","href":"/api-reference/enums/quick-action-param-kind"},{"title":"QuickActionTemplateKey","href":"/api-reference/enums/quick-action-template-key"},{"title":"QuickActionUnavailableReason","href":"/api-reference/enums/quick-action-unavailable-reason"},{"title":"QuickActionWarning","href":"/api-reference/enums/quick-action-warning"},{"title":"RuleFamily","href":"/api-reference/enums/rule-family"},{"title":"SandboxBookingStatus","href":"/api-reference/enums/sandbox-booking-status"},{"title":"UnitType","href":"/api-reference/enums/unit-type"},{"title":"ValidationErrorCode","href":"/api-reference/enums/validation-error-code"},{"title":"WebhookDeliveryStatus","href":"/api-reference/enums/webhook-delivery-status"},{"title":"WebhookEndpointStatus","href":"/api-reference/enums/webhook-endpoint-status"},{"title":"WebhookEventType","href":"/api-reference/enums/webhook-event-type"},{"title":"WebhookPayloadState","href":"/api-reference/enums/webhook-payload-state"},{"title":"WriteResult","href":"/api-reference/enums/write-result"}]}]}]},"basePath":"","title":"A pending request was declined - Maat Stays","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}