{"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":""},"chroma":{"liveDeploymentHistoryId":"6aecd09ab75211e6a46d60fa","collectionId":"51c5a7ff-a30a-4139-933f-46885475550c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecd09ab75211e6a46d60fa"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aee07232e4164cdd9d1ee33","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Developer resources","count":230},{"language":"default","tag":"APIs","count":225},{"language":"default","tag":"Docs","count":210},{"language":"default","tag":"Admin experience","count":193},{"language":"default","tag":"Billing","count":83},{"language":"default","tag":"Integrations","count":46},{"language":"default","tag":"Invoices","count":28},{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"Resources","count":28},{"language":"default","tag":"Payments","count":27}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"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}"}],"page":{"pagePath":"developer/api/billing/pay-an-invoice","slug":"/developer/api/billing/pay-an-invoice","pageMetadata":{"title":"Pay an invoice","description":"Mark an invoice as paid by \u003ccode>External Payment\u003c/code>. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>invoices\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/pay","href":"/developer/api/billing/pay-an-invoice","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: [\"Mark an invoice as paid by \", _jsx(\"code\", {\n children: \"External Payment\"\n }), \". \", _jsx(\"h3\", {\n children: \"OAuth\"\n }), \"Required scopes: \", _jsx(\"code\", {\n children: \"invoices\"\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":"Pay an invoice","description":"Mark an invoice as paid by \u003ccode>External Payment\u003c/code>. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>invoices\u003c/code>","deprecated":null,"version":null,"openapi":"/assets/openapi.json post /billing/invoices/v1/{invoiceId}/pay","href":"/developer/api/billing/pay-an-invoice","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Billing"],"summary":"Pay an invoice","description":"Mark an invoice as paid by \u003ccode>External Payment\u003c/code>. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>invoices\u003c/code>","operationId":"payInvoice","parameters":["a9c21ed5-e43b-40ca-af37-58f092e80285","a12427d5-1648-4309-bb68-97d92634c518"],"requestBody":"e464d9f9-d340-4e8b-a46d-0fd141deae73","security":["d27c5dbc-5334-4a49-a50c-5980c10ba920","e5e5317c-3e7a-4305-9f78-61d7404dec04"],"responses":{"200":"a33c6beb-de88-400e-920d-6813afdc983c","400":"aa447db1-984b-4865-b0b5-abdf49bc591c"},"method":"post","type":"path","servers":["3818a9a5-6331-4dfe-9434-c7a3057e158d"],"path":"/billing/invoices/v1/{invoiceId}/pay","baseUrlOptions":["https://api.spacebring.com"],"title":"Pay an invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a9c21ed5-e43b-40ca-af37-58f092e80285":{"name":"invoiceId","in":"path","description":"The id of an invoice","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The id of an invoice","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true},"a12427d5-1648-4309-bb68-97d92634c518":{"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":{"amount":{"description":"Partial payment amount in major units.","type":"number","minimum":0,"exclusiveMinimum":true,"uniqueKey":"amount","typeLabel":"number"},"payment":{"description":"Payment details. Takes precedence over the deprecated paymentMethod field.","type":"object","properties":{"method":{"type":"object","properties":{"type":{"type":"string","enum":["external","paymentGateway"],"description":"Selected payment method type.","isRequired":true,"uniqueKey":"payment.method.type","typeLabel":"enum\u003cstring>"},"external":{"description":"External payment method, recorded outside the platform.","type":"object","properties":{"paymentDate":{"description":"ISO timestamp of when the money was received. Defaults to now. Must not be in the future.","type":"string","format":"date-time","uniqueKey":"payment.method.external.paymentDate","typeLabel":"string\u003cdate-time>"},"paidBy":{"description":"How the money was collected outside Spacebring: `bankTransfer`, `card` for a card charged on the location's own terminal, `cash`, `check`, or `paymentLink`. Omit it when unknown.","type":"string","enum":["bankTransfer","card","cash","check","paymentLink"],"uniqueKey":"payment.method.external.paidBy","typeLabel":"enum\u003cstring>"}},"uniqueKey":"payment.method.external","typeLabel":"object"},"paymentGateway":{"description":"Payment gateway (card) payment method.","type":"object","properties":{"gateway":{"type":"string","enum":["authorizenet","freedompay","hyperpay","kakaopay","maya","mercadopago","mollie","paypal","paystack","paytabs","payway","plata","stripe","tap","wayforpay","xendit"],"description":"Payment gateway provider.","isRequired":true,"uniqueKey":"payment.method.paymentGateway.gateway","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"description":"ID of the saved payment method.","type":"string","format":"uuid","uniqueKey":"payment.method.paymentGateway.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"description":"ID of the saved payment method.","type":"null","format":"uuid","uniqueKey":"payment.method.paymentGateway.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment.method.paymentGateway.id","typeLabel":"string\u003cuuid> | null"}},"required":["gateway"],"uniqueKey":"payment.method.paymentGateway","typeLabel":"object"}},"required":["type"],"description":"Payment method details.","isRequired":true,"uniqueKey":"payment.method","typeLabel":"object"}},"required":["method"],"uniqueKey":"payment","typeLabel":"object"},"paymentMethod":{"description":"Payment method to use. Use payment.method instead.","deprecated":true,"type":"object","properties":{"type":{"type":"string","enum":["authorizenet","external","freedompay","hyperpay","kakaopay","maya","mercadopago","mollie","paypal","paystack","paytabs","payway","plata","stripe","tap","wayforpay","xendit"],"description":"Payment gateway type.","isRequired":true,"uniqueKey":"paymentMethod.type","typeLabel":"enum\u003cstring>"},"id":{"description":"ID of the saved payment method.","type":"string","format":"uuid","uniqueKey":"paymentMethod.id","typeLabel":"string\u003cuuid>"}},"required":["type"],"uniqueKey":"paymentMethod","typeLabel":"object"},"termsConsent":{"description":"Whether the user has accepted the payment terms.","type":"boolean","uniqueKey":"termsConsent","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":1,"termsConsent":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"a33c6beb-de88-400e-920d-6813afdc983c":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"invoice":{"type":"object","additionalProperties":false,"properties":{"amountDue":{"type":"number","description":"Amount due in major units (from base or alt currency).","isRequired":true,"uniqueKey":"invoice.amountDue","typeLabel":"number"},"amountPaid":{"type":"number","description":"Total amount paid in major units.","isRequired":true,"uniqueKey":"invoice.amountPaid","typeLabel":"number"},"amountRemaining":{"type":"number","description":"Amount remaining to be paid in major units.","isRequired":true,"uniqueKey":"invoice.amountRemaining","typeLabel":"number"},"appliedBalance":{"type":"number","description":"Applied customer balance offset in major units.","isRequired":true,"uniqueKey":"invoice.appliedBalance","typeLabel":"number"},"baseAmounts":{"type":"object","properties":{"amountDue":{"type":"number","description":"Amount due in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.amountDue","typeLabel":"number"},"appliedBalance":{"type":"number","description":"Applied customer balance offset in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.appliedBalance","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO currency code.","isRequired":true,"uniqueKey":"invoice.baseAmounts.currencyCode","typeLabel":"string"},"postPaymentCreditNotesAmount":{"type":"number","description":"Post-payment credit notes amount in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.postPaymentCreditNotesAmount","typeLabel":"number"},"prePaymentCreditNotesAmount":{"type":"number","description":"Pre-payment credit notes amount in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.prePaymentCreditNotesAmount","typeLabel":"number"},"subtotalAmount":{"type":"number","description":"Subtotal amount in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.subtotalAmount","typeLabel":"number"},"subtotalExcludingTaxAmount":{"type":"number","description":"Subtotal excluding tax in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.subtotalExcludingTaxAmount","typeLabel":"number"},"taxes":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.taxes.items.[INDEX].amount","typeLabel":"number"},"inclusive":{"type":"boolean","description":"Whether tax is included in the price.","isRequired":true,"uniqueKey":"invoice.baseAmounts.taxes.items.[INDEX].inclusive","typeLabel":"boolean"},"rate":{"type":"number","description":"Tax rate as a decimal.","isRequired":true,"uniqueKey":"invoice.baseAmounts.taxes.items.[INDEX].rate","typeLabel":"number"},"taxableAmount":{"type":"number","description":"Amount subject to tax in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.taxes.items.[INDEX].taxableAmount","typeLabel":"number"}},"required":["amount","inclusive","rate","taxableAmount"],"additionalProperties":false,"uniqueKey":"invoice.baseAmounts.taxes.items.[INDEX]","typeLabel":"object"},"description":"Tax breakdown.","isRequired":true,"uniqueKey":"invoice.baseAmounts.taxes","typeLabel":"object[]"},"totalAmount":{"type":"number","description":"Total amount in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.totalAmount","typeLabel":"number"},"totalExcludingTaxAmount":{"type":"number","description":"Total amount excluding tax in major units.","isRequired":true,"uniqueKey":"invoice.baseAmounts.totalExcludingTaxAmount","typeLabel":"number"}},"required":["amountDue","appliedBalance","currencyCode","postPaymentCreditNotesAmount","prePaymentCreditNotesAmount","subtotalAmount","subtotalExcludingTaxAmount","taxes","totalAmount","totalExcludingTaxAmount"],"additionalProperties":false,"description":"Amounts in the base currency.","isRequired":true,"uniqueKey":"invoice.baseAmounts","typeLabel":"object"},"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the invoice was created.","isRequired":true,"uniqueKey":"invoice.createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","description":"ISO currency code (from base or alt currency).","isRequired":true,"uniqueKey":"invoice.currencyCode","typeLabel":"string"},"customer":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the company or membership.","isRequired":true,"uniqueKey":"invoice.customer.id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["company","user"],"description":"Whether the customer is a company or a user.","isRequired":true,"uniqueKey":"invoice.customer.type","typeLabel":"enum\u003cstring>"},"logo":{"description":"Company logo.","type":"object","properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"invoice.customer.logo.key","typeLabel":"string"},"url":{"type":"string","isRequired":true,"uniqueKey":"invoice.customer.logo.url","typeLabel":"string"}},"required":["key","url"],"additionalProperties":false,"uniqueKey":"invoice.customer.logo","typeLabel":"object"},"title":{"description":"Company name.","type":"string","uniqueKey":"invoice.customer.title","typeLabel":"string"},"user":{"description":"User details for membership customers.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"User ID.","isRequired":true,"uniqueKey":"invoice.customer.user.id","typeLabel":"string\u003cuuid>"},"about":{"oneOf":[{"description":"User bio.","type":"string","uniqueKey":"invoice.customer.user.about.oneOf.0","typeLabel":"string"},{"description":"User bio.","type":"null","uniqueKey":"invoice.customer.user.about.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.about","typeLabel":"string | null"},"email":{"oneOf":[{"description":"User email address.","type":"string","uniqueKey":"invoice.customer.user.email.oneOf.0","typeLabel":"string"},{"description":"User email address.","type":"null","uniqueKey":"invoice.customer.user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.email","typeLabel":"string | null"},"name":{"oneOf":[{"description":"First name.","type":"string","uniqueKey":"invoice.customer.user.name.oneOf.0","typeLabel":"string"},{"description":"First name.","type":"null","uniqueKey":"invoice.customer.user.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.name","typeLabel":"string | null"},"phoneNumber":{"oneOf":[{"description":"Phone number.","type":"string","uniqueKey":"invoice.customer.user.phoneNumber.oneOf.0","typeLabel":"string"},{"description":"Phone number.","type":"null","uniqueKey":"invoice.customer.user.phoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.phoneNumber","typeLabel":"string | null"},"photoUrl":{"oneOf":[{"description":"Profile photo URL.","type":"string","uniqueKey":"invoice.customer.user.photoUrl.oneOf.0","typeLabel":"string"},{"description":"Profile photo URL.","type":"null","uniqueKey":"invoice.customer.user.photoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.photoUrl","typeLabel":"string | null"},"surname":{"oneOf":[{"description":"Last name.","type":"string","uniqueKey":"invoice.customer.user.surname.oneOf.0","typeLabel":"string"},{"description":"Last name.","type":"null","uniqueKey":"invoice.customer.user.surname.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice.customer.user.surname","typeLabel":"string | null"}},"required":["id"],"additionalProperties":false,"uniqueKey":"invoice.customer.user","typeLabel":"object"}},"required":["id","type"],"additionalProperties":false,"description":"Customer associated with this invoice.","isRequired":true,"uniqueKey":"invoice.customer","typeLabel":"object"},"itemsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Number of line items on this invoice.","isRequired":true,"uniqueKey":"invoice.itemsCount","typeLabel":"integer"},"locationRef":{"type":"string","format":"uuid","description":"ID of the organization (location).","isRequired":true,"uniqueKey":"invoice.locationRef","typeLabel":"string\u003cuuid>"},"payments":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the payment was recorded.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"method":{"type":"object","properties":{"type":{"type":"string","enum":["external","paymentGateway"],"description":"Payment method type.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].method.type","typeLabel":"enum\u003cstring>"},"external":{"description":"Present when type is external.","type":"object","properties":{"paidBy":{"description":"How the money was collected outside Spacebring: `bankTransfer`, `card` for a card charged on the location's own terminal, `cash`, `check`, or `paymentLink`. Absent when the administrator did not record it.","type":"string","enum":["bankTransfer","card","cash","check","paymentLink"],"uniqueKey":"invoice.payments.items.[INDEX].method.external.paidBy","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].method.external","typeLabel":"object"},"paymentGateway":{"description":"Present when type is paymentGateway.","type":"object","properties":{"gateway":{"type":"string","description":"Payment gateway identifier.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].method.paymentGateway.gateway","typeLabel":"string"},"label":{"description":"Display label for the payment gateway.","type":"string","uniqueKey":"invoice.payments.items.[INDEX].method.paymentGateway.label","typeLabel":"string"},"mask":{"description":"Masked card or account identifier.","type":"string","uniqueKey":"invoice.payments.items.[INDEX].method.paymentGateway.mask","typeLabel":"string"},"title":{"description":"Display title for the payment gateway.","type":"string","uniqueKey":"invoice.payments.items.[INDEX].method.paymentGateway.title","typeLabel":"string"}},"required":["gateway"],"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].method.paymentGateway","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"description":"Payment method used.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].method","typeLabel":"object"},"price":{"type":"object","properties":{"money":{"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].price.money.currencyCode","typeLabel":"string"},"grossAmount":{"type":"number","description":"Payment amount in major units.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].price.money.grossAmount","typeLabel":"number"}},"required":["currencyCode","grossAmount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].price.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].price.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"description":"Payment price details.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].price","typeLabel":"object"},"refundable":{"type":"boolean","description":"Whether this payment can be refunded.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refundable","typeLabel":"boolean"},"status":{"type":"string","enum":["canceled","failed","pending","processing","succeeded"],"description":"Payment status.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"transactionRef":{"type":"string","format":"uuid","description":"ID of the associated transaction.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].transactionRef","typeLabel":"string\u003cuuid>"},"dispute":{"description":"Payment dispute details.","type":"object","properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the dispute was opened.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].dispute.createDate","typeLabel":"string\u003cdate-time>"}},"required":["createDate"],"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].dispute","typeLabel":"object"},"paymentDate":{"description":"ISO timestamp of when the money was received. Absent until the payment succeeds. A payment gateway sets it when it approves the payment; an external payment takes the date the administrator recorded, defaulting to when they recorded it.","type":"string","format":"date-time","uniqueKey":"invoice.payments.items.[INDEX].paymentDate","typeLabel":"string\u003cdate-time>"},"refunds":{"description":"Refunds issued against this payment.","type":"object","properties":{"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refunds.type","typeLabel":"enum\u003cstring>"},"money":{"type":"array","items":{"type":"object","properties":{"createDate":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refunds.money.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refunds.money.items.[INDEX].currencyCode","typeLabel":"string"},"grossAmount":{"type":"number","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refunds.money.items.[INDEX].grossAmount","typeLabel":"number"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].refunds.money.items.[INDEX].id","typeLabel":"string\u003cuuid>"}},"required":["createDate","currencyCode","grossAmount","id"],"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].refunds.money.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoice.payments.items.[INDEX].refunds.money","typeLabel":"object[]"}},"required":["type"],"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].refunds","typeLabel":"object"},"surcharge":{"description":"Payment surcharge details.","type":"object","properties":{"money":{"type":"object","properties":{"amount":{"type":"number","description":"Surcharge amount in major units.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].surcharge.money.amount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO currency code.","isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].surcharge.money.currencyCode","typeLabel":"string"},"percentage":{"description":"Surcharge percentage.","type":"number","uniqueKey":"invoice.payments.items.[INDEX].surcharge.money.percentage","typeLabel":"number"},"rate":{"description":"Surcharge rate.","type":"number","uniqueKey":"invoice.payments.items.[INDEX].surcharge.money.rate","typeLabel":"number"}},"required":["amount","currencyCode"],"additionalProperties":false,"isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].surcharge.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"invoice.payments.items.[INDEX].surcharge.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"uniqueKey":"invoice.payments.items.[INDEX].surcharge","typeLabel":"object"}},"required":["createDate","method","price","refundable","status","transactionRef"],"uniqueKey":"invoice.payments.items.[INDEX]","typeLabel":"object"},"description":"Payment records for this invoice.","isRequired":true,"uniqueKey":"invoice.payments","typeLabel":"object[]"},"postPaymentCreation":{"type":"boolean","description":"Whether this invoice was created post-payment.","isRequired":true,"uniqueKey":"invoice.postPaymentCreation","typeLabel":"boolean"},"postPaymentCreditNotesAmount":{"type":"number","description":"Post-payment credit notes amount in major units.","isRequired":true,"uniqueKey":"invoice.postPaymentCreditNotesAmount","typeLabel":"number"},"prePaymentCreditNotesAmount":{"type":"number","description":"Pre-payment credit notes amount in major units.","isRequired":true,"uniqueKey":"invoice.prePaymentCreditNotesAmount","typeLabel":"number"},"status":{"type":"string","enum":["draft","issued","paid","voided"],"description":"Invoice status.","isRequired":true,"uniqueKey":"invoice.status","typeLabel":"enum\u003cstring>"},"subtotalAmount":{"type":"number","description":"Subtotal amount in major units.","isRequired":true,"uniqueKey":"invoice.subtotalAmount","typeLabel":"number"},"subtotalExcludingTaxAmount":{"type":"number","description":"Subtotal excluding tax in major units.","isRequired":true,"uniqueKey":"invoice.subtotalExcludingTaxAmount","typeLabel":"number"},"taxes":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Tax amount in major units.","isRequired":true,"uniqueKey":"invoice.taxes.items.[INDEX].amount","typeLabel":"number"},"inclusive":{"type":"boolean","description":"Whether tax is included in the price.","isRequired":true,"uniqueKey":"invoice.taxes.items.[INDEX].inclusive","typeLabel":"boolean"},"rate":{"type":"number","description":"Tax rate as a decimal.","isRequired":true,"uniqueKey":"invoice.taxes.items.[INDEX].rate","typeLabel":"number"},"taxableAmount":{"type":"number","description":"Amount subject to tax in major units.","isRequired":true,"uniqueKey":"invoice.taxes.items.[INDEX].taxableAmount","typeLabel":"number"}},"required":["amount","inclusive","rate","taxableAmount"],"additionalProperties":false,"uniqueKey":"invoice.taxes.items.[INDEX]","typeLabel":"object"},"description":"Tax breakdown.","isRequired":true,"uniqueKey":"invoice.taxes","typeLabel":"object[]"},"timezoneId":{"type":"string","description":"Timezone of the invoice.","isRequired":true,"uniqueKey":"invoice.timezoneId","typeLabel":"string"},"title":{"type":"string","description":"Invoice title.","isRequired":true,"uniqueKey":"invoice.title","typeLabel":"string"},"totalAmount":{"type":"number","description":"Total amount in major units.","isRequired":true,"uniqueKey":"invoice.totalAmount","typeLabel":"number"},"totalExcludingTaxAmount":{"type":"number","description":"Total amount excluding tax in major units.","isRequired":true,"uniqueKey":"invoice.totalExcludingTaxAmount","typeLabel":"number"},"amount":{"deprecated":true,"description":"Deprecated. Use totalAmount instead.","type":"number","uniqueKey":"invoice.amount","typeLabel":"number"},"autoChargeFailed":{"description":"Whether the last auto-charge attempt failed.","type":"boolean","uniqueKey":"invoice.autoChargeFailed","typeLabel":"boolean"},"autoCreateDate":{"description":"Date of scheduled automatic invoice creation.","type":"string","format":"date-time","uniqueKey":"invoice.autoCreateDate","typeLabel":"string\u003cdate-time>"},"company":{"deprecated":true,"description":"Deprecated. Use customer instead.","uniqueKey":"invoice.company","typeLabel":"any"},"companyRef":{"description":"ID of the associated company.","type":"string","format":"uuid","uniqueKey":"invoice.companyRef","typeLabel":"string\u003cuuid>"},"customerAddress":{"description":"Customer billing address.","type":"object","properties":{"city":{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.city","typeLabel":"string"},"countryCode":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.countryCode.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"invoice.customerAddress.countryCode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"invoice.customerAddress.countryCode","typeLabel":"string | null"},"line1":{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.line1","typeLabel":"string"},"line2":{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.line2","typeLabel":"string"},"postalCode":{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.postalCode","typeLabel":"string"},"state":{"type":"string","isRequired":true,"uniqueKey":"invoice.customerAddress.state","typeLabel":"string"}},"required":["city","countryCode","line1","line2","postalCode","state"],"additionalProperties":false,"uniqueKey":"invoice.customerAddress","typeLabel":"object"},"customerName":{"description":"Customer legal name.","type":"string","uniqueKey":"invoice.customerName","typeLabel":"string"},"customerTaxId":{"description":"Customer tax ID.","type":"string","uniqueKey":"invoice.customerTaxId","typeLabel":"string"},"deleteDate":{"description":"ISO timestamp of when the invoice was deleted.","type":"string","format":"date-time","uniqueKey":"invoice.deleteDate","typeLabel":"string\u003cdate-time>"},"dueDate":{"description":"Payment due date.","type":"string","format":"date-time","uniqueKey":"invoice.dueDate","typeLabel":"string\u003cdate-time>"},"locationAddress":{"description":"Location billing address.","type":"object","properties":{"city":{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.city","typeLabel":"string"},"countryCode":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.countryCode.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"invoice.locationAddress.countryCode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"invoice.locationAddress.countryCode","typeLabel":"string | null"},"line1":{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.line1","typeLabel":"string"},"line2":{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.line2","typeLabel":"string"},"postalCode":{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.postalCode","typeLabel":"string"},"state":{"type":"string","isRequired":true,"uniqueKey":"invoice.locationAddress.state","typeLabel":"string"}},"required":["city","countryCode","line1","line2","postalCode","state"],"additionalProperties":false,"uniqueKey":"invoice.locationAddress","typeLabel":"object"},"locationName":{"description":"Location legal name.","type":"string","uniqueKey":"invoice.locationName","typeLabel":"string"},"locationTaxId":{"description":"Location tax ID.","type":"string","uniqueKey":"invoice.locationTaxId","typeLabel":"string"},"dueDays":{"description":"Number of days until payment is due.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"invoice.dueDays","typeLabel":"integer"},"dueType":{"description":"How the due date is calculated.","type":"string","enum":["date","days","default"],"uniqueKey":"invoice.dueType","typeLabel":"enum\u003cstring>"},"id":{"description":"Unique identifier of the invoice.","type":"string","format":"uuid","uniqueKey":"invoice.id","typeLabel":"string\u003cuuid>"},"internalNote":{"description":"Internal memo (visible to admins only).","type":"string","uniqueKey":"invoice.internalNote","typeLabel":"string"},"issueDate":{"description":"ISO timestamp of when the invoice was issued.","type":"string","format":"date-time","uniqueKey":"invoice.issueDate","typeLabel":"string\u003cdate-time>"},"items":{"deprecated":true,"description":"Deprecated. Invoice line items.","type":"array","items":{"oneOf":[{}],"uniqueKey":"invoice.\\items.items.[INDEX]","typeLabel":"any"},"uniqueKey":"invoice.\\items","typeLabel":"any[]"},"membershipRef":{"description":"ID of the associated membership.","type":"string","format":"uuid","uniqueKey":"invoice.membershipRef","typeLabel":"string\u003cuuid>"},"memo":{"deprecated":true,"description":"Deprecated. Use internalNote instead.","type":"string","uniqueKey":"invoice.memo","typeLabel":"string"},"netAmount":{"deprecated":true,"description":"Deprecated. Use totalExcludingTaxAmount instead.","type":"number","uniqueKey":"invoice.netAmount","typeLabel":"number"},"number":{"deprecated":true,"description":"Deprecated. Use title instead.","type":"string","uniqueKey":"invoice.number","typeLabel":"string"},"paymentMethod":{"description":"Auto-charge payment method, if configured.","type":"object","properties":{"cardMask":{"type":"string","uniqueKey":"invoice.paymentMethod.cardMask","typeLabel":"string"},"label":{"type":"string","uniqueKey":"invoice.paymentMethod.label","typeLabel":"string"},"mask":{"type":"string","uniqueKey":"invoice.paymentMethod.mask","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"invoice.paymentMethod","typeLabel":"object"},"pdfUrl":{"description":"URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link.","type":"string","uniqueKey":"invoice.pdfUrl","typeLabel":"string"},"postPaymentCreditAmount":{"deprecated":true,"description":"Deprecated. Use baseAmounts.postPaymentCreditNotesAmount instead.","type":"number","uniqueKey":"invoice.postPaymentCreditAmount","typeLabel":"number"},"prePaymentCreditAmount":{"deprecated":true,"description":"Deprecated. Use baseAmounts.prePaymentCreditNotesAmount instead.","type":"number","uniqueKey":"invoice.prePaymentCreditAmount","typeLabel":"number"},"receiptPdfUrl":{"description":"URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link.","type":"string","uniqueKey":"invoice.receiptPdfUrl","typeLabel":"string"},"startingBalance":{"description":"Customer balance at draft creation.","type":"number","uniqueKey":"invoice.startingBalance","typeLabel":"number"},"subscriptionRef":{"description":"ID of the associated subscription.","type":"string","format":"uuid","uniqueKey":"invoice.subscriptionRef","typeLabel":"string\u003cuuid>"},"taxAmount":{"deprecated":true,"description":"Deprecated. Use baseAmounts.taxes instead.","type":"number","uniqueKey":"invoice.taxAmount","typeLabel":"number"},"transaction":{"deprecated":true,"description":"Deprecated. Use payments instead.","type":"object","properties":{"amount":{"type":"number","isRequired":true,"uniqueKey":"invoice.transaction.amount","typeLabel":"number"},"createDate":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"invoice.transaction.createDate","typeLabel":"string\u003cdate-time>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"invoice.transaction.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["canceled","failed","pending","processing","succeeded"],"isRequired":true,"uniqueKey":"invoice.transaction.status","typeLabel":"enum\u003cstring>"},"paymentMethod":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"invoice.transaction.paymentMethod.type","typeLabel":"string"},"label":{"type":"string","uniqueKey":"invoice.transaction.paymentMethod.label","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"uniqueKey":"invoice.transaction.paymentMethod","typeLabel":"object"},"refund":{"type":"object","properties":{"amount":{"type":"number","isRequired":true,"uniqueKey":"invoice.transaction.refund.amount","typeLabel":"number"},"createDate":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"invoice.transaction.refund.createDate","typeLabel":"string\u003cdate-time>"}},"required":["amount","createDate"],"additionalProperties":false,"uniqueKey":"invoice.transaction.refund","typeLabel":"object"},"refunds":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","isRequired":true,"uniqueKey":"invoice.transaction.refunds.items.[INDEX].amount","typeLabel":"number"},"createDate":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"invoice.transaction.refunds.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","isRequired":true,"uniqueKey":"invoice.transaction.refunds.items.[INDEX].currencyCode","typeLabel":"string"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"invoice.transaction.refunds.items.[INDEX].id","typeLabel":"string\u003cuuid>"}},"required":["amount","createDate","currencyCode","id"],"additionalProperties":false,"uniqueKey":"invoice.transaction.refunds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoice.transaction.refunds","typeLabel":"object[]"}},"required":["amount","createDate","id","status"],"additionalProperties":false,"uniqueKey":"invoice.transaction","typeLabel":"object"},"user":{"deprecated":true,"description":"Deprecated. Use customer.user instead.","uniqueKey":"invoice.user","typeLabel":"any"},"voidDate":{"description":"ISO timestamp of when the invoice was voided.","type":"string","format":"date-time","uniqueKey":"invoice.voidDate","typeLabel":"string\u003cdate-time>"}},"required":["amountDue","amountPaid","amountRemaining","appliedBalance","baseAmounts","createDate","currencyCode","customer","itemsCount","locationRef","payments","postPaymentCreation","postPaymentCreditNotesAmount","prePaymentCreditNotesAmount","status","subtotalAmount","subtotalExcludingTaxAmount","taxes","timezoneId","title","totalAmount","totalExcludingTaxAmount"],"uniqueKey":"invoice","typeLabel":"object"},"payment":{"type":"object","additionalProperties":false,"properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the payment was recorded.","isRequired":true,"uniqueKey":"payment.createDate","typeLabel":"string\u003cdate-time>"},"method":{"type":"object","properties":{"type":{"type":"string","enum":["external","paymentGateway"],"description":"Payment method type.","isRequired":true,"uniqueKey":"payment.method.type","typeLabel":"enum\u003cstring>"},"external":{"description":"Present when type is external.","type":"object","properties":{"paidBy":{"description":"How the money was collected outside Spacebring: `bankTransfer`, `card` for a card charged on the location's own terminal, `cash`, `check`, or `paymentLink`. Absent when the administrator did not record it.","type":"string","enum":["bankTransfer","card","cash","check","paymentLink"],"uniqueKey":"payment.method.external.paidBy","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"payment.method.external","typeLabel":"object"},"paymentGateway":{"description":"Present when type is paymentGateway.","type":"object","properties":{"gateway":{"type":"string","description":"Payment gateway identifier.","isRequired":true,"uniqueKey":"payment.method.paymentGateway.gateway","typeLabel":"string"},"label":{"description":"Display label for the payment gateway.","type":"string","uniqueKey":"payment.method.paymentGateway.label","typeLabel":"string"},"mask":{"description":"Masked card or account identifier.","type":"string","uniqueKey":"payment.method.paymentGateway.mask","typeLabel":"string"},"title":{"description":"Display title for the payment gateway.","type":"string","uniqueKey":"payment.method.paymentGateway.title","typeLabel":"string"}},"required":["gateway"],"additionalProperties":false,"uniqueKey":"payment.method.paymentGateway","typeLabel":"object"}},"required":["type"],"additionalProperties":false,"description":"Payment method used.","isRequired":true,"uniqueKey":"payment.method","typeLabel":"object"},"price":{"type":"object","properties":{"money":{"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code.","isRequired":true,"uniqueKey":"payment.price.money.currencyCode","typeLabel":"string"},"grossAmount":{"type":"number","description":"Payment amount in major units.","isRequired":true,"uniqueKey":"payment.price.money.grossAmount","typeLabel":"number"}},"required":["currencyCode","grossAmount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"payment.price.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"payment.price.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"description":"Payment price details.","isRequired":true,"uniqueKey":"payment.price","typeLabel":"object"},"refundable":{"type":"boolean","description":"Whether this payment can be refunded.","isRequired":true,"uniqueKey":"payment.refundable","typeLabel":"boolean"},"status":{"type":"string","enum":["canceled","failed","pending","processing","succeeded"],"description":"Payment status.","isRequired":true,"uniqueKey":"payment.status","typeLabel":"enum\u003cstring>"},"transactionRef":{"type":"string","format":"uuid","description":"ID of the associated transaction.","isRequired":true,"uniqueKey":"payment.transactionRef","typeLabel":"string\u003cuuid>"},"dispute":{"description":"Payment dispute details.","type":"object","properties":{"createDate":{"type":"string","format":"date-time","description":"ISO timestamp of when the dispute was opened.","isRequired":true,"uniqueKey":"payment.dispute.createDate","typeLabel":"string\u003cdate-time>"}},"required":["createDate"],"additionalProperties":false,"uniqueKey":"payment.dispute","typeLabel":"object"},"paymentDate":{"description":"ISO timestamp of when the money was received. Absent until the payment succeeds. A payment gateway sets it when it approves the payment; an external payment takes the date the administrator recorded, defaulting to when they recorded it.","type":"string","format":"date-time","uniqueKey":"payment.paymentDate","typeLabel":"string\u003cdate-time>"},"refunds":{"description":"Refunds issued against this payment.","type":"object","properties":{"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"payment.refunds.type","typeLabel":"enum\u003cstring>"},"money":{"type":"array","items":{"type":"object","properties":{"createDate":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"payment.refunds.money.items.[INDEX].createDate","typeLabel":"string\u003cdate-time>"},"currencyCode":{"type":"string","isRequired":true,"uniqueKey":"payment.refunds.money.items.[INDEX].currencyCode","typeLabel":"string"},"grossAmount":{"type":"number","isRequired":true,"uniqueKey":"payment.refunds.money.items.[INDEX].grossAmount","typeLabel":"number"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"payment.refunds.money.items.[INDEX].id","typeLabel":"string\u003cuuid>"}},"required":["createDate","currencyCode","grossAmount","id"],"additionalProperties":false,"uniqueKey":"payment.refunds.money.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payment.refunds.money","typeLabel":"object[]"}},"required":["type"],"additionalProperties":false,"uniqueKey":"payment.refunds","typeLabel":"object"},"surcharge":{"description":"Payment surcharge details.","type":"object","properties":{"money":{"type":"object","properties":{"amount":{"type":"number","description":"Surcharge amount in major units.","isRequired":true,"uniqueKey":"payment.surcharge.money.amount","typeLabel":"number"},"currencyCode":{"type":"string","description":"ISO currency code.","isRequired":true,"uniqueKey":"payment.surcharge.money.currencyCode","typeLabel":"string"},"percentage":{"description":"Surcharge percentage.","type":"number","uniqueKey":"payment.surcharge.money.percentage","typeLabel":"number"},"rate":{"description":"Surcharge rate.","type":"number","uniqueKey":"payment.surcharge.money.rate","typeLabel":"number"}},"required":["amount","currencyCode"],"additionalProperties":false,"isRequired":true,"uniqueKey":"payment.surcharge.money","typeLabel":"object"},"type":{"type":"string","enum":["money"],"isRequired":true,"uniqueKey":"payment.surcharge.type","typeLabel":"enum\u003cstring>"}},"required":["money","type"],"additionalProperties":false,"uniqueKey":"payment.surcharge","typeLabel":"object"}},"required":["createDate","method","price","refundable","status","transactionRef"],"uniqueKey":"payment","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"invoice":{"amountDue":123,"amountPaid":123,"amountRemaining":123,"appliedBalance":123,"baseAmounts":{"amountDue":123,"appliedBalance":123,"currencyCode":"\u003cstring>","postPaymentCreditNotesAmount":123,"prePaymentCreditNotesAmount":123,"subtotalAmount":123,"subtotalExcludingTaxAmount":123,"taxes":[{"amount":123,"inclusive":true,"rate":123,"taxableAmount":123}],"totalAmount":123,"totalExcludingTaxAmount":123},"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","customer":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","type":"company","logo":{"key":"\u003cstring>","url":"\u003cstring>"},"title":"\u003cstring>","user":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","about":"\u003cstring>","email":"\u003cstring>","name":"\u003cstring>","phoneNumber":"\u003cstring>","photoUrl":"\u003cstring>","surname":"\u003cstring>"}},"itemsCount":0,"locationRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","payments":[{"createDate":"2023-11-07T05:31:56Z","method":{"type":"external","external":{"paidBy":"bankTransfer"},"paymentGateway":{"gateway":"\u003cstring>","label":"\u003cstring>","mask":"\u003cstring>","title":"\u003cstring>"}},"price":{"money":{"currencyCode":"\u003cstring>","grossAmount":123},"type":"money"},"refundable":true,"status":"canceled","transactionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","dispute":{"createDate":"2023-11-07T05:31:56Z"},"paymentDate":"2023-11-07T05:31:56Z","refunds":{"type":"money","money":[{"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","grossAmount":123,"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]},"surcharge":{"money":{"amount":123,"currencyCode":"\u003cstring>","percentage":123,"rate":123},"type":"money"}}],"postPaymentCreation":true,"postPaymentCreditNotesAmount":123,"prePaymentCreditNotesAmount":123,"status":"draft","subtotalAmount":123,"subtotalExcludingTaxAmount":123,"taxes":[{"amount":123,"inclusive":true,"rate":123,"taxableAmount":123}],"timezoneId":"\u003cstring>","title":"\u003cstring>","totalAmount":123,"totalExcludingTaxAmount":123,"amount":123,"autoChargeFailed":true,"autoCreateDate":"2023-11-07T05:31:56Z","company":"\u003cunknown>","companyRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","customerAddress":{"city":"\u003cstring>","countryCode":"\u003cstring>","line1":"\u003cstring>","line2":"\u003cstring>","postalCode":"\u003cstring>","state":"\u003cstring>"},"customerName":"\u003cstring>","customerTaxId":"\u003cstring>","deleteDate":"2023-11-07T05:31:56Z","dueDate":"2023-11-07T05:31:56Z","locationAddress":{"city":"\u003cstring>","countryCode":"\u003cstring>","line1":"\u003cstring>","line2":"\u003cstring>","postalCode":"\u003cstring>","state":"\u003cstring>"},"locationName":"\u003cstring>","locationTaxId":"\u003cstring>","dueDays":0,"dueType":"date","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","internalNote":"\u003cstring>","issueDate":"2023-11-07T05:31:56Z","items":["\u003cunknown>"],"membershipRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","memo":"\u003cstring>","netAmount":123,"number":"\u003cstring>","paymentMethod":{"cardMask":"\u003cstring>","label":"\u003cstring>","mask":"\u003cstring>"},"pdfUrl":"\u003cstring>","postPaymentCreditAmount":123,"prePaymentCreditAmount":123,"receiptPdfUrl":"\u003cstring>","startingBalance":123,"subscriptionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","taxAmount":123,"transaction":{"amount":123,"createDate":"2023-11-07T05:31:56Z","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"canceled","paymentMethod":{"type":"\u003cstring>","label":"\u003cstring>"},"refund":{"amount":123,"createDate":"2023-11-07T05:31:56Z"},"refunds":[{"amount":123,"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]},"user":"\u003cunknown>","voidDate":"2023-11-07T05:31:56Z"},"payment":{"createDate":"2023-11-07T05:31:56Z","method":{"type":"external","external":{"paidBy":"bankTransfer"},"paymentGateway":{"gateway":"\u003cstring>","label":"\u003cstring>","mask":"\u003cstring>","title":"\u003cstring>"}},"price":{"money":{"currencyCode":"\u003cstring>","grossAmount":123},"type":"money"},"refundable":true,"status":"canceled","transactionRef":"3c90c3cc-0d44-4b50-8888-8dd25736052a","dispute":{"createDate":"2023-11-07T05:31:56Z"},"paymentDate":"2023-11-07T05:31:56Z","refunds":{"type":"money","money":[{"createDate":"2023-11-07T05:31:56Z","currencyCode":"\u003cstring>","grossAmount":123,"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]},"surcharge":{"money":{"amount":123,"currencyCode":"\u003cstring>","percentage":123,"rate":123},"type":"money"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"aa447db1-984b-4865-b0b5-abdf49bc591c":{"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":{"d27c5dbc-5334-4a49-a50c-5980c10ba920":{"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"}},"e5e5317c-3e7a-4305-9f78-61d7404dec04":{"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","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","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":["invoices"],"schemeName":"OAuth2"}}},"servers":{"3818a9a5-6331-4dfe-9434-c7a3057e158d":{"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","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","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":["invoices"],"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":"Pay an invoice - Spacebring Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T14:15:04.241Z","originalFileLocation":"developer/api/billing/pay-an-invoice.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=\"Mark an invoice as paid by External Payment. OAuthRequired scopes: invoices\">\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=\"Pay an invoice - Spacebring Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Mark an invoice as paid by External Payment. OAuthRequired scopes: invoices\">\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/billing/pay-an-invoice\">\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=Billing\u0026amp;title=Pay+an+invoice\u0026amp;description=Mark+an+invoice+as+paid+by+%3Ccode%3EExternal+Payment%3C%2Fcode%3E.+%3Ch3%3EOAuth%3C%2Fh3%3ERequired+scopes%3A+%3Ccode%3Einvoices%3C%2Fcode%3E\u0026amp;theme=d0b0508e0910b4cedd4270e7\u0026amp;signature=771381c047f639e41bc24e0740e170804ee1cf48a0328424ffdcf01877d77594\">\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=\"Pay an invoice - Spacebring Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Mark an invoice as paid by External Payment. OAuthRequired scopes: invoices\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spacebring.mintlify.site/docs/_mintlify/api/og/v2?division=Billing\u0026amp;title=Pay+an+invoice\u0026amp;description=Mark+an+invoice+as+paid+by+%3Ccode%3EExternal+Payment%3C%2Fcode%3E.+%3Ch3%3EOAuth%3C%2Fh3%3ERequired+scopes%3A+%3Ccode%3Einvoices%3C%2Fcode%3E\u0026amp;theme=d0b0508e0910b4cedd4270e7\u0026amp;signature=771381c047f639e41bc24e0740e170804ee1cf48a0328424ffdcf01877d77594\">\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/billing/pay-an-invoice\">\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/billing/pay-an-invoice.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/billing/pay-an-invoice#webpage\",\"url\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice\",\"name\":\"Pay an invoice\",\"description\":\"Mark an invoice as paid by External Payment. OAuthRequired scopes: invoices\",\"dateModified\":\"2026-11-06T14:15:04.241Z\",\"isPartOf\":{\"@id\":\"https://www.spacebring.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIs\",\"item\":\"https://www.spacebring.com/docs/developer/api/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Billing\",\"item\":\"https://www.spacebring.com/docs/developer/api/billing/retrieve-invoices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pay an invoice\",\"item\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice#apireference\",\"headline\":\"Pay an invoice\",\"name\":\"Pay an invoice\",\"description\":\"Mark an invoice as paid by External Payment. OAuthRequired scopes: invoices\",\"url\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://www.spacebring.com/docs/developer/api/billing/pay-an-invoice#webpage\"},\"dateModified\":\"2026-11-06T14:15:04.241Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","description":"Issue (finalize) a draft invoice, making it ready for payment. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>invoices\u003c/code>","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","description":"Resend an issued invoice notification to the customer. \u003ch3>OAuth\u003c/h3>Required scopes: \u003ccode>invoices\u003c/code>","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":"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":"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","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","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":"Pay an invoice - Spacebring Docs","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}