The id of the network. Required when using bearer token authentication
Body
application/json
booking
object
required
Show child attributes
paymentMethod
object
Payment method the booking is paid with. Pass the external method to record a payment collected outside Spacebring: succeeded confirms the booking, pending keeps it tentative until the payment is marked as paid. With Basic authentication, also pass the membershipRefOwner of the customer the booking is paid for. Omit the field to create a free booking.
Show child attributes
Response
Created
booking
object
required
The booking.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Spacebring Docs","colors":{"primary":"#00928F","light":"#7BEEB3","dark":"#00928F"},"logo":{"light":"https://mintcdn.com/spacebring/ElSlMekJ2CB5Dog7/logo/light.svg?fit=max\u0026auto=format\u0026n=ElSlMekJ2CB5Dog7\u0026q=85\u0026s=29b9c3bc15b6d346f2c13cccf246e486","dark":"https://mintcdn.com/spacebring/ElSlMekJ2CB5Dog7/logo/dark.svg?fit=max\u0026auto=format\u0026n=ElSlMekJ2CB5Dog7\u0026q=85\u0026s=fa94390626c2e4ed5dc7bcf5cbb80355"},"favicon":"https://mintcdn.com/spacebring/ElSlMekJ2CB5Dog7/favicon.svg?fit=max\u0026auto=format\u0026n=ElSlMekJ2CB5Dog7\u0026q=85\u0026s=3fbdcdb2b3743fb24f3b7b4e8824d364","footer":{"socials":{"github":"https://github.com/spacebring"}},"fonts":{"heading":{"family":"OktaNeue-SemiBold","weight":600,"source":"https://www.spacebring.com/OktaNeue-SemiBold.woff2","format":"woff2"},"body":{"family":"Inter"}},"integrations":{"cookies":{"key":"sb_analytics_consent","value":"granted"}},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spacebring","hasAudioNarration":false,"actualSubdomain":"spacebring","customDomains":["www.spacebring.com"],"gitSource":{"type":"github","owner":"spacebring","repo":"spacebring-mono","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af75571bc8b11b04009c334","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Developer resources","count":241},{"language":"default","tag":"APIs","count":236},{"language":"default","tag":"Docs","count":213},{"language":"default","tag":"Admin experience","count":196},{"language":"default","tag":"Billing","count":83},{"language":"default","tag":"Integrations","count":48},{"language":"default","tag":"Resources","count":29},{"language":"default","tag":"Invoices","count":28},{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"Payments","count":27}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-component-part=\"tab-content\"].hidden{display:block!important;visibility:hidden!important;height:0!important;overflow:hidden!important;pointer-events:none!important;contain:paint!important}"}],"page":{"pagePath":"developer/api/resources/create-a-booking","slug":"/developer/api/resources/create-a-booking","pageMetadata":{"title":"Create a booking","description":"Create a booking. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>resources\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/bookings/v1","href":"/developer/api/resources/create-a-booking","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a booking. \", _jsx(\"h3\", {\n children: \"OAuth\"\n }), \"Required scopes: \", _jsx(\"code\", {\n children: \"resources\"\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":"Create a booking","description":"Create a booking. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>resources\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/bookings/v1","href":"/developer/api/resources/create-a-booking","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Resources"],"summary":"Create a booking","description":"Create a booking. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>resources\u003c/code>","operationId":"createBooking","parameters":["985ffff5-966b-4b97-835b-eda655d6def8"],"requestBody":"01e54e21-94ac-4eff-a916-18ed03e1212d","security":["2e263d72-132d-4555-8e43-8b0bae38a5f4","3bb70f91-cba0-41d3-9ae5-4ec7e9d01e21"],"responses":{"201":"74cfec9f-692f-4c0d-a6b0-45f938ada57c","400":"ac3ec3d6-5636-40d6-85f8-ba235bd7059a"},"method":"post","type":"path","servers":["8057ebc5-0748-4381-ab38-ae96501b45b6"],"path":"/resources/bookings/v1","baseUrlOptions":["https://api.spacebring.com"],"title":"Create a booking","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"985ffff5-966b-4b97-835b-eda655d6def8":{"in":"header","name":"spacebring-network-id","schema":{"type":"string","format":"uuid","isRequired":false,"description":"The id of the network. Required when using bearer token authentication","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":false,"description":"The id of the network. Required when using bearer token authentication"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"booking":{"type":"object","properties":{"endDate":{"type":"string","format":"date-time","description":"ISO timestamp when the booking ends.","isRequired":true,"uniqueKey":"booking.endDate","typeLabel":"string\u003cdate-time>"},"resourceRef":{"type":"string","format":"uuid","description":"ID of the resource to book.","isRequired":true,"uniqueKey":"booking.resourceRef","typeLabel":"string\u003cuuid>"},"startDate":{"type":"string","format":"date-time","description":"ISO timestamp when the booking starts.","isRequired":true,"uniqueKey":"booking.startDate","typeLabel":"string\u003cdate-time>"},"attendees":{"description":"Attendees to invite to the booking, each an existing user by id or a person by email. Supported for room resources. A person invited by email joins the network without a membership in the location. The owner is left out, and so are all attendees when the owner is not a member of the location, unless an API key or an administrator makes the booking.","type":"array","items":{"type":"object","properties":{"user":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid","description":"User id of an existing user.","isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.0.id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.0","typeLabel":"object"},{"type":"object","required":["email"],"properties":{"email":{"description":"Email of the person to invite. An existing user with this email is invited, otherwise a user is created.","type":"string","isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.1.email","typeLabel":"string"},"name":{"description":"First name of a user created for the email.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.1.name","typeLabel":"string"},"phoneNumber":{"description":"Phone number of a user created for the email.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.1.phoneNumber","typeLabel":"string"},"surname":{"description":"Last name of a user created for the email.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.1.surname","typeLabel":"string"}},"isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user","typeLabel":"object"}},"required":["user"],"uniqueKey":"booking.attendees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.attendees","typeLabel":"object[]"},"entire":{"description":"Set to true to book the entire resource instead of individual seats. Supported for office resources.","type":"boolean","uniqueKey":"booking.entire","typeLabel":"boolean"},"membershipRefOwner":{"deprecated":true,"description":"Membership id to book on behalf of. Defaults to the authenticated user's membership.","type":"string","format":"uuid","uniqueKey":"booking.membershipRefOwner","typeLabel":"string\u003cuuid>"},"memo":{"description":"Internal note attached to the booking.","type":"string","uniqueKey":"booking.memo","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"booking.metadata.additionalProperties","typeLabel":"any"},"description":"Key-value data attached to the booking. Values cannot be objects or arrays. Available only for admins.","uniqueKey":"booking.metadata","typeLabel":"object"},"recurrence":{"description":"RRULE lines that make the booking repeat, e.g. `RRULE:FREQ=WEEKLY;COUNT=10`. The DTSTART line is derived from startDate. Only a free booking can repeat.","type":"array","items":{"type":"string","uniqueKey":"booking.recurrence.items.[INDEX]","typeLabel":"string"},"uniqueKey":"booking.recurrence","typeLabel":"string[]"},"seats":{"description":"Number of seats to reserve. Required for desk and office resources.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"booking.seats","typeLabel":"integer"},"sendUpdates":{"default":"all","description":"Whether to notify the owner and the attendees about the booking. Defaults to `all`.","type":"string","enum":["none","all"],"uniqueKey":"booking.sendUpdates","typeLabel":"enum\u003cstring>"},"title":{"description":"Custom title for the booking.","type":"string","uniqueKey":"booking.title","typeLabel":"string"}},"required":["endDate","resourceRef","startDate"],"isRequired":true,"uniqueKey":"booking","typeLabel":"object"},"paymentMethod":{"type":"object","description":"Payment method the booking is paid with. Pass the `external` method to record a payment collected outside Spacebring: `succeeded` confirms the booking, `pending` keeps it tentative until the payment is marked as paid. With Basic authentication, also pass the `membershipRefOwner` of the customer the booking is paid for. Omit the field to create a free booking.","required":["external","type"],"properties":{"external":{"type":"object","properties":{"status":{"description":"Whether the payment was already collected (`succeeded`, the default) or is still owed (`pending`), which keeps the purchase tentative until the transaction is marked paid.","type":"string","enum":["pending","succeeded"],"uniqueKey":"paymentMethod.external.status","typeLabel":"enum\u003cstring>"}},"description":"External payment details: the payment is collected outside Spacebring, so it carries only its status.","isRequired":true,"uniqueKey":"paymentMethod.external","typeLabel":"object"},"type":{"type":"string","enum":["external"],"description":"Discriminator of the external payment method.","isRequired":true,"uniqueKey":"paymentMethod.type","typeLabel":"enum\u003cstring>"},"discounts":{"description":"Discounts to apply, echoed from the payment method. An empty array applies none; omitting it picks the best suited coupon.","type":"array","items":{"type":"object","properties":{"coupon":{"description":"Coupon to apply.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the coupon.","isRequired":true,"uniqueKey":"paymentMethod.discounts.items.[INDEX].coupon.id","typeLabel":"string\u003cuuid>"}},"required":["id"],"uniqueKey":"paymentMethod.discounts.items.[INDEX].coupon","typeLabel":"object"},"promocode":{"description":"Promocode that brought the coupon.","type":"object","properties":{"code":{"type":"string","description":"Promocode string.","isRequired":true,"uniqueKey":"paymentMethod.discounts.items.[INDEX].promocode.code","typeLabel":"string"}},"required":["code"],"uniqueKey":"paymentMethod.discounts.items.[INDEX].promocode","typeLabel":"object"}},"description":"Discount to apply, as the payment method reported it.","uniqueKey":"paymentMethod.discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"paymentMethod.discounts","typeLabel":"object[]"}},"uniqueKey":"paymentMethod","typeLabel":"object"}},"required":["booking"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"booking":{"endDate":"2023-11-07T05:31:56Z","resourceRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","startDate":"2023-11-07T05:31:56Z","attendees":[{"user":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}],"entire":true,"membershipRefOwner":"3c90c3cc-0d44-4b50-8888-8dd25736052a","memo":"\u003cstring>","metadata":{},"recurrence":["\u003cstring>"],"seats":0,"sendUpdates":"all","title":"\u003cstring>"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"74cfec9f-692f-4c0d-a6b0-45f938ada57c":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"booking":{"type":"object","additionalProperties":false,"description":"The booking.","properties":{"attendees":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"membershipRef":{"description":"Membership id of the attendee.","type":"string","format":"uuid","uniqueKey":"booking.attendees.items.[INDEX].membershipRef","typeLabel":"string\u003cuuid>"},"user":{"description":"User profile of the attendee.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the user.","isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.id","typeLabel":"string\u003cuuid>"},"about":{"oneOf":[{"description":"Short bio of the user.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.about.oneOf.0","typeLabel":"string"},{"description":"Short bio of the user.","type":"null","uniqueKey":"booking.attendees.items.[INDEX].user.about.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.about","typeLabel":"string | null"},"company":{"oneOf":[{"description":"Company the user belongs to, if any.","type":"object","properties":{"title":{"type":"string","description":"Company display name.","isRequired":true,"uniqueKey":"booking.attendees.items.[INDEX].user.company.oneOf.0.title","typeLabel":"string"}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.attendees.items.[INDEX].user.company.oneOf.0","typeLabel":"object"},{"description":"Company the user belongs to, if any.","type":"null","properties":{"title":{"type":"string","description":"Company display name."}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.attendees.items.[INDEX].user.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.company","typeLabel":"object | null"},"email":{"oneOf":[{"description":"Email address of the user.","type":"string","format":"email","uniqueKey":"booking.attendees.items.[INDEX].user.email.oneOf.0","typeLabel":"string\u003cemail>"},{"description":"Email address of the user.","type":"null","format":"email","uniqueKey":"booking.attendees.items.[INDEX].user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.email","typeLabel":"string\u003cemail> | null"},"name":{"oneOf":[{"description":"First name of the user.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.name.oneOf.0","typeLabel":"string"},{"description":"First name of the user.","type":"null","uniqueKey":"booking.attendees.items.[INDEX].user.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.name","typeLabel":"string | null"},"phoneNumber":{"oneOf":[{"description":"Phone number of the user.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.phoneNumber.oneOf.0","typeLabel":"string"},{"description":"Phone number of the user.","type":"null","uniqueKey":"booking.attendees.items.[INDEX].user.phoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.phoneNumber","typeLabel":"string | null"},"photoUrl":{"oneOf":[{"description":"Profile photo URL of the user.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.photoUrl.oneOf.0","typeLabel":"string"},{"description":"Profile photo URL of the user.","type":"null","uniqueKey":"booking.attendees.items.[INDEX].user.photoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.photoUrl","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name of the user.","type":"string","uniqueKey":"booking.attendees.items.[INDEX].user.surname.oneOf.0","typeLabel":"string"},{"description":"Last name of the user.","type":"null","uniqueKey":"booking.attendees.items.[INDEX].user.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.attendees.items.[INDEX].user.surname","typeLabel":"string | null"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.attendees.items.[INDEX].user","typeLabel":"object"}},"uniqueKey":"booking.attendees.items.[INDEX]","typeLabel":"object"},"description":"Attendees of the booking. Empty when the caller has no access to booking details.","isRequired":true,"uniqueKey":"booking.attendees","typeLabel":"object[]"},"createDate":{"type":"string","format":"date-time","description":"ISO timestamp when the booking was created.","isRequired":true,"uniqueKey":"booking.createDate","typeLabel":"string\u003cdate-time>"},"endDate":{"type":"string","format":"date-time","description":"ISO timestamp when the booking ends.","isRequired":true,"uniqueKey":"booking.endDate","typeLabel":"string\u003cdate-time>"},"id":{"type":"string","description":"Unique identifier of the booking. For recurring occurrences, formatted as `{bookingId}_{isoDate}`.","isRequired":true,"uniqueKey":"booking.id","typeLabel":"string"},"resourceRef":{"type":"string","format":"uuid","description":"ID of the booked resource.","isRequired":true,"uniqueKey":"booking.resourceRef","typeLabel":"string\u003cuuid>"},"startDate":{"type":"string","format":"date-time","description":"ISO timestamp when the booking starts.","isRequired":true,"uniqueKey":"booking.startDate","typeLabel":"string\u003cdate-time>"},"customer":{"description":"Customer the booking belongs to. Omitted when the caller has no access.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Customer id of the booking owner.","isRequired":true,"uniqueKey":"booking.customer.id","typeLabel":"string\u003cuuid>"},"company":{"description":"Company the booking was made for, recorded when the owner was a member of a company at the time of the booking.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the company.","isRequired":true,"uniqueKey":"booking.customer.company.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Company name.","type":"string","isRequired":true,"uniqueKey":"booking.customer.company.title","typeLabel":"string"}},"required":["id","title"],"additionalProperties":false,"uniqueKey":"booking.customer.company","typeLabel":"object"},"user":{"description":"Profile of the booking owner. Omitted when the owner has restricted visibility.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the user.","isRequired":true,"uniqueKey":"booking.customer.user.id","typeLabel":"string\u003cuuid>"},"about":{"oneOf":[{"description":"Short bio of the user.","type":"string","uniqueKey":"booking.customer.user.about.oneOf.0","typeLabel":"string"},{"description":"Short bio of the user.","type":"null","uniqueKey":"booking.customer.user.about.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.about","typeLabel":"string | null"},"company":{"oneOf":[{"description":"Company the user belongs to, if any.","type":"object","properties":{"title":{"type":"string","description":"Company display name.","isRequired":true,"uniqueKey":"booking.customer.user.company.oneOf.0.title","typeLabel":"string"}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.customer.user.company.oneOf.0","typeLabel":"object"},{"description":"Company the user belongs to, if any.","type":"null","properties":{"title":{"type":"string","description":"Company display name."}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.customer.user.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.company","typeLabel":"object | null"},"email":{"oneOf":[{"description":"Email address of the user.","type":"string","format":"email","uniqueKey":"booking.customer.user.email.oneOf.0","typeLabel":"string\u003cemail>"},{"description":"Email address of the user.","type":"null","format":"email","uniqueKey":"booking.customer.user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.email","typeLabel":"string\u003cemail> | null"},"name":{"oneOf":[{"description":"First name of the user.","type":"string","uniqueKey":"booking.customer.user.name.oneOf.0","typeLabel":"string"},{"description":"First name of the user.","type":"null","uniqueKey":"booking.customer.user.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.name","typeLabel":"string | null"},"phoneNumber":{"oneOf":[{"description":"Phone number of the user.","type":"string","uniqueKey":"booking.customer.user.phoneNumber.oneOf.0","typeLabel":"string"},{"description":"Phone number of the user.","type":"null","uniqueKey":"booking.customer.user.phoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.phoneNumber","typeLabel":"string | null"},"photoUrl":{"oneOf":[{"description":"Profile photo URL of the user.","type":"string","uniqueKey":"booking.customer.user.photoUrl.oneOf.0","typeLabel":"string"},{"description":"Profile photo URL of the user.","type":"null","uniqueKey":"booking.customer.user.photoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.photoUrl","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name of the user.","type":"string","uniqueKey":"booking.customer.user.surname.oneOf.0","typeLabel":"string"},{"description":"Last name of the user.","type":"null","uniqueKey":"booking.customer.user.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.customer.user.surname","typeLabel":"string | null"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.customer.user","typeLabel":"object"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.customer","typeLabel":"object"},"deleteDate":{"description":"ISO timestamp when the booking was cancelled.","type":"string","format":"date-time","uniqueKey":"booking.deleteDate","typeLabel":"string\u003cdate-time>"},"entire":{"description":"Whether the booking reserves the entire resource rather than individual seats.","type":"boolean","uniqueKey":"booking.entire","typeLabel":"boolean"},"membershipRefOwner":{"deprecated":true,"description":"Deprecated. Use `customer.id` instead. Customer id of the booking owner. Omitted when the caller has no access.","type":"string","format":"uuid","uniqueKey":"booking.membershipRefOwner","typeLabel":"string\u003cuuid>"},"memo":{"description":"Note attached to the booking. Visible to the booking owner and to admins.","type":"string","uniqueKey":"booking.memo","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"booking.metadata.additionalProperties","typeLabel":"any"},"description":"Key-value data attached to the booking. Values cannot be objects or arrays. Available only for admins.","uniqueKey":"booking.metadata","typeLabel":"object"},"payment":{"deprecated":true,"description":"Deprecated. Use `payments` instead.","type":"object","properties":{"method":{"type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","external","invoice","paymentGateway"],"description":"How the booking was paid for. The matching property below carries the details.","isRequired":true,"uniqueKey":"booking.payment.method.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payment.method.credits.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.credits.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payment.method.credits.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payment.method.credits.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payment.method.credits.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.credits.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.credits.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.credits.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.credits.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.credits.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.credits.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payment.method.credits.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer whose credits were spent.","isRequired":true,"uniqueKey":"booking.payment.method.credits.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payment.method.credits","typeLabel":"object"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payment.method.dayPasses.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.dayPasses.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payment.method.dayPasses.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payment.method.dayPasses.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payment.method.dayPasses.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.dayPasses.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.dayPasses.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.dayPasses.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.dayPasses.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.dayPasses.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.dayPasses.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payment.method.dayPasses.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer whose day passes were spent.","isRequired":true,"uniqueKey":"booking.payment.method.dayPasses.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payment.method.dayPasses","typeLabel":"object"},"external":{"description":"Set when `type` is `external`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payment.method.external.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.external.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payment.method.external.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payment.method.external.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payment.method.external.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.external.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.external.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.external.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.external.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.external.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.external.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payment.method.external.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer who paid outside of Spacebring.","isRequired":true,"uniqueKey":"booking.payment.method.external.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payment.method.external","typeLabel":"object"},"invoice":{"description":"Set when `type` is `invoice`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payment.method.invoice.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.invoice.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payment.method.invoice.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payment.method.invoice.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payment.method.invoice.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.invoice.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.invoice.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.invoice.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.invoice.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.invoice.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.invoice.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payment.method.invoice.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer the booking was invoiced to.","isRequired":true,"uniqueKey":"booking.payment.method.invoice.customer","typeLabel":"object"},"invoiceItemRef":{"description":"ID of the invoice item the booking was billed on.","type":"string","uniqueKey":"booking.payment.method.invoice.invoiceItemRef","typeLabel":"string"},"invoiceRef":{"description":"Invoice the invoice item was added to. Not set while the item is pending.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.invoice.invoiceRef","typeLabel":"string\u003cuuid>"},"subscriptionRef":{"description":"Subscription the invoice item belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.invoice.subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payment.method.invoice","typeLabel":"object"},"paymentGateway":{"description":"Set when `type` is `paymentGateway`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payment.method.paymentGateway.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payment.method.paymentGateway.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payment.method.paymentGateway.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payment.method.paymentGateway.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.paymentGateway.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.paymentGateway.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payment.method.paymentGateway.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payment.method.paymentGateway.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer who was charged.","isRequired":true,"uniqueKey":"booking.payment.method.paymentGateway.customer","typeLabel":"object"},"gateway":{"description":"Payment gateway that processed the charge.","type":"string","enum":["authorizenet","flow","fondy","freedompay","hyperpay","kakaopay","maya","mercadopago","mollie","paypal","paystack","paytabs","payway","plata","stripe","tap","wayforpay","xendit"],"uniqueKey":"booking.payment.method.paymentGateway.gateway","typeLabel":"enum\u003cstring>"},"label":{"description":"Saved payment method label, e.g. `Visa •••• 4242`.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.label","typeLabel":"string"},"mask":{"description":"Masked payment method identifier.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.mask","typeLabel":"string"},"title":{"description":"Display name of the payment gateway, e.g. `Stripe`.","type":"string","uniqueKey":"booking.payment.method.paymentGateway.title","typeLabel":"string"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payment.method.paymentGateway","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"description":"How the booking was paid for, and by whom.","isRequired":true,"uniqueKey":"booking.payment.method","typeLabel":"object"},"createDate":{"description":"ISO timestamp of when the payment was made.","type":"string","format":"date-time","uniqueKey":"booking.payment.createDate","typeLabel":"string\u003cdate-time>"},"discounts":{"description":"Discounts applied to the price. Omitted when none applied.","type":"array","items":{"type":"object","properties":{"coupon":{"type":"object","properties":{"amountOff":{"description":"Fixed discount amount, in the coupon's currency.","type":"number","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.amountOff","typeLabel":"number"},"currencyCode":{"description":"Currency code for amountOff.","type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.currencyCode","typeLabel":"string"},"id":{"description":"Coupon id.","type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.id","typeLabel":"string"},"percentOff":{"description":"Percentage discount amount.","type":"number","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.percentOff","typeLabel":"number"},"productTypes":{"description":"Product types this coupon applies to.","type":"array","items":{"type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.productTypes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.productTypes","typeLabel":"string[]"},"type":{"description":"Coupon type.","type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].coupon.type","typeLabel":"string"}},"additionalProperties":false,"description":"Applied coupon.","isRequired":true,"uniqueKey":"booking.payment.discounts.items.[INDEX].coupon","typeLabel":"object"},"promocode":{"description":"Applied promocode.","type":"object","properties":{"code":{"type":"string","description":"Promocode string, the way a purchase references the promocode back.","isRequired":true,"uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.code","typeLabel":"string"},"id":{"type":"string","description":"Promocode id.","isRequired":true,"uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.id","typeLabel":"string"},"expiration":{"description":"Promocode expiration.","type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the promocode expires.","isRequired":true,"uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.expiration.enabled","typeLabel":"boolean"},"date":{"description":"ISO timestamp of when the promocode expires.","type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.expiration.date","typeLabel":"string"}},"required":["enabled"],"additionalProperties":false,"uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.expiration","typeLabel":"object"},"limitByFirstPurchase":{"description":"Whether the promocode is limited to a first purchase.","type":"boolean","uniqueKey":"booking.payment.discounts.items.[INDEX].promocode.limitByFirstPurchase","typeLabel":"boolean"}},"required":["code","id"],"additionalProperties":false,"uniqueKey":"booking.payment.discounts.items.[INDEX].promocode","typeLabel":"object"},"subscriptionId":{"description":"Subscription the discount was granted by.","type":"string","uniqueKey":"booking.payment.discounts.items.[INDEX].subscriptionId","typeLabel":"string"}},"required":["coupon"],"additionalProperties":false,"description":"Discount recorded on a settled payment.","uniqueKey":"booking.payment.discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.discounts","typeLabel":"object[]"},"dispute":{"description":"Chargeback dispute raised against the payment, if any.","type":"object","properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the dispute was opened.","uniqueKey":"booking.payment.dispute.createDate","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"booking.payment.dispute","typeLabel":"object"},"price":{"description":"What the booking was charged.","type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","money"],"description":"What the booking was charged in.","isRequired":true,"uniqueKey":"booking.payment.price.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"object","properties":{"totalAmount":{"type":"number","description":"Total credits charged.","isRequired":true,"uniqueKey":"booking.payment.price.credits.totalAmount","typeLabel":"number"},"expiringAmount":{"description":"Expiring credits charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payment.price.credits.expiringAmount","typeLabel":"number"},"permanentAmount":{"description":"Permanent credits charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payment.price.credits.permanentAmount","typeLabel":"number"}},"required":["totalAmount"],"additionalProperties":false,"uniqueKey":"booking.payment.price.credits","typeLabel":"object"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"object","properties":{"totalAmount":{"type":"number","description":"Total day passes charged.","isRequired":true,"uniqueKey":"booking.payment.price.dayPasses.totalAmount","typeLabel":"number"},"expiringAmount":{"description":"Expiring day passes charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payment.price.dayPasses.expiringAmount","typeLabel":"number"},"permanentAmount":{"description":"Permanent day passes charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payment.price.dayPasses.permanentAmount","typeLabel":"number"}},"required":["totalAmount"],"additionalProperties":false,"uniqueKey":"booking.payment.price.dayPasses","typeLabel":"object"},"money":{"description":"Set when `type` is `money`.","type":"object","properties":{"grossAmount":{"type":"number","description":"Total amount charged, tax included.","isRequired":true,"uniqueKey":"booking.payment.price.money.grossAmount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payment.price.money.currencyCode","typeLabel":"string"},"taxIsInclusive":{"description":"Whether the resource price already contained the tax, rather than the tax being added on top of it. Together with `taxRate` it is what splits `grossAmount` into its net and tax parts. Omitted when the location charges no tax.","type":"boolean","uniqueKey":"booking.payment.price.money.taxIsInclusive","typeLabel":"boolean"},"taxRate":{"description":"Tax rate applied, in percent. Omitted when the location charges no tax.","type":"number","uniqueKey":"booking.payment.price.money.taxRate","typeLabel":"number"}},"required":["grossAmount"],"additionalProperties":false,"uniqueKey":"booking.payment.price.money","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"uniqueKey":"booking.payment.price","typeLabel":"object"},"refundable":{"description":"Whether the payment can still be refunded. Omitted for `invoice` payments, where refundability depends on the invoice.","type":"boolean","uniqueKey":"booking.payment.refundable","typeLabel":"boolean"},"refunds":{"description":"Refunds made against the payment. Omitted when nothing was refunded.","type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","money"],"description":"What was refunded.","isRequired":true,"uniqueKey":"booking.payment.refunds.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"array","items":{"type":"object","properties":{"amountExpiring":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead, which reports the expiring balances the refund returned to individually.","isRequired":true,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amountExpiring","typeLabel":"number"},"amountPermanent":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead.","isRequired":true,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amountPermanent","typeLabel":"number"},"amountTotal":{"type":"number","description":"Total amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amountTotal","typeLabel":"number"},"amounts":{"description":"Balance buckets the refund returned to, one entry each. Absent on a refund made before the buckets were recorded, where only the amounts above are known.","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Amount returned to this balance bucket.","isRequired":true,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts.items.[INDEX].amount","typeLabel":"number"},"type":{"type":"string","enum":["expiring","permanent"],"description":"Balance bucket type.","isRequired":true,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"expirationDate":{"description":"Expiration date of the expiring balance the amount was returned to.","type":"string","format":"date-time","uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts.items.[INDEX].expirationDate","typeLabel":"string\u003cdate-time>"},"subscriptionRef":{"description":"Subscription the expiring balance belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts.items.[INDEX].subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["amount","type"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.refunds.credits.items.[INDEX].amounts","typeLabel":"object[]"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payment.refunds.credits.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payment.refunds.credits.items.[INDEX].id","typeLabel":"string"}},"required":["amountExpiring","amountPermanent","amountTotal"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds.credits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.refunds.credits","typeLabel":"object[]"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"array","items":{"type":"object","properties":{"amountExpiring":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead, which reports the expiring balances the refund returned to individually.","isRequired":true,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amountExpiring","typeLabel":"number"},"amountPermanent":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead.","isRequired":true,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amountPermanent","typeLabel":"number"},"amountTotal":{"type":"number","description":"Total amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amountTotal","typeLabel":"number"},"amounts":{"description":"Balance buckets the refund returned to, one entry each. Absent on a refund made before the buckets were recorded, where only the amounts above are known.","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Amount returned to this balance bucket.","isRequired":true,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].amount","typeLabel":"number"},"type":{"type":"string","enum":["expiring","permanent"],"description":"Balance bucket type.","isRequired":true,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"expirationDate":{"description":"Expiration date of the expiring balance the amount was returned to.","type":"string","format":"date-time","uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].expirationDate","typeLabel":"string\u003cdate-time>"},"subscriptionRef":{"description":"Subscription the expiring balance belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["amount","type"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].amounts","typeLabel":"object[]"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX].id","typeLabel":"string"}},"required":["amountExpiring","amountPermanent","amountTotal"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds.dayPasses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.refunds.dayPasses","typeLabel":"object[]"},"money":{"description":"Set when `type` is `money`.","type":"array","items":{"type":"object","properties":{"grossAmount":{"type":"number","description":"Gross amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payment.refunds.money.items.[INDEX].grossAmount","typeLabel":"number"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payment.refunds.money.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payment.refunds.money.items.[INDEX].currencyCode","typeLabel":"string"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payment.refunds.money.items.[INDEX].id","typeLabel":"string"}},"required":["grossAmount"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds.money.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payment.refunds.money","typeLabel":"object[]"}},"required":["type"],"additionalProperties":false,"uniqueKey":"booking.payment.refunds","typeLabel":"object"},"request":{"description":"Set for a pending gateway payment the current user still has to complete.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Payment request id.","isRequired":true,"uniqueKey":"booking.payment.request.id","typeLabel":"string\u003cuuid>"},"url":{"type":"string","description":"Relative URL the payer opens to complete the payment.","isRequired":true,"uniqueKey":"booking.payment.request.url","typeLabel":"string"}},"required":["id","url"],"additionalProperties":false,"uniqueKey":"booking.payment.request","typeLabel":"object"},"scheduleDate":{"description":"ISO timestamp of when a scheduled payment will be charged.","type":"string","format":"date-time","uniqueKey":"booking.payment.scheduleDate","typeLabel":"string\u003cdate-time>"},"status":{"description":"Payment status.","type":"string","enum":["succeeded","failed","pending","processing","canceled"],"uniqueKey":"booking.payment.status","typeLabel":"enum\u003cstring>"},"surcharge":{"description":"Surcharge added on top of the price, if any.","type":"object","properties":{"money":{"type":"object","properties":{"amount":{"description":"Surcharge amount.","type":"number","uniqueKey":"booking.payment.surcharge.money.amount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payment.surcharge.money.currencyCode","typeLabel":"string"},"percentage":{"description":"Surcharge percentage applied.","type":"number","uniqueKey":"booking.payment.surcharge.money.percentage","typeLabel":"number"},"rate":{"description":"Surcharge rate.","type":"number","uniqueKey":"booking.payment.surcharge.money.rate","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"booking.payment.surcharge.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"description":"Surcharge type.","isRequired":true,"uniqueKey":"booking.payment.surcharge.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"uniqueKey":"booking.payment.surcharge","typeLabel":"object"},"transactionRef":{"description":"ID of the transaction the payment was recorded as.","type":"string","uniqueKey":"booking.payment.transactionRef","typeLabel":"string"},"transactionType":{"description":"Whether the transaction took the `price` from the payer or gave it back, as when a booking paid with credits or day passes is shortened. `price` is always positive, so a `refund` subtracts from what the booking cost.","type":"string","enum":["charge","refund"],"uniqueKey":"booking.payment.transactionType","typeLabel":"enum\u003cstring>"},"type":{"description":"Shorthand for the payment method: the gateway slug for `paymentGateway` payments, otherwise `method.type`.","type":"string","uniqueKey":"booking.payment.type","typeLabel":"string"}},"required":["method"],"additionalProperties":false,"uniqueKey":"booking.payment","typeLabel":"object"},"payments":{"description":"How the booking was paid for, oldest first. One entry per settling transaction, so a credits or day passes payment that was charged and later partly refunded lists each transaction separately. Omitted when the caller has no access.","type":"array","items":{"type":"object","properties":{"method":{"type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","external","invoice","paymentGateway"],"description":"How the booking was paid for. The matching property below carries the details.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.credits.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer whose credits were spent.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.credits.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.credits","typeLabel":"object"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer whose day passes were spent.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.dayPasses","typeLabel":"object"},"external":{"description":"Set when `type` is `external`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.external.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.external.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.external.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.external.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.external.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.external.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer who paid outside of Spacebring.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.external.customer","typeLabel":"object"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.external","typeLabel":"object"},"invoice":{"description":"Set when `type` is `invoice`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer the booking was invoiced to.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.invoice.customer","typeLabel":"object"},"invoiceItemRef":{"description":"ID of the invoice item the booking was billed on.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.invoice.invoiceItemRef","typeLabel":"string"},"invoiceRef":{"description":"Invoice the invoice item was added to. Not set while the item is pending.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.invoice.invoiceRef","typeLabel":"string\u003cuuid>"},"subscriptionRef":{"description":"Subscription the invoice item belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.invoice.subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.invoice","typeLabel":"object"},"paymentGateway":{"description":"Set when `type` is `paymentGateway`.","type":"object","properties":{"customer":{"type":"object","properties":{"type":{"type":"string","enum":["company","user"],"description":"Whether the booking was paid by a company or by a user. Defaults to `user` for a personal card payment, which records no payer of its own.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.type","typeLabel":"enum\u003cstring>"},"id":{"description":"Customer id. Absent when the payer record is no longer available.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.id","typeLabel":"string\u003cuuid>"},"location":{"description":"Location the payer belongs to.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Location id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.location.id","typeLabel":"string\u003cuuid>"},"title":{"description":"Location display name.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.location.title","typeLabel":"string"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.location","typeLabel":"object"},"name":{"oneOf":[{"description":"First name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.name.oneOf.0","typeLabel":"string"},{"description":"First name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.name","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name. Present for `user` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.surname.oneOf.0","typeLabel":"string"},{"description":"Last name. Present for `user` payers.","type":"null","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.surname","typeLabel":"string | null"},"title":{"description":"Company name. Present for `company` payers.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer.title","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"description":"Customer who was charged.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.customer","typeLabel":"object"},"gateway":{"description":"Payment gateway that processed the charge.","type":"string","enum":["authorizenet","flow","fondy","freedompay","hyperpay","kakaopay","maya","mercadopago","mollie","paypal","paystack","paytabs","payway","plata","stripe","tap","wayforpay","xendit"],"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.gateway","typeLabel":"enum\u003cstring>"},"label":{"description":"Saved payment method label, e.g. `Visa •••• 4242`.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.label","typeLabel":"string"},"mask":{"description":"Masked payment method identifier.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.mask","typeLabel":"string"},"title":{"description":"Display name of the payment gateway, e.g. `Stripe`.","type":"string","uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway.title","typeLabel":"string"}},"required":["customer"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].method.paymentGateway","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"description":"How the booking was paid for, and by whom.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].method","typeLabel":"object"},"createDate":{"description":"ISO timestamp of when the payment was made.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"discounts":{"description":"Discounts applied to the price. Omitted when none applied.","type":"array","items":{"type":"object","properties":{"coupon":{"type":"object","properties":{"amountOff":{"description":"Fixed discount amount, in the coupon's currency.","type":"number","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.amountOff","typeLabel":"number"},"currencyCode":{"description":"Currency code for amountOff.","type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.currencyCode","typeLabel":"string"},"id":{"description":"Coupon id.","type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.id","typeLabel":"string"},"percentOff":{"description":"Percentage discount amount.","type":"number","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.percentOff","typeLabel":"number"},"productTypes":{"description":"Product types this coupon applies to.","type":"array","items":{"type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.productTypes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.productTypes","typeLabel":"string[]"},"type":{"description":"Coupon type.","type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon.type","typeLabel":"string"}},"additionalProperties":false,"description":"Applied coupon.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].coupon","typeLabel":"object"},"promocode":{"description":"Applied promocode.","type":"object","properties":{"code":{"type":"string","description":"Promocode string, the way a purchase references the promocode back.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.code","typeLabel":"string"},"id":{"type":"string","description":"Promocode id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.id","typeLabel":"string"},"expiration":{"description":"Promocode expiration.","type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the promocode expires.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.expiration.enabled","typeLabel":"boolean"},"date":{"description":"ISO timestamp of when the promocode expires.","type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.expiration.date","typeLabel":"string"}},"required":["enabled"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.expiration","typeLabel":"object"},"limitByFirstPurchase":{"description":"Whether the promocode is limited to a first purchase.","type":"boolean","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode.limitByFirstPurchase","typeLabel":"boolean"}},"required":["code","id"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].promocode","typeLabel":"object"},"subscriptionId":{"description":"Subscription the discount was granted by.","type":"string","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX].subscriptionId","typeLabel":"string"}},"required":["coupon"],"additionalProperties":false,"description":"Discount recorded on a settled payment.","uniqueKey":"booking.payments.items.[INDEX].discounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].discounts","typeLabel":"object[]"},"dispute":{"description":"Chargeback dispute raised against the payment, if any.","type":"object","properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the dispute was opened.","uniqueKey":"booking.payments.items.[INDEX].dispute.createDate","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].dispute","typeLabel":"object"},"price":{"description":"What the booking was charged.","type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","money"],"description":"What the booking was charged in.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].price.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"object","properties":{"totalAmount":{"type":"number","description":"Total credits charged.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].price.credits.totalAmount","typeLabel":"number"},"expiringAmount":{"description":"Expiring credits charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payments.items.[INDEX].price.credits.expiringAmount","typeLabel":"number"},"permanentAmount":{"description":"Permanent credits charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payments.items.[INDEX].price.credits.permanentAmount","typeLabel":"number"}},"required":["totalAmount"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].price.credits","typeLabel":"object"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"object","properties":{"totalAmount":{"type":"number","description":"Total day passes charged.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].price.dayPasses.totalAmount","typeLabel":"number"},"expiringAmount":{"description":"Expiring day passes charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payments.items.[INDEX].price.dayPasses.expiringAmount","typeLabel":"number"},"permanentAmount":{"description":"Permanent day passes charged. Omitted on a per-transaction entry, which records no split.","type":"number","uniqueKey":"booking.payments.items.[INDEX].price.dayPasses.permanentAmount","typeLabel":"number"}},"required":["totalAmount"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].price.dayPasses","typeLabel":"object"},"money":{"description":"Set when `type` is `money`.","type":"object","properties":{"grossAmount":{"type":"number","description":"Total amount charged, tax included.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].price.money.grossAmount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payments.items.[INDEX].price.money.currencyCode","typeLabel":"string"},"taxIsInclusive":{"description":"Whether the resource price already contained the tax, rather than the tax being added on top of it. Together with `taxRate` it is what splits `grossAmount` into its net and tax parts. Omitted when the location charges no tax.","type":"boolean","uniqueKey":"booking.payments.items.[INDEX].price.money.taxIsInclusive","typeLabel":"boolean"},"taxRate":{"description":"Tax rate applied, in percent. Omitted when the location charges no tax.","type":"number","uniqueKey":"booking.payments.items.[INDEX].price.money.taxRate","typeLabel":"number"}},"required":["grossAmount"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].price.money","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].price","typeLabel":"object"},"refundable":{"description":"Whether the payment can still be refunded. Omitted for `invoice` payments, where refundability depends on the invoice.","type":"boolean","uniqueKey":"booking.payments.items.[INDEX].refundable","typeLabel":"boolean"},"refunds":{"description":"Refunds made against the payment. Omitted when nothing was refunded.","type":"object","properties":{"type":{"type":"string","enum":["credits","dayPasses","money"],"description":"What was refunded.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.type","typeLabel":"enum\u003cstring>"},"credits":{"description":"Set when `type` is `credits`.","type":"array","items":{"type":"object","properties":{"amountExpiring":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead, which reports the expiring balances the refund returned to individually.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amountExpiring","typeLabel":"number"},"amountPermanent":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amountPermanent","typeLabel":"number"},"amountTotal":{"type":"number","description":"Total amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amountTotal","typeLabel":"number"},"amounts":{"description":"Balance buckets the refund returned to, one entry each. Absent on a refund made before the buckets were recorded, where only the amounts above are known.","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Amount returned to this balance bucket.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts.items.[INDEX].amount","typeLabel":"number"},"type":{"type":"string","enum":["expiring","permanent"],"description":"Balance bucket type.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"expirationDate":{"description":"Expiration date of the expiring balance the amount was returned to.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts.items.[INDEX].expirationDate","typeLabel":"string\u003cdate-time>"},"subscriptionRef":{"description":"Subscription the expiring balance belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts.items.[INDEX].subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["amount","type"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].amounts","typeLabel":"object[]"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX].id","typeLabel":"string"}},"required":["amountExpiring","amountPermanent","amountTotal"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds.credits.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].refunds.credits","typeLabel":"object[]"},"dayPasses":{"description":"Set when `type` is `dayPasses`.","type":"array","items":{"type":"object","properties":{"amountExpiring":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead, which reports the expiring balances the refund returned to individually.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amountExpiring","typeLabel":"number"},"amountPermanent":{"type":"number","deprecated":true,"description":"Deprecated. Use `amounts` instead.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amountPermanent","typeLabel":"number"},"amountTotal":{"type":"number","description":"Total amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amountTotal","typeLabel":"number"},"amounts":{"description":"Balance buckets the refund returned to, one entry each. Absent on a refund made before the buckets were recorded, where only the amounts above are known.","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Amount returned to this balance bucket.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].amount","typeLabel":"number"},"type":{"type":"string","enum":["expiring","permanent"],"description":"Balance bucket type.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"expirationDate":{"description":"Expiration date of the expiring balance the amount was returned to.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].expirationDate","typeLabel":"string\u003cdate-time>"},"subscriptionRef":{"description":"Subscription the expiring balance belongs to.","type":"string","format":"uuid","uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts.items.[INDEX].subscriptionRef","typeLabel":"string\u003cuuid>"}},"required":["amount","type"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].amounts","typeLabel":"object[]"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX].id","typeLabel":"string"}},"required":["amountExpiring","amountPermanent","amountTotal"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].refunds.dayPasses","typeLabel":"object[]"},"money":{"description":"Set when `type` is `money`.","type":"array","items":{"type":"object","properties":{"grossAmount":{"type":"number","description":"Gross amount returned by this refund.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].refunds.money.items.[INDEX].grossAmount","typeLabel":"number"},"createDate":{"description":"ISO timestamp of when the refund was made.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].refunds.money.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payments.items.[INDEX].refunds.money.items.[INDEX].currencyCode","typeLabel":"string"},"id":{"description":"Refund transaction id.","type":"string","uniqueKey":"booking.payments.items.[INDEX].refunds.money.items.[INDEX].id","typeLabel":"string"}},"required":["grossAmount"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds.money.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments.items.[INDEX].refunds.money","typeLabel":"object[]"}},"required":["type"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].refunds","typeLabel":"object"},"request":{"description":"Set for a pending gateway payment the current user still has to complete.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Payment request id.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].request.id","typeLabel":"string\u003cuuid>"},"url":{"type":"string","description":"Relative URL the payer opens to complete the payment.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].request.url","typeLabel":"string"}},"required":["id","url"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].request","typeLabel":"object"},"scheduleDate":{"description":"ISO timestamp of when a scheduled payment will be charged.","type":"string","format":"date-time","uniqueKey":"booking.payments.items.[INDEX].scheduleDate","typeLabel":"string\u003cdate-time>"},"status":{"description":"Payment status.","type":"string","enum":["succeeded","failed","pending","processing","canceled"],"uniqueKey":"booking.payments.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"surcharge":{"description":"Surcharge added on top of the price, if any.","type":"object","properties":{"money":{"type":"object","properties":{"amount":{"description":"Surcharge amount.","type":"number","uniqueKey":"booking.payments.items.[INDEX].surcharge.money.amount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO 4217 currency code.","uniqueKey":"booking.payments.items.[INDEX].surcharge.money.currencyCode","typeLabel":"string"},"percentage":{"description":"Surcharge percentage applied.","type":"number","uniqueKey":"booking.payments.items.[INDEX].surcharge.money.percentage","typeLabel":"number"},"rate":{"description":"Surcharge rate.","type":"number","uniqueKey":"booking.payments.items.[INDEX].surcharge.money.rate","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].surcharge.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"description":"Surcharge type.","isRequired":true,"uniqueKey":"booking.payments.items.[INDEX].surcharge.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX].surcharge","typeLabel":"object"},"transactionRef":{"description":"ID of the transaction the payment was recorded as.","type":"string","uniqueKey":"booking.payments.items.[INDEX].transactionRef","typeLabel":"string"},"transactionType":{"description":"Whether the transaction took the `price` from the payer or gave it back, as when a booking paid with credits or day passes is shortened. `price` is always positive, so a `refund` subtracts from what the booking cost.","type":"string","enum":["charge","refund"],"uniqueKey":"booking.payments.items.[INDEX].transactionType","typeLabel":"enum\u003cstring>"},"type":{"description":"Shorthand for the payment method: the gateway slug for `paymentGateway` payments, otherwise `method.type`.","type":"string","uniqueKey":"booking.payments.items.[INDEX].type","typeLabel":"string"}},"required":["method"],"additionalProperties":false,"uniqueKey":"booking.payments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"booking.payments","typeLabel":"object[]"},"seats":{"description":"Number of seats reserved.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"booking.seats","typeLabel":"integer"},"source":{"description":"Where the booking was created. Visible to admins only. Absent on bookings made before it was recorded.","type":"object","properties":{"type":{"type":"string","enum":["api","app","googleCalendar","mcp","member","outlookCalendar"],"description":"Where the booking was created: the admin app, the member app, an MCP client, a Google Calendar or Outlook Calendar import, or a direct API integration. The matching property below carries the details.","isRequired":true,"uniqueKey":"booking.source.type","typeLabel":"enum\u003cstring>"},"api":{"description":"Set when `type` is `api`.","type":"object","properties":{"clientId":{"type":"string","description":"ID of the OAuth client the integration authenticated with.","isRequired":true,"uniqueKey":"booking.source.api.clientId","typeLabel":"string"}},"required":["clientId"],"additionalProperties":false,"uniqueKey":"booking.source.api","typeLabel":"object"},"app":{"description":"Set when `type` is `app`.","type":"object","properties":{},"additionalProperties":false,"uniqueKey":"booking.source.app","typeLabel":"object"},"googleCalendar":{"description":"Set when `type` is `googleCalendar`.","type":"object","properties":{"calendarId":{"description":"ID of the Google Calendar the event was imported from.","type":"string","uniqueKey":"booking.source.googleCalendar.calendarId","typeLabel":"string"},"eventId":{"description":"ID of the Google Calendar event the booking mirrors.","type":"string","uniqueKey":"booking.source.googleCalendar.eventId","typeLabel":"string"},"eventLink":{"description":"Link to the Google Calendar event.","type":"string","uniqueKey":"booking.source.googleCalendar.eventLink","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"booking.source.googleCalendar","typeLabel":"object"},"mcp":{"description":"Set when `type` is `mcp`.","type":"object","properties":{"clientId":{"type":"string","description":"ID of the OAuth client the MCP client authenticated with.","isRequired":true,"uniqueKey":"booking.source.mcp.clientId","typeLabel":"string"}},"required":["clientId"],"additionalProperties":false,"uniqueKey":"booking.source.mcp","typeLabel":"object"},"member":{"description":"Set when `type` is `member`.","type":"object","properties":{},"additionalProperties":false,"uniqueKey":"booking.source.member","typeLabel":"object"},"outlookCalendar":{"description":"Set when `type` is `outlookCalendar`.","type":"object","properties":{"calendarId":{"description":"ID of the Outlook calendar the event was imported from.","type":"string","uniqueKey":"booking.source.outlookCalendar.calendarId","typeLabel":"string"},"eventId":{"description":"ID of the Outlook event the booking mirrors.","type":"string","uniqueKey":"booking.source.outlookCalendar.eventId","typeLabel":"string"},"eventLink":{"description":"Link to the Outlook event.","type":"string","uniqueKey":"booking.source.outlookCalendar.eventLink","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"booking.source.outlookCalendar","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"uniqueKey":"booking.source","typeLabel":"object"},"title":{"description":"Custom booking title. Omitted when the owner has restricted title visibility.","type":"string","uniqueKey":"booking.title","typeLabel":"string"},"updateDate":{"description":"ISO timestamp when the booking was last updated.","type":"string","format":"date-time","uniqueKey":"booking.updateDate","typeLabel":"string\u003cdate-time>"},"userOwner":{"description":"Profile of the booking owner. Omitted when the owner has restricted visibility.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the user.","isRequired":true,"uniqueKey":"booking.userOwner.id","typeLabel":"string\u003cuuid>"},"about":{"oneOf":[{"description":"Short bio of the user.","type":"string","uniqueKey":"booking.userOwner.about.oneOf.0","typeLabel":"string"},{"description":"Short bio of the user.","type":"null","uniqueKey":"booking.userOwner.about.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.about","typeLabel":"string | null"},"company":{"oneOf":[{"description":"Company the user belongs to, if any.","type":"object","properties":{"title":{"type":"string","description":"Company display name.","isRequired":true,"uniqueKey":"booking.userOwner.company.oneOf.0.title","typeLabel":"string"}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.userOwner.company.oneOf.0","typeLabel":"object"},{"description":"Company the user belongs to, if any.","type":"null","properties":{"title":{"type":"string","description":"Company display name."}},"required":["title"],"additionalProperties":false,"uniqueKey":"booking.userOwner.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.company","typeLabel":"object | null"},"email":{"oneOf":[{"description":"Email address of the user.","type":"string","format":"email","uniqueKey":"booking.userOwner.email.oneOf.0","typeLabel":"string\u003cemail>"},{"description":"Email address of the user.","type":"null","format":"email","uniqueKey":"booking.userOwner.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.email","typeLabel":"string\u003cemail> | null"},"name":{"oneOf":[{"description":"First name of the user.","type":"string","uniqueKey":"booking.userOwner.name.oneOf.0","typeLabel":"string"},{"description":"First name of the user.","type":"null","uniqueKey":"booking.userOwner.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.name","typeLabel":"string | null"},"phoneNumber":{"oneOf":[{"description":"Phone number of the user.","type":"string","uniqueKey":"booking.userOwner.phoneNumber.oneOf.0","typeLabel":"string"},{"description":"Phone number of the user.","type":"null","uniqueKey":"booking.userOwner.phoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.phoneNumber","typeLabel":"string | null"},"photoUrl":{"oneOf":[{"description":"Profile photo URL of the user.","type":"string","uniqueKey":"booking.userOwner.photoUrl.oneOf.0","typeLabel":"string"},{"description":"Profile photo URL of the user.","type":"null","uniqueKey":"booking.userOwner.photoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.photoUrl","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name of the user.","type":"string","uniqueKey":"booking.userOwner.surname.oneOf.0","typeLabel":"string"},{"description":"Last name of the user.","type":"null","uniqueKey":"booking.userOwner.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"booking.userOwner.surname","typeLabel":"string | null"}},"required":["id"],"additionalProperties":false,"uniqueKey":"booking.userOwner","typeLabel":"object"}},"required":["attendees","createDate","endDate","id","resourceRef","startDate"],"isRequired":true,"uniqueKey":"booking","typeLabel":"object"}},"required":["booking"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"booking":{"attendees":[{"membershipRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","user":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","about":"\u003cstring>","company":{"title":"\u003cstring>"},"email":"jsmith@example.com","name":"\u003cstring>","phoneNumber":"\u003cstring>","photoUrl":"\u003cstring>","surname":"\u003cstring>"}}],"createDate":"2023-11-07T05:31:56Z","endDate":"2023-11-07T05:31:56Z","id":"\u003cstring>","resourceRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","startDate":"2023-11-07T05:31:56Z","customer":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","company":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"user":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","about":"\u003cstring>","company":{"title":"\u003cstring>"},"email":"jsmith@example.com","name":"\u003cstring>","phoneNumber":"\u003cstring>","photoUrl":"\u003cstring>","surname":"\u003cstring>"}},"deleteDate":"2023-11-07T05:31:56Z","entire":true,"membershipRefOwner":"3c90c3cc-0d44-4b50-8888-8dd25736052a","memo":"\u003cstring>","metadata":{},"payment":{"method":{"type":"credits","credits":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"dayPasses":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"external":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"invoice":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"},"invoiceItemRef":"\u003cstring>","invoiceRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"paymentGateway":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"},"gateway":"authorizenet","label":"\u003cstring>","mask":"\u003cstring>","title":"\u003cstring>"}},"createDate":"2023-11-07T05:31:56Z","discounts":[{"coupon":{"amountOff":123,"currencyCode":"\u003cstring>","id":"\u003cstring>","percentOff":123,"productTypes":["\u003cstring>"],"type":"\u003cstring>"},"promocode":{"code":"\u003cstring>","id":"\u003cstring>","expiration":{"enabled":true,"date":"\u003cstring>"},"limitByFirstPurchase":true},"subscriptionId":"\u003cstring>"}],"dispute":{"createDate":"2023-11-07T05:31:56Z"},"price":{"type":"credits","credits":{"totalAmount":123,"expiringAmount":123,"permanentAmount":123},"dayPasses":{"totalAmount":123,"expiringAmount":123,"permanentAmount":123},"money":{"grossAmount":123,"currencyCode":"\u003cstring>","taxIsInclusive":true,"taxRate":123}},"refundable":true,"refunds":{"type":"credits","credits":[{"amountExpiring":123,"amountPermanent":123,"amountTotal":123,"amounts":[{"amount":123,"type":"expiring","expirationDate":"2023-11-07T05:31:56Z","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"createDate":"2023-11-07T05:31:56Z","id":"\u003cstring>"}],"dayPasses":[{"amountExpiring":123,"amountPermanent":123,"amountTotal":123,"amounts":[{"amount":123,"type":"expiring","expirationDate":"2023-11-07T05:31:56Z","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"createDate":"2023-11-07T05:31:56Z","id":"\u003cstring>"}],"money":[{"grossAmount":123,"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","id":"\u003cstring>"}]},"request":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","url":"\u003cstring>"},"scheduleDate":"2023-11-07T05:31:56Z","status":"succeeded","surcharge":{"money":{"amount":123,"currencyCode":"\u003cstring>","percentage":123,"rate":123},"type":"money"},"transactionRef":"\u003cstring>","transactionType":"charge","type":"\u003cstring>"},"payments":[{"method":{"type":"credits","credits":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"dayPasses":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"external":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"}},"invoice":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"},"invoiceItemRef":"\u003cstring>","invoiceRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"paymentGateway":{"customer":{"type":"company","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","location":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","title":"\u003cstring>"},"name":"\u003cstring>","surname":"\u003cstring>","title":"\u003cstring>"},"gateway":"authorizenet","label":"\u003cstring>","mask":"\u003cstring>","title":"\u003cstring>"}},"createDate":"2023-11-07T05:31:56Z","discounts":[{"coupon":{"amountOff":123,"currencyCode":"\u003cstring>","id":"\u003cstring>","percentOff":123,"productTypes":["\u003cstring>"],"type":"\u003cstring>"},"promocode":{"code":"\u003cstring>","id":"\u003cstring>","expiration":{"enabled":true,"date":"\u003cstring>"},"limitByFirstPurchase":true},"subscriptionId":"\u003cstring>"}],"dispute":{"createDate":"2023-11-07T05:31:56Z"},"price":{"type":"credits","credits":{"totalAmount":123,"expiringAmount":123,"permanentAmount":123},"dayPasses":{"totalAmount":123,"expiringAmount":123,"permanentAmount":123},"money":{"grossAmount":123,"currencyCode":"\u003cstring>","taxIsInclusive":true,"taxRate":123}},"refundable":true,"refunds":{"type":"credits","credits":[{"amountExpiring":123,"amountPermanent":123,"amountTotal":123,"amounts":[{"amount":123,"type":"expiring","expirationDate":"2023-11-07T05:31:56Z","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"createDate":"2023-11-07T05:31:56Z","id":"\u003cstring>"}],"dayPasses":[{"amountExpiring":123,"amountPermanent":123,"amountTotal":123,"amounts":[{"amount":123,"type":"expiring","expirationDate":"2023-11-07T05:31:56Z","subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"createDate":"2023-11-07T05:31:56Z","id":"\u003cstring>"}],"money":[{"grossAmount":123,"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","id":"\u003cstring>"}]},"request":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","url":"\u003cstring>"},"scheduleDate":"2023-11-07T05:31:56Z","status":"succeeded","surcharge":{"money":{"amount":123,"currencyCode":"\u003cstring>","percentage":123,"rate":123},"type":"money"},"transactionRef":"\u003cstring>","transactionType":"charge","type":"\u003cstring>"}],"seats":0,"source":{"type":"api","api":{"clientId":"\u003cstring>"},"app":{},"googleCalendar":{"calendarId":"\u003cstring>","eventId":"\u003cstring>","eventLink":"\u003cstring>"},"mcp":{"clientId":"\u003cstring>"},"member":{},"outlookCalendar":{"calendarId":"\u003cstring>","eventId":"\u003cstring>","eventLink":"\u003cstring>"}},"title":"\u003cstring>","updateDate":"2023-11-07T05:31:56Z","userOwner":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","about":"\u003cstring>","company":{"title":"\u003cstring>"},"email":"jsmith@example.com","name":"\u003cstring>","phoneNumber":"\u003cstring>","photoUrl":"\u003cstring>","surname":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"ac3ec3d6-5636-40d6-85f8-ba235bd7059a":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","uniqueKey":"type","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2e263d72-132d-4555-8e43-8b0bae38a5f4":{"BasicAuth":{"type":"http","description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#basic-authentication) for how to authorize your requests","scheme":"basic","scopes":[],"schemeName":"BasicAuth"}},"3bb70f91-cba0-41d3-9ae5-4ec7e9d01e21":{"OAuth2":{"type":"oauth2","description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#oauth2) for how to authorize your requests","flows":{"authorizationCode":{"authorizationUrl":"https://oauth2.spacebring.com/api/oauth2/authorize","tokenUrl":"https://oauth2.spacebring.com/api/oauth2/token","refreshUrl":"https://oauth2.spacebring.com/api/oauth2/token","scopes":{"benefits.readonly":"Read benefits and applications","benefits":"Read and write benefits and applications","campaigns.readonly":"Read campaigns","campaigns":"Read and write campaigns","checkIns.readonly":"Read check-ins","checkIns":"Read and write check-ins","community.readonly":"Read community companies and memberships","community":"Read and write community companies and memberships","deliveries.readonly":"Read deliveries","deliveries":"Read and write deliveries","events.readonly":"Read events and tickets","events":"Read and write events and tickets","feed.readonly":"Read feed posts","feed":"Read and write feed posts","invoices.readonly":"Read contracts, credit notes, discounts and invoices","invoices":"Read and write contract, credit notes, discounts and invoices","locations.readonly":"Read locations","locations":"Read and write locations","plans.readonly":"Read plans","plans":"Read and write plans","resources.readonly":"Read resources and bookings","resources":"Read and write resources and bookings","subscriptions.readonly":"Read subscriptions","subscriptions":"Read and write subscriptions","shop.readonly":"Read products and orders","shop":"Read and write products and orders","support.readonly":"Read support tickets","support":"Read and write support tickets","transactions.readonly":"Read transactions","transactions":"Read and write transactions","visitors.readonly":"Read visitors","visitors":"Read and write visitors"}}},"scopes":["resources"],"schemeName":"OAuth2"}}},"servers":{"8057ebc5-0748-4381-ab38-ae96501b45b6":{"url":"https://api.spacebring.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#basic-authentication) for how to authorize your requests","scheme":"basic","scopes":[],"schemeName":"BasicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#basic-authentication) for how to authorize your requests","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"},{"schemes":[{"scheme":{"type":"oauth2","description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#oauth2) for how to authorize your requests","flows":{"authorizationCode":{"authorizationUrl":"https://oauth2.spacebring.com/api/oauth2/authorize","tokenUrl":"https://oauth2.spacebring.com/api/oauth2/token","refreshUrl":"https://oauth2.spacebring.com/api/oauth2/token","scopes":{"benefits.readonly":"Read benefits and applications","benefits":"Read and write benefits and applications","campaigns.readonly":"Read campaigns","campaigns":"Read and write campaigns","checkIns.readonly":"Read check-ins","checkIns":"Read and write check-ins","community.readonly":"Read community companies and memberships","community":"Read and write community companies and memberships","deliveries.readonly":"Read deliveries","deliveries":"Read and write deliveries","events.readonly":"Read events and tickets","events":"Read and write events and tickets","feed.readonly":"Read feed posts","feed":"Read and write feed posts","invoices.readonly":"Read contracts, credit notes, discounts and invoices","invoices":"Read and write contract, credit notes, discounts and invoices","locations.readonly":"Read locations","locations":"Read and write locations","plans.readonly":"Read plans","plans":"Read and write plans","resources.readonly":"Read resources and bookings","resources":"Read and write resources and bookings","subscriptions.readonly":"Read subscriptions","subscriptions":"Read and write subscriptions","shop.readonly":"Read products and orders","shop":"Read and write products and orders","support.readonly":"Read support tickets","support":"Read and write support tickets","transactions.readonly":"Read transactions","transactions":"Read and write transactions","visitors.readonly":"Read visitors","visitors":"Read and write visitors"}}},"scopes":["resources"],"schemeName":"OAuth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"See our [authentication documentation](https://www.spacebring.com/docs/developer/api/authentication#oauth2) for how to authorize your requests","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2","name":"Authorization"}],"title":"OAuth2"}]},"originalFileLocation":"assets/openapi.json"},"subdomain":"spacebring","siteName":"Spacebring Docs","title":"Create a booking - Spacebring Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T13:37:17.358Z","originalFileLocation":"developer/api/resources/create-a-booking.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=\"Create a booking. OAuthRequired scopes: resources\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spacebring Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_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=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a booking - Spacebring Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a booking. OAuthRequired scopes: resources\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spacebring Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spacebring.mintlify.site/docs/_mintlify/api/og/v2?division=Resources\u0026amp;title=Create+a+booking\u0026amp;description=Create+a+booking.+%3Ch3%3EOAuth%3C%2Fh3%3ERequired+scopes%3A+%3Ccode%3Eresources%3C%2Fcode%3E\u0026amp;theme=7f8859e50abf4862f9faba27\u0026amp;signature=c5bcaa736e618419d3ea7448c1c9f54185f3695738661c913f482d1933f46452\">\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=\"Create a booking - Spacebring Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a booking. OAuthRequired scopes: resources\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spacebring.mintlify.site/docs/_mintlify/api/og/v2?division=Resources\u0026amp;title=Create+a+booking\u0026amp;description=Create+a+booking.+%3Ch3%3EOAuth%3C%2Fh3%3ERequired+scopes%3A+%3Ccode%3Eresources%3C%2Fcode%3E\u0026amp;theme=7f8859e50abf4862f9faba27\u0026amp;signature=c5bcaa736e618419d3ea7448c1c9f54185f3695738661c913f482d1933f46452\">\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=\"/docs/mintlify-assets/_mintlify/favicons/spacebring/YJ_pXMVKGxwLzz_x/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spacebring Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00928F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/developer/api/resources/create-a-booking.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.spacebring.com/#organization\",\"name\":\"Spacebring Docs\",\"url\":\"https://www.spacebring.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spacebring/ElSlMekJ2CB5Dog7/logo/light.svg?fit=max\u0026auto=format\u0026n=ElSlMekJ2CB5Dog7\u0026q=85\u0026s=29b9c3bc15b6d346f2c13cccf246e486\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.spacebring.com/docs#website\",\"name\":\"Spacebring Docs\",\"url\":\"https://www.spacebring.com/docs\",\"publisher\":{\"@id\":\"https://www.spacebring.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking#webpage\",\"url\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking\",\"name\":\"Create a booking\",\"description\":\"Create a booking. OAuthRequired scopes: resources\",\"dateModified\":\"2026-11-13T13:37:17.358Z\",\"isPartOf\":{\"@id\":\"https://www.spacebring.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIs\",\"item\":\"https://www.spacebring.com/docs/developer/api/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https://www.spacebring.com/docs/developer/api/resources/retrieve-resources\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a booking\",\"item\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking#apireference\",\"headline\":\"Create a booking\",\"name\":\"Create a booking\",\"description\":\"Create a booking. OAuthRequired scopes: resources\",\"url\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking\",\"mainEntityOfPage\":{\"@id\":\"https://www.spacebring.com/docs/developer/api/resources/create-a-booking#webpage\"},\"dateModified\":\"2026-11-13T13:37:17.358Z\",\"publisher\":{\"@id\":\"https://www.spacebring.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.spacebring.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spacebring Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Spacebring Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/developer/api/resources/create-a-booking.md","siteName":"Spacebring Docs","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/automate-onboarding-and-follow-ups"}]},{"tab":"Developer resources","groups":[{"group":"Overview","boost":0.1,"pages":[{"title":"Introduction","icon":"code","href":"/developer"},{"title":"Guides","icon":"map","href":"/developer/guides"},{"title":"Changelog","icon":"clock-rotate-left","href":"/developer/changelog"}]},{"group":"APIs","boost":0.1,"pages":[{"title":"Authentication","href":"/developer/api/authentication"},{"title":"Pagination","href":"/developer/api/pagination"},{"title":"Rate limiting","href":"/developer/api/rate-limiting"},{"title":"File uploads","href":"/developer/api/file-uploads"},{"title":"OpenAPI spec","href":"/developer/api/openapi-spec"},{"group":"Alternative currencies","pages":[{"title":"Retrieve alternative currencies","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /alt_currencies/v1","href":"/developer/api/alternative-currencies/retrieve-alternative-currencies"},{"title":"Create an alternative currency","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /alt_currencies/v1","href":"/developer/api/alternative-currencies/create-an-alternative-currency"},{"title":"Retrieve an alternative currency","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /alt_currencies/v1/{id}","href":"/developer/api/alternative-currencies/retrieve-an-alternative-currency"},{"title":"Delete an alternative currency","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /alt_currencies/v1/{id}","href":"/developer/api/alternative-currencies/delete-an-alternative-currency"},{"title":"Update an alternative currency","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /alt_currencies/v1/{id}","href":"/developer/api/alternative-currencies/update-an-alternative-currency"}]},{"group":"Benefits","pages":[{"title":"Retrieve categories","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/categories/v1","href":"/developer/api/benefits/retrieve-categories"},{"title":"Create a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /benefits/categories/v1","href":"/developer/api/benefits/create-a-category"},{"title":"Get a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/categories/v1/{categoryId}","href":"/developer/api/benefits/get-a-category"},{"title":"Update a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /benefits/categories/v1/{categoryId}","href":"/developer/api/benefits/update-a-category"},{"title":"Delete a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /benefits/categories/v1/{categoryId}","href":"/developer/api/benefits/delete-a-category"},{"title":"Retrieve benefits","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/v1","href":"/developer/api/benefits/retrieve-benefits"},{"title":"Create a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /benefits/v1","href":"/developer/api/benefits/create-a-benefit"},{"title":"Retrieve a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/v1/{benefitId}","href":"/developer/api/benefits/retrieve-a-benefit"},{"title":"Update a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /benefits/v1/{benefitId}","href":"/developer/api/benefits/update-a-benefit"},{"title":"Delete a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /benefits/v1/{benefitId}","href":"/developer/api/benefits/delete-a-benefit"},{"title":"Partially update a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /benefits/v1/{benefitId}","href":"/developer/api/benefits/partially-update-a-benefit"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /benefits/v1/media","href":"/developer/api/benefits/create-a-media-upload"},{"title":"Retrieve applications","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/applications/v1","href":"/developer/api/benefits/retrieve-applications"},{"title":"Apply for a benefit","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /benefits/applications/v1","href":"/developer/api/benefits/apply-for-a-benefit"},{"title":"Retrieve an application","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /benefits/applications/v1/{benefitApplicationId}","href":"/developer/api/benefits/retrieve-an-application"}]},{"group":"Billing","pages":[{"title":"Retrieve invoices","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1","href":"/developer/api/billing/retrieve-invoices"},{"title":"Create an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1","href":"/developer/api/billing/create-an-invoice"},{"title":"Retrieve an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1/{invoiceId}","href":"/developer/api/billing/retrieve-an-invoice"},{"title":"Delete an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /billing/invoices/v1/{invoiceId}","href":"/developer/api/billing/delete-an-invoice"},{"title":"Update an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /billing/invoices/v1/{invoiceId}","href":"/developer/api/billing/update-an-invoice"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/cancel_payment","href":"/developer/api/billing/cancel-a-payment"},{"title":"Duplicate an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/duplicate","href":"/developer/api/billing/duplicate-an-invoice"},{"title":"Issue an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/issue","href":"/developer/api/billing/issue-an-invoice"},{"title":"Pay an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/pay","href":"/developer/api/billing/pay-an-invoice"},{"title":"Resend an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/resend","href":"/developer/api/billing/resend-an-invoice"},{"title":"Void an invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /billing/invoices/v1/{invoiceId}/void","href":"/developer/api/billing/void-an-invoice"},{"title":"List invoice items","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1/items","href":"/developer/api/billing/list-invoice-items"},{"title":"Create an invoice item","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/items","href":"/developer/api/billing/create-an-invoice-item"},{"title":"Retrieve an invoice item","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1/items/{id}","href":"/developer/api/billing/retrieve-an-invoice-item"},{"title":"Delete an invoice item","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /billing/invoices/v1/items/{id}","href":"/developer/api/billing/delete-an-invoice-item"},{"title":"Update an invoice item","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /billing/invoices/v1/items/{id}","href":"/developer/api/billing/update-an-invoice-item"},{"title":"List upcoming invoice items","deprecated":true,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1/items/upcoming","href":"/developer/api/billing/list-upcoming-invoice-items"},{"title":"Retrieve the upcoming invoice","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/invoices/v1/upcoming","href":"/developer/api/billing/retrieve-the-upcoming-invoice"},{"title":"Retrieve credit notes","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/credit_notes/v1","href":"/developer/api/billing/retrieve-credit-notes"},{"title":"Create a credit note","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/credit_notes/v1","href":"/developer/api/billing/create-a-credit-note"},{"title":"Retrieve a credit note","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /billing/credit_notes/v1/{id}","href":"/developer/api/billing/retrieve-a-credit-note"},{"title":"Update a credit note","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /billing/credit_notes/v1/{id}","href":"/developer/api/billing/update-a-credit-note"},{"title":"Void a credit note","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /billing/credit_notes/v1/{id}/void","href":"/developer/api/billing/void-a-credit-note"},{"title":"Preview a credit note","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/credit_notes/v1/preview","href":"/developer/api/billing/preview-a-credit-note"}]},{"group":"Campaigns","pages":[{"title":"Retrieve campaigns","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /campaigns/v1","href":"/developer/api/campaigns/retrieve-campaigns"},{"title":"Create a campaign","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /campaigns/v1","href":"/developer/api/campaigns/create-a-campaign"},{"title":"Get a campaign","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /campaigns/v1/{campaignId}","href":"/developer/api/campaigns/get-a-campaign"},{"title":"Delete a campaign","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /campaigns/v1/{campaignId}","href":"/developer/api/campaigns/delete-a-campaign"},{"title":"Update a campaign","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /campaigns/v1/{campaignId}","href":"/developer/api/campaigns/update-a-campaign"}]},{"group":"Check-ins","pages":[{"title":"Retrieve check-ins","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /check_ins/v1","href":"/developer/api/check-ins/retrieve-check-ins"},{"title":"Get a check-in","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /check_ins/v1/{checkInId}","href":"/developer/api/check-ins/get-a-check-in"},{"title":"Update a check-in","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /check_ins/v1/{checkInId}","href":"/developer/api/check-ins/update-a-check-in"},{"title":"Check in","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /check_ins/v1/checkin","href":"/developer/api/check-ins/check-in"},{"title":"Check out","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /check_ins/v1/checkout","href":"/developer/api/check-ins/check-out"}]},{"group":"Community","pages":[{"title":"Retrieve companies","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /community/companies/v1","href":"/developer/api/community/retrieve-companies"},{"title":"Create a company","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /community/companies/v1","href":"/developer/api/community/create-a-company"},{"title":"Retrieve a company","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /community/companies/v1/{id}","href":"/developer/api/community/retrieve-a-company"},{"title":"Update a company","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /community/companies/v1/{id}","href":"/developer/api/community/update-a-company"},{"title":"Create a logo upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /community/companies/v1/media","href":"/developer/api/community/create-a-logo-upload"},{"title":"Retrieve memberships","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /community/memberships/v1","href":"/developer/api/community/retrieve-memberships"},{"title":"Create a membership","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /community/memberships/v1","href":"/developer/api/community/create-a-membership"},{"title":"Retrieve a membership","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /community/memberships/v1/{id}","href":"/developer/api/community/retrieve-a-membership"},{"title":"Update a membership","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /community/memberships/v1/{id}","href":"/developer/api/community/update-a-membership"},{"title":"Delete a membership","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /community/memberships/v1/{id}","href":"/developer/api/community/delete-a-membership"},{"title":"Retrieve deleted memberships","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /community/memberships/v1/deleted","href":"/developer/api/community/retrieve-deleted-memberships"}]},{"group":"Contracts","pages":[{"title":"Retrieve contracts","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /contracts/v1","href":"/developer/api/contracts/retrieve-contracts"},{"title":"Create a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/v1","href":"/developer/api/contracts/create-a-contract"},{"title":"Get a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /contracts/v1/{contractId}","href":"/developer/api/contracts/get-a-contract"},{"title":"Delete a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /contracts/v1/{contractId}","href":"/developer/api/contracts/delete-a-contract"},{"title":"Update a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /contracts/v1/{contractId}","href":"/developer/api/contracts/update-a-contract"},{"title":"Issue a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/v1/{contractId}/issue","href":"/developer/api/contracts/issue-a-contract"},{"title":"Resend a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/v1/{contractId}/resend","href":"/developer/api/contracts/resend-a-contract"},{"title":"Decline a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /contracts/v1/{contractId}/signers/{signerId}/decline","href":"/developer/api/contracts/decline-a-contract"},{"title":"Sign a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /contracts/v1/{contractId}/signers/{signerId}/sign","href":"/developer/api/contracts/sign-a-contract"},{"title":"Terminate a contract","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /contracts/v1/{contractId}/terminate","href":"/developer/api/contracts/terminate-a-contract"},{"title":"Retrieve templates","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /contracts/templates/v1","href":"/developer/api/contracts/retrieve-templates"},{"title":"Create a template","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/templates/v1","href":"/developer/api/contracts/create-a-template"},{"title":"Create a template upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/templates/v1/media","href":"/developer/api/contracts/create-a-template-upload"},{"title":"Retrieve a template","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /contracts/templates/v1/{templateId}","href":"/developer/api/contracts/retrieve-a-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /contracts/templates/v1/{templateId}","href":"/developer/api/contracts/delete-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /contracts/templates/v1/{templateId}","href":"/developer/api/contracts/update-a-template"},{"title":"Duplicate a template","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /contracts/templates/v1/{templateId}/duplicate","href":"/developer/api/contracts/duplicate-a-template"}]},{"group":"Deliveries","pages":[{"title":"Retrieve deliveries","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /deliveries/v1","href":"/developer/api/deliveries/retrieve-deliveries"},{"title":"Create a delivery","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /deliveries/v1","href":"/developer/api/deliveries/create-a-delivery"},{"title":"Get a delivery","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /deliveries/v1/{deliveryId}","href":"/developer/api/deliveries/get-a-delivery"},{"title":"Delete a delivery","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /deliveries/v1/{deliveryId}","href":"/developer/api/deliveries/delete-a-delivery"},{"title":"Update a delivery","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /deliveries/v1/{deliveryId}","href":"/developer/api/deliveries/update-a-delivery"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /deliveries/v1/media","href":"/developer/api/deliveries/create-a-media-upload"}]},{"group":"Discounts","pages":[{"title":"Retrieve coupons","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /discounts/v1/coupons","href":"/developer/api/discounts/retrieve-coupons"},{"title":"Create a coupon","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /discounts/v1/coupons","href":"/developer/api/discounts/create-a-coupon"},{"title":"Get a coupon","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /discounts/v1/coupons/{id}","href":"/developer/api/discounts/get-a-coupon"},{"title":"Delete a coupon","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /discounts/v1/coupons/{id}","href":"/developer/api/discounts/delete-a-coupon"},{"title":"Update a coupon","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /discounts/v1/coupons/{id}","href":"/developer/api/discounts/update-a-coupon"},{"title":"Retrieve promocodes","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /discounts/v1/promocodes","href":"/developer/api/discounts/retrieve-promocodes"},{"title":"Create a promocode","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /discounts/v1/promocodes","href":"/developer/api/discounts/create-a-promocode"},{"title":"Get a promocode","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /discounts/v1/promocodes/{id}","href":"/developer/api/discounts/get-a-promocode"},{"title":"Archive a promocode","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /discounts/v1/promocodes/{id}/archive","href":"/developer/api/discounts/archive-a-promocode"},{"title":"Retrieve redemptions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /discounts/v1/redemptions","href":"/developer/api/discounts/retrieve-redemptions"}]},{"group":"Events","pages":[{"title":"Retrieve events","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /events/v1","href":"/developer/api/events/retrieve-events"},{"title":"Create an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /events/v1","href":"/developer/api/events/create-an-event"},{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /events/v1/{id}","href":"/developer/api/events/retrieve-an-event"},{"title":"Update an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /events/v1/{id}","href":"/developer/api/events/update-an-event"},{"title":"Delete an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /events/v1/{id}","href":"/developer/api/events/delete-an-event"},{"title":"Partially update an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /events/v1/{id}","href":"/developer/api/events/partially-update-an-event"},{"title":"Cancel an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /events/v1/{id}/cancel","href":"/developer/api/events/cancel-an-event"},{"title":"Copy an event","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /events/v1/{id}/copy","href":"/developer/api/events/copy-an-event"},{"title":"Add event hosts","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /events/v1/{id}/hosts","href":"/developer/api/events/add-event-hosts"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /events/v1/media","href":"/developer/api/events/create-a-media-upload"},{"title":"Retrieve tickets","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /events/tickets/v1","href":"/developer/api/events/retrieve-tickets"},{"title":"Retrieve a ticket","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /events/tickets/v1/{id}","href":"/developer/api/events/retrieve-a-ticket"},{"title":"Update a ticket","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /events/tickets/v1/{id}","href":"/developer/api/events/update-a-ticket"},{"title":"Delete a ticket","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /events/tickets/v1/{id}","href":"/developer/api/events/delete-a-ticket"},{"title":"Check in a ticket","deprecated":true,"version":null,"openapi":"/assets/openapi.json post /events/tickets/v1/{id}/checkin","href":"/developer/api/events/check-in-a-ticket"}]},{"group":"Feed","pages":[{"title":"Get posts","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /feed/posts/v1","href":"/developer/api/feed/get-posts"},{"title":"Create a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /feed/posts/v1","href":"/developer/api/feed/create-a-post"},{"title":"Get a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /feed/posts/v1/{id}","href":"/developer/api/feed/get-a-post"},{"title":"Update a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /feed/posts/v1/{id}","href":"/developer/api/feed/update-a-post"},{"title":"Delete a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /feed/posts/v1/{id}","href":"/developer/api/feed/delete-a-post"},{"title":"Partially update a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /feed/posts/v1/{id}","href":"/developer/api/feed/partially-update-a-post"},{"title":"Get comments for a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /feed/posts/v1/{id}/comments","href":"/developer/api/feed/get-comments-for-a-post"},{"title":"Get likes for a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /feed/posts/v1/{id}/likes","href":"/developer/api/feed/get-likes-for-a-post"},{"title":"Create a like for a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /feed/posts/v1/{id}/likes","href":"/developer/api/feed/create-a-like-for-a-post"},{"title":"Delete a like for a post","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /feed/posts/v1/{id}/likes","href":"/developer/api/feed/delete-a-like-for-a-post"},{"title":"Create a post comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /feed/comments/v1","href":"/developer/api/feed/create-a-post-comment"},{"title":"Delete a post comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /feed/comments/v1/{id}","href":"/developer/api/feed/delete-a-post-comment"},{"title":"Create a like for a post comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /feed/comments/v1/{id}/likes","href":"/developer/api/feed/create-a-like-for-a-post-comment"},{"title":"Delete a like for a post comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /feed/comments/v1/{id}/likes","href":"/developer/api/feed/delete-a-like-for-a-post-comment"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /feed/v1/media","href":"/developer/api/feed/create-a-media-upload"}]},{"group":"Floors","pages":[{"title":"Get floors","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /floors/v1","href":"/developer/api/floors/get-floors"},{"title":"Delete a floor","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /floors/v1/{id}","href":"/developer/api/floors/delete-a-floor"}]},{"group":"Guides","pages":[{"title":"Retrieve guides","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /guides/v1","href":"/developer/api/guides/retrieve-guides"},{"title":"Create a guide","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /guides/v1","href":"/developer/api/guides/create-a-guide"},{"title":"Retrieve a guide","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /guides/v1/{guideId}","href":"/developer/api/guides/retrieve-a-guide"},{"title":"Delete a guide","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /guides/v1/{guideId}","href":"/developer/api/guides/delete-a-guide"},{"title":"Update a guide","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /guides/v1/{guideId}","href":"/developer/api/guides/update-a-guide"},{"title":"Create an attachment upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /guides/v1/attachments","href":"/developer/api/guides/create-an-attachment-upload"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /guides/v1/media","href":"/developer/api/guides/create-a-media-upload"}]},{"group":"Locations","pages":[{"title":"Retrieve all locations","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /locations/v1","href":"/developer/api/locations/retrieve-all-locations"},{"title":"Get a location","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /locations/v1/{locationId}","href":"/developer/api/locations/get-a-location"}]},{"group":"Networks","pages":[{"title":"Retrieve networks","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /networks/v1","href":"/developer/api/networks/retrieve-networks"}]},{"group":"Packages","pages":[{"title":"Retrieve packages","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /packages/v1","href":"/developer/api/packages/retrieve-packages"},{"title":"Create a package","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /packages/v1","href":"/developer/api/packages/create-a-package"},{"title":"Retrieve a package","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /packages/v1/{packageId}","href":"/developer/api/packages/retrieve-a-package"},{"title":"Delete a package","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /packages/v1/{packageId}","href":"/developer/api/packages/delete-a-package"},{"title":"Update a package","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /packages/v1/{packageId}","href":"/developer/api/packages/update-a-package"}]},{"group":"Plans","pages":[{"title":"Retrieve plans","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /plans/v1","href":"/developer/api/plans/retrieve-plans"},{"title":"Create a plan","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /plans/v1","href":"/developer/api/plans/create-a-plan"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /plans/v1/media","href":"/developer/api/plans/create-a-media-upload"},{"title":"Retrieve a plan","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /plans/v1/{planId}","href":"/developer/api/plans/retrieve-a-plan"},{"title":"Delete a plan","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /plans/v1/{planId}","href":"/developer/api/plans/delete-a-plan"},{"title":"Update a plan","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /plans/v1/{planId}","href":"/developer/api/plans/update-a-plan"}]},{"group":"Registrations","pages":[{"title":"Retrieve registrations","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /registrations/v1","href":"/developer/api/registrations/retrieve-registrations"}]},{"group":"Resources","pages":[{"title":"Retrieve resources","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/v1","href":"/developer/api/resources/retrieve-resources"},{"title":"Create a resource","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/v1","href":"/developer/api/resources/create-a-resource"},{"title":"Retrieve resource assignments","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/v1/assignments","href":"/developer/api/resources/retrieve-resource-assignments"},{"title":"Create a resource assignment","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/v1/assignments","href":"/developer/api/resources/create-a-resource-assignment"},{"title":"Get a resource assignment","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/v1/assignments/{assignmentId}","href":"/developer/api/resources/get-a-resource-assignment"},{"title":"Delete a resource assignment","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /resources/v1/assignments/{assignmentId}","href":"/developer/api/resources/delete-a-resource-assignment"},{"title":"Update a resource assignment","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /resources/v1/assignments/{assignmentId}","href":"/developer/api/resources/update-a-resource-assignment"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/v1/media","href":"/developer/api/resources/create-a-media-upload"},{"title":"Get a resource","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/v1/{resourceId}","href":"/developer/api/resources/get-a-resource"},{"title":"Delete a resource","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /resources/v1/{resourceId}","href":"/developer/api/resources/delete-a-resource"},{"title":"Patch a resource","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /resources/v1/{resourceId}","href":"/developer/api/resources/patch-a-resource"},{"title":"Check resource availability","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/v1/{resourceId}/availability","href":"/developer/api/resources/check-resource-availability"},{"title":"Retrieve bookings","description":"Retrieve all bookings of resources. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>resources.readonly\u003c/code> or \u003ccode>resources\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/bookings/v1","href":"/developer/api/resources/retrieve-bookings"},{"title":"Create a booking","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /resources/bookings/v1","href":"/developer/api/resources/create-a-booking"},{"title":"Get a booking","description":"Get a booking. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>resources.readonly\u003c/code> or \u003ccode>resources\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /resources/bookings/v1/{bookingId}","href":"/developer/api/resources/get-a-booking"},{"title":"Delete a booking","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /resources/bookings/v1/{bookingId}","href":"/developer/api/resources/delete-a-booking"},{"title":"Update a booking","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /resources/bookings/v1/{bookingId}","href":"/developer/api/resources/update-a-booking"}]},{"group":"Shop","pages":[{"title":"Retrieve categories","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/categories/v1","href":"/developer/api/shop/retrieve-categories"},{"title":"Create a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /shop/categories/v1","href":"/developer/api/shop/create-a-category"},{"title":"Get a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/categories/v1/{categoryId}","href":"/developer/api/shop/get-a-category"},{"title":"Update a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /shop/categories/v1/{categoryId}","href":"/developer/api/shop/update-a-category"},{"title":"Delete a category","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /shop/categories/v1/{categoryId}","href":"/developer/api/shop/delete-a-category"},{"title":"Retrieve products","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/products/v1","href":"/developer/api/shop/retrieve-products"},{"title":"Create a product","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /shop/products/v1","href":"/developer/api/shop/create-a-product"},{"title":"Get a product","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/products/v1/{productId}","href":"/developer/api/shop/get-a-product"},{"title":"Update a product","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /shop/products/v1/{productId}","href":"/developer/api/shop/update-a-product"},{"title":"Delete a product","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /shop/products/v1/{productId}","href":"/developer/api/shop/delete-a-product"},{"title":"Partially update a product","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /shop/products/v1/{productId}","href":"/developer/api/shop/partially-update-a-product"},{"title":"Create a media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /shop/products/v1/media","href":"/developer/api/shop/create-a-media-upload"},{"title":"Retrieve orders","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/orders/v1","href":"/developer/api/shop/retrieve-orders"},{"title":"Get an order","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /shop/orders/v1/{orderId}","href":"/developer/api/shop/get-an-order"}]},{"group":"Subscriptions","pages":[{"title":"Retrieve subscriptions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /subscriptions/v1","href":"/developer/api/subscriptions/retrieve-subscriptions"},{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /subscriptions/v1","href":"/developer/api/subscriptions/create-a-subscription"},{"title":"Retrieve a subscription","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /subscriptions/v1/{subscriptionId}","href":"/developer/api/subscriptions/retrieve-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /subscriptions/v1/{subscriptionId}","href":"/developer/api/subscriptions/delete-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /subscriptions/v1/{subscriptionId}","href":"/developer/api/subscriptions/update-a-subscription"},{"title":"Create a subscription item","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /subscriptions/v1/{subscriptionId}/items","href":"/developer/api/subscriptions/create-a-subscription-item"},{"title":"Delete a subscription item","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /subscriptions/v1/{subscriptionId}/items/{itemId}","href":"/developer/api/subscriptions/delete-a-subscription-item"},{"title":"Update a subscription item","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /subscriptions/v1/{subscriptionId}/items/{itemId}","href":"/developer/api/subscriptions/update-a-subscription-item"}]},{"group":"Support","pages":[{"title":"Retrieve tickets","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /support/tickets/v1","href":"/developer/api/support/retrieve-tickets"},{"title":"Create a ticket","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /support/tickets/v1","href":"/developer/api/support/create-a-ticket"},{"title":"Retrieve a ticket","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /support/tickets/v1/{id}","href":"/developer/api/support/retrieve-a-ticket"},{"title":"Update a ticket's assignee","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /support/tickets/v1/{id}/assignee","href":"/developer/api/support/update-a-tickets-assignee"},{"title":"Update a ticket's status","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /support/tickets/v1/{id}/status","href":"/developer/api/support/update-a-tickets-status"},{"title":"Update a ticket's type","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /support/tickets/v1/{id}/type","href":"/developer/api/support/update-a-tickets-type"},{"title":"Create a ticket comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /support/tickets/v1/comment","href":"/developer/api/support/create-a-ticket-comment"},{"title":"Delete a ticket comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /support/tickets/v1/comment/{id}","href":"/developer/api/support/delete-a-ticket-comment"},{"title":"Update a ticket comment","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /support/tickets/v1/comment/{id}","href":"/developer/api/support/update-a-ticket-comment"},{"title":"Create a ticket media upload","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /support/tickets/v1/media","href":"/developer/api/support/create-a-ticket-media-upload"}]},{"group":"Transactions","pages":[{"title":"Retrieve scheduled credits transactions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/credits/scheduled/v1","href":"/developer/api/transactions/retrieve-scheduled-credits-transactions"},{"title":"Retrieve credit transactions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/credits/v1","href":"/developer/api/transactions/retrieve-credit-transactions"},{"title":"Create a credit transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /transactions/credits/v1","href":"/developer/api/transactions/create-a-credit-transaction"},{"title":"Retrieve a credit transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/credits/v1/{id}","href":"/developer/api/transactions/retrieve-a-credit-transaction"},{"title":"Retrieve scheduled day pass transactions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/day_passes/scheduled/v1","href":"/developer/api/transactions/retrieve-scheduled-day-pass-transactions"},{"title":"Retrieve day pass transactions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/day_passes/v1","href":"/developer/api/transactions/retrieve-day-pass-transactions"},{"title":"Create a day pass transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /transactions/day_passes/v1","href":"/developer/api/transactions/create-a-day-pass-transaction"},{"title":"Retrieve a day pass transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/day_passes/v1/{id}","href":"/developer/api/transactions/retrieve-a-day-pass-transaction"},{"title":"Retrieve money transactions","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/money/v1","href":"/developer/api/transactions/retrieve-money-transactions"},{"title":"Create a money transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /transactions/money/v1","href":"/developer/api/transactions/create-a-money-transaction"},{"title":"Retrieve a money transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/money/v1/{transactionId}","href":"/developer/api/transactions/retrieve-a-money-transaction"},{"title":"Update a money transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json patch /transactions/money/v1/{transactionId}","href":"/developer/api/transactions/update-a-money-transaction"},{"title":"Refund a money transaction","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /transactions/money/v1/{transactionId}/refund","href":"/developer/api/transactions/refund-a-money-transaction"},{"title":"Retrieve credit balance","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/v1/balances/{id}/credits","href":"/developer/api/transactions/retrieve-credit-balance"},{"title":"Retrieve day passes balance","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /transactions/v1/balances/{id}/day_passes","href":"/developer/api/transactions/retrieve-day-passes-balance"}]},{"group":"Visitors","pages":[{"title":"Get contacts","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/contacts/v1","href":"/developer/api/visitors/get-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/contacts/v1","href":"/developer/api/visitors/create-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/contacts/v1/{contactId}","href":"/developer/api/visitors/get-a-contact"},{"title":"Get requests","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/requests/v1","href":"/developer/api/visitors/get-requests"},{"title":"Create a request","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/requests/v1","href":"/developer/api/visitors/create-a-request"},{"title":"Retrieve a request","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/requests/v1/{id}","href":"/developer/api/visitors/retrieve-a-request"},{"title":"Approve a request","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/requests/v1/{id}/approve","href":"/developer/api/visitors/approve-a-request"},{"title":"Reject a request","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/requests/v1/{id}/reject","href":"/developer/api/visitors/reject-a-request"},{"title":"Retrieve visits","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/visits/v1","href":"/developer/api/visitors/retrieve-visits"},{"title":"Create a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/visits/v1","href":"/developer/api/visitors/create-a-visit"},{"title":"Retrieve a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json get /visitors/visits/v1/{id}","href":"/developer/api/visitors/retrieve-a-visit"},{"title":"Update a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json put /visitors/visits/v1/{id}","href":"/developer/api/visitors/update-a-visit"},{"title":"Delete a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json delete /visitors/visits/v1/{id}","href":"/developer/api/visitors/delete-a-visit"},{"title":"Check in a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/visits/v1/checkin","href":"/developer/api/visitors/check-in-a-visit"},{"title":"Check out a visit","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /visitors/visits/v1/checkout","href":"/developer/api/visitors/check-out-a-visit"}]}]},{"group":"Webhooks","boost":0.1,"pages":[{"title":"Overview","href":"/developer/webhooks/index"},{"title":"Verifying webhooks requests","href":"/developer/webhooks/verifying"}]}]},{"tab":"Contact us","href":"mailto:support@spacebring.com"}]},"basePath":"","title":"Create a booking - Spacebring Docs","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CQGbdtm4.js","utils-D88A1f-Z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChqWdz1A.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-yBrxdh_6.js","snippetPresets-BgqDrFJC.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Duxc2rZw.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C7jidOil.js","shallow-xkjpHm-U.js","getApiPlaygroundDisplay-fE3rVpvL.js","CodeSnippet-LgxljKed.js","CodeSnippets-D-pXWDHq.js","Page-C2-BijcO.js","getPastedJson-CLRcu-uo.js","icon-Cxirpjgo.js","MethodPill-D49eqY5e.js","DuplicateIcon-CivCz5Rp.js","createIcon-D71qL3f5.js","DynamicMarkdown-BcGRTrw6.js","SectionHeading-DzaqmmSD.js","axios-vUo_bRtp.js","Markdown-CZqUYmMp.js","clsx-B6IZIRsp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-B0ZV6X5T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-MqLyPtsW.js"]}