{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Polar","description":"Payments \u0026 Billing with 6 lines of code. Open Source \u0026 Global Merchant of Record.","colors":{"primary":"#000","light":"#fff","dark":"#000"},"logo":{"light":"https://mintcdn.com/polar/4USyJwN59kbPHT7o/logo/light.png?fit=max\u0026auto=format\u0026n=4USyJwN59kbPHT7o\u0026q=85\u0026s=e950d8c7839bea573a30b2b2f26b279e","dark":"https://mintcdn.com/polar/4USyJwN59kbPHT7o/logo/dark.png?fit=max\u0026auto=format\u0026n=4USyJwN59kbPHT7o\u0026q=85\u0026s=0cb4a91e4d18beb58a8a8ca4dd31e2bc","href":"https://polar.sh"},"favicon":"https://mintcdn.com/polar/4USyJwN59kbPHT7o/logo/favicon.png?fit=max\u0026auto=format\u0026n=4USyJwN59kbPHT7o\u0026q=85\u0026s=0cc6bd7c8b4641686d063d38f2d95c29","appearance":{"default":"system"},"background":{"color":{"dark":"#131316"}},"navbar":{"links":[{"href":"https://polar.sh/docs/llms-full.txt","label":"llms-full.txt"},{"href":"https://polar.sh/docs/support","label":"Contact support"}],"primary":{"type":"button","label":"Dashboard","href":"https://polar.sh"}},"footer":{"socials":{"x":"https://x.com/polar_sh","github":"https://github.com/polarsource/polar","discord":"https://dub.sh/polar-discord"}},"seo":{"metatags":{"og:site_name":"Polar","og:image":"https://polar.sh/assets/brand/polar_og.jpg","og:type":"website","twitter:card":"summary_large_image","twitter:site":"@polar_sh"}},"styling":{"latex":false},"integrations":{"ga4":{"measurementId":"G-MBYW1QZFHE"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polar","hasAudioNarration":false,"actualSubdomain":"polar","customDomains":["polar.sh","buy.polar.sh","sandbox.polar.sh","vcpypolar.xyz"],"gitSource":{"type":"github","owner":"polarsource","repo":"polar","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada209b67b3b5d0ad9b9edc","collectionId":"dc2af58a-3120-4f5d-81d6-da0d31a07760","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada209b67b3b5d0ad9b9edc"},"feedback":{"edits":true,"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ada209b67b3b5d0ad9b9edc","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":521},{"language":"default","tag":"Core API","count":287},{"language":"default","tag":"Docs","count":124},{"language":"default","tag":"Webhook Events","count":117},{"language":"default","tag":"Billing Events","count":81},{"language":"default","tag":"Customer Portal API","count":81},{"language":"default","tag":"Subscriptions","count":65},{"language":"default","tag":"Integrate","count":60},{"language":"default","tag":"Features","count":57},{"language":"default","tag":"Orders","count":48}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@polar.sh"}},"hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".chat-assistant-floating-input:is(.dark *)::before,.dark\\:bg-background-dark:is(.dark *){background-color:#070708}#content-area{max-width:48rem}.migration-coexistence{--migration-columns:42% 16% 42%;--migration-line:#d4d4d8;--migration-dot:#71717a;margin:2rem 0;padding:1.5rem;color:#18181b;background:#fff;border:1px solid #e4e4e7;border-radius:1.25rem}.migration-coexistence__tree{max-width:28rem;margin:0 auto}.migration-coexistence__node{padding:.75rem .875rem;background:#fafafa;border:1px solid #e4e4e7;border-radius:.875rem}.migration-coexistence__node--app{max-width:14rem;margin:0 auto;text-align:center}.migration-coexistence__node--stripe{border-top:2px solid #635bff}.migration-coexistence__node--polar{border-top:2px solid #18181b}.migration-coexistence__name{display:block;color:#18181b;font-size:.8125rem;font-weight:700}.migration-coexistence__note{display:block;margin-top:.125rem;color:#71717a;font-size:.75rem}.migration-coexistence__branch{display:block;width:100%;aspect-ratio:100/12;overflow:visible}.migration-coexistence__rail{fill:none;stroke:var(--migration-line);stroke-dasharray:4 4;stroke-width:1}.migration-coexistence__dot{fill:var(--migration-dot)}.migration-coexistence__children{display:grid;grid-template-columns:var(--migration-columns)}.migration-coexistence__caption{max-width:32rem;margin:1.25rem auto 0;color:#52525b;font-size:.875rem;line-height:1.55;text-align:center}.migration-switch{margin:1.5rem 0;overflow:hidden;background:#fff;border:1px solid #e4e4e7;border-radius:1rem}.migration-switch__header,.migration-switch__row{display:grid;grid-template-columns:minmax(0,1fr) 3.5rem minmax(0,1fr);align-items:center}.migration-switch__header{padding:.75rem 1rem;background:#fafafa;border-bottom:1px solid #e4e4e7;color:#18181b;font-size:.8125rem;font-weight:700}.migration-switch__header span:nth-child(2){color:#71717a;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-align:center;text-transform:uppercase}.migration-switch__header span:last-child{text-align:right}.migration-switch__row{min-height:4rem;padding:.75rem 1rem;color:#52525b;font-size:.8125rem}.migration-switch__row+.migration-switch__row{border-top:1px solid #f4f4f5}.migration-switch__arrow{display:grid;width:1.75rem;height:1.75rem;margin:0 auto;place-items:center;color:#52525b;background:#f4f4f5;border-radius:999px}.migration-switch__state--polar{color:#18181b;font-weight:600;text-align:right}.dark .migration-coexistence{--migration-line:#52525b;--migration-dot:#a1a1aa;color:#fafafa;background:#131316;border-color:#3f3f46}.dark .migration-coexistence__node{background:#18181b;border-color:#3f3f46}.dark .migration-coexistence__node--stripe{border-top-color:#635bff}.dark .migration-coexistence__node--polar{border-top-color:#fafafa}.dark .migration-coexistence__name{color:#fafafa}.dark .migration-coexistence__caption,.dark .migration-coexistence__note{color:#a1a1aa}.dark .migration-switch{background:#131316;border-color:#3f3f46}.dark .migration-switch__header{color:#fafafa;background:#18181b;border-bottom-color:#3f3f46}.dark .migration-switch__header span:nth-child(2),.dark .migration-switch__row{color:#a1a1aa}.dark .migration-switch__row+.migration-switch__row{border-top-color:#27272a}.dark .migration-switch__arrow{color:#d4d4d8;background:#27272a}.dark .migration-switch__state--polar{color:#fafafa}@media (max-width:42rem){.migration-coexistence{padding:1.125rem}.migration-coexistence__node--app{max-width:none}.migration-coexistence__caption{font-size:.8125rem}.migration-switch__header,.migration-switch__row{grid-template-columns:minmax(0,1fr) 2.5rem minmax(0,1fr);padding-right:.75rem;padding-left:.75rem}}@media (prefers-reduced-motion:reduce){.migration-coexistence__dot{display:none}}"}],"page":{"pagePath":"api-reference/2026-10/benefit_grant_revoked","slug":"/api-reference/2026-10/benefit_grant_revoked","pageMetadata":{"title":"benefit_grant.revoked","description":"Sent when a benefit grant is revoked.\n\n**Discord \u0026 Slack support:** Basic","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.revoked","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.revoked","href":"/api-reference/2026-10/benefit_grant_revoked","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Sent when a benefit grant is revoked.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Discord \u0026 Slack support:\"\n }), \" Basic\"]\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":"benefit_grant.revoked","description":"Sent when a benefit grant is revoked.\n\n**Discord \u0026 Slack support:** Basic","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.revoked","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.revoked","href":"/api-reference/2026-10/benefit_grant_revoked","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"benefit_grant_revoked","description":"Sent when a benefit grant is revoked.\n\n**Discord \u0026 Slack support:** Basic","operationId":"_endpointbenefit_grant_revoked_post","requestBody":"d61c29bc-2e6e-4bec-b5d7-65236034e5e4","responses":{"200":"eb94edc3-dfa6-4af4-b048-3310ac6b4f80","422":"cb42af4a-bfe3-476e-bf95-0a23e7793b87"},"x-mint":{"metadata":{"title":"benefit_grant.revoked","sidebarTitle":"benefit_grant.revoked"}},"method":"post","type":"webhook","servers":["0a3cfd4b-9634-4505-9004-41aa566b6b35","81edcbdc-9117-4d62-9bcc-a4eb8c29ac19"],"security":[],"path":"benefit_grant.revoked","baseUrlOptions":["https://api.polar.sh","https://sandbox-api.polar.sh"],"title":"benefit_grant_revoked","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"type\": \"benefit_grant.revoked\",\n \"timestamp\": \"2026-01-01T00:00:00.000000Z\",\n \"api_version\": \"\u003cstring>\",\n \"data\": {\n \"created_at\": \"2026-01-01T00:00:00.000000Z\",\n \"modified_at\": \"2026-01-01T00:00:00.000000Z\",\n \"id\": \"\u003cstring>\",\n \"is_granted\": true,\n \"is_revoked\": true,\n \"subscription_id\": \"\u003cstring>\",\n \"order_id\": \"\u003cstring>\",\n \"customer_id\": \"\u003cstring>\",\n \"benefit_id\": \"\u003cstring>\",\n \"customer\": {\n \"id\": \"992fae2a-2a17-4b7a-8d9e-e287cf90131b\",\n \"created_at\": \"2026-01-01T00:00:00.000000Z\",\n \"modified_at\": \"2026-01-01T00:00:00.000000Z\",\n \"metadata\": {},\n \"email\": \"customer@example.com\",\n \"email_verified\": true,\n \"type\": \"individual\",\n \"name\": \"John Doe\",\n \"billing_name\": \"John Doe\",\n \"billing_address\": {\n \"country\": \"US\",\n \"line1\": \"\u003cstring>\",\n \"line2\": \"\u003cstring>\",\n \"postal_code\": \"\u003cstring>\",\n \"city\": \"\u003cstring>\",\n \"state\": \"\u003cstring>\"\n },\n \"tax_id\": {\n \"[0]\": \"\u003cstring>\"\n },\n \"organization_id\": \"1dbfc517-0bbf-4301-9ba8-555ca42b9737\",\n \"deleted_at\": \"2026-01-01T00:00:00.000000Z\",\n \"first_user_event_at\": \"2026-01-01T00:00:00.000000Z\",\n \"avatar_url\": \"https://www.gravatar.com/avatar/xxx?d=404\",\n \"external_id\": \"usr_1337\",\n \"locale\": \"\u003cstring>\",\n \"default_payment_method_id\": \"\u003cstring>\"\n },\n \"benefit\": {\n \"id\": \"\u003cstring>\",\n \"created_at\": \"2026-01-01T00:00:00.000000Z\",\n \"modified_at\": \"2026-01-01T00:00:00.000000Z\",\n \"type\": \"discord\",\n \"description\": \"\u003cstring>\",\n \"selectable\": true,\n \"deletable\": true,\n \"is_deleted\": true,\n \"organization_id\": \"\u003cstring>\",\n \"metadata\": {},\n \"properties\": {\n \"guild_id\": \"\u003cstring>\",\n \"role_id\": \"\u003cstring>\",\n \"kick_member\": true\n }\n },\n \"properties\": {\n \"account_id\": \"\u003cstring>\",\n \"guild_id\": \"\u003cstring>\",\n \"role_id\": \"\u003cstring>\",\n \"granted_account_id\": \"\u003cstring>\"\n },\n \"granted_at\": \"2026-01-01T00:00:00.000000Z\",\n \"revoked_at\": \"2026-01-01T00:00:00.000000Z\",\n \"member_id\": \"\u003cstring>\",\n \"error\": {\n \"message\": \"\u003cstring>\",\n \"type\": \"\u003cstring>\",\n \"timestamp\": \"\u003cstring>\"\n },\n \"member\": {\n \"id\": \"\u003cstring>\",\n \"created_at\": \"2026-01-01T00:00:00.000000Z\",\n \"modified_at\": \"2026-01-01T00:00:00.000000Z\",\n \"customer_id\": \"\u003cstring>\",\n \"email\": \"member@example.com\",\n \"name\": \"Jane Doe\",\n \"external_id\": \"usr_1337\",\n \"role\": \"owner\"\n },\n \"previous_properties\": {\n \"account_id\": \"\u003cstring>\",\n \"guild_id\": \"\u003cstring>\",\n \"role_id\": \"\u003cstring>\",\n \"granted_account_id\": \"\u003cstring>\"\n }\n }\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"type":{"type":"string","const":"benefit_grant.revoked","title":"Type","examples":["benefit_grant.revoked"],"isRequired":true,"uniqueKey":"type","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"api_version":{"type":"string","title":"Api Version","isRequired":true,"uniqueKey":"api_version","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"BenefitGrantDiscordWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.0.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.0.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.0.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.0.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.0.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.0.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.0.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.0.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.0.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.0.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.0.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.0.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.0.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.0.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.0.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.0.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.0.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.0.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.0.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.0.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.0.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.0.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.0.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.0.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"discord","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.0.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.0.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.0.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.0.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"guild_id":{"type":"string","title":"Guild Id","description":"The ID of the Discord server.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.properties.guild_id","typeLabel":"string"},"role_id":{"type":"string","title":"Role Id","description":"The ID of the Discord role to grant.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.properties.role_id","typeLabel":"string"},"kick_member":{"type":"boolean","title":"Kick Member","description":"Whether to kick the member from the Discord server on revocation.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.properties.kick_member","typeLabel":"boolean"}},"type":"object","required":["guild_id","role_id","kick_member"],"title":"BenefitDiscordProperties","description":"Properties for a benefit of type `discord`.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit.properties","typeLabel":"BenefitDiscordProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitDiscord","description":"A benefit of type `discord`.\n\nUse it to automatically invite your backers to a Discord server.","isRequired":true,"uniqueKey":"data.oneOf.0.benefit","typeLabel":"BenefitDiscord · object"},"properties":{"properties":{"account_id":{"oneOf":[{"type":"string","title":"Account Id","uniqueKey":"data.oneOf.0.properties.account_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Account Id","uniqueKey":"data.oneOf.0.properties.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.properties.account_id","typeLabel":"string | null"},"guild_id":{"type":"string","title":"Guild Id","uniqueKey":"data.oneOf.0.properties.guild_id","typeLabel":"string"},"role_id":{"type":"string","title":"Role Id","uniqueKey":"data.oneOf.0.properties.role_id","typeLabel":"string"},"granted_account_id":{"type":"string","title":"Granted Account Id","uniqueKey":"data.oneOf.0.properties.granted_account_id","typeLabel":"string"}},"type":"object","title":"BenefitGrantDiscordProperties","isRequired":true,"uniqueKey":"data.oneOf.0.properties","typeLabel":"BenefitGrantDiscordProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.0.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.0.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.0.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.0.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.0.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.0.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.0.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.0.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.0.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.0.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.0.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.0.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.0.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.0.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantDiscordProperties","properties":{"account_id":{"oneOf":[{"type":"string","title":"Account Id","uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Account Id","uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.account_id","typeLabel":"string | null"},"guild_id":{"type":"string","title":"Guild Id","uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.guild_id","typeLabel":"string"},"role_id":{"type":"string","title":"Role Id","uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.role_id","typeLabel":"string"},"granted_account_id":{"type":"string","title":"Granted Account Id","uniqueKey":"data.oneOf.0.previous_properties.oneOf.0.granted_account_id","typeLabel":"string"}},"uniqueKey":"data.oneOf.0.previous_properties.oneOf.0","typeLabel":"BenefitGrantDiscordProperties · object"},{"type":"null","uniqueKey":"data.oneOf.0.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.previous_properties","typeLabel":"BenefitGrantDiscordProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"BenefitGrantDiscordWebhook · object"},{"type":"object","title":"BenefitGrantCustomWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.1.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.1.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.1.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.1.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.1.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.1.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.1.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.1.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.1.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.1.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.1.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.1.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.1.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.1.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.1.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.1.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.1.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.1.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.1.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.1.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.1.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.1.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.1.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.1.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.1.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"custom","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.1.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.1.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.1.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.1.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"note":{"oneOf":[{"type":"string","title":"Note","description":"Private note to be shared with customers who have this benefit granted.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.properties.note.oneOf.0","typeLabel":"string"},{"type":"null","title":"Note","description":"Private note to be shared with customers who have this benefit granted.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.properties.note.oneOf.1","typeLabel":"null"},{"type":"null","title":"Note","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.properties.note.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.benefit.properties.note","typeLabel":"string · null · null"}},"type":"object","required":["note"],"title":"BenefitCustomProperties","description":"Properties for a benefit of type `custom`.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit.properties","typeLabel":"BenefitCustomProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitCustom","description":"A benefit of type `custom`.\n\nUse it to grant any kind of benefit that doesn't fit in the other types.","isRequired":true,"uniqueKey":"data.oneOf.1.benefit","typeLabel":"BenefitCustom · object"},"properties":{"properties":{},"type":"object","title":"BenefitGrantCustomProperties","isRequired":true,"uniqueKey":"data.oneOf.1.properties","typeLabel":"BenefitGrantCustomProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.1.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.1.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.1.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.1.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.1.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.1.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.1.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.1.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.1.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.1.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.1.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.1.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.1.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.1.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantCustomProperties","properties":{},"uniqueKey":"data.oneOf.1.previous_properties.oneOf.0","typeLabel":"BenefitGrantCustomProperties · object"},{"type":"null","uniqueKey":"data.oneOf.1.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.previous_properties","typeLabel":"BenefitGrantCustomProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"BenefitGrantCustomWebhook · object"},{"type":"object","title":"BenefitGrantGitHubRepositoryWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.2.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.2.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.2.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.2.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.2.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.2.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.2.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.2.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.2.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.2.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.2.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.2.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.2.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.2.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.2.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.2.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.2.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.2.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.2.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.2.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.2.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.2.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.2.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.2.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.2.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.2.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.2.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.2.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"github_repository","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.2.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.2.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.2.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.2.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.2.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"repository_owner":{"type":"string","title":"Repository Owner","description":"The owner of the repository.","examples":["polarsource"],"isRequired":true,"uniqueKey":"data.oneOf.2.benefit.properties.repository_owner","typeLabel":"string"},"repository_name":{"type":"string","title":"Repository Name","description":"The name of the repository.","examples":["private_repo"],"isRequired":true,"uniqueKey":"data.oneOf.2.benefit.properties.repository_name","typeLabel":"string"},"permission":{"type":"string","enum":["pull","triage","push","maintain","admin"],"title":"Permission","description":"The permission level to grant. Read more about roles and their permissions on [GitHub documentation](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#permissions-for-each-role).","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.properties.permission","typeLabel":"enum\u003cstring>"}},"type":"object","required":["repository_owner","repository_name","permission"],"title":"BenefitGitHubRepositoryProperties","description":"Properties for a benefit of type `github_repository`.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit.properties","typeLabel":"BenefitGitHubRepositoryProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitGitHubRepository","description":"A benefit of type `github_repository`.\n\nUse it to automatically invite your backers to a private GitHub repository.","isRequired":true,"uniqueKey":"data.oneOf.2.benefit","typeLabel":"BenefitGitHubRepository · object"},"properties":{"properties":{"account_id":{"oneOf":[{"type":"string","title":"Account Id","uniqueKey":"data.oneOf.2.properties.account_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Account Id","uniqueKey":"data.oneOf.2.properties.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.properties.account_id","typeLabel":"string | null"},"repository_owner":{"type":"string","title":"Repository Owner","uniqueKey":"data.oneOf.2.properties.repository_owner","typeLabel":"string"},"repository_name":{"type":"string","title":"Repository Name","uniqueKey":"data.oneOf.2.properties.repository_name","typeLabel":"string"},"permission":{"type":"string","enum":["pull","triage","push","maintain","admin"],"title":"Permission","uniqueKey":"data.oneOf.2.properties.permission","typeLabel":"enum\u003cstring>"},"granted_account_id":{"type":"string","title":"Granted Account Id","uniqueKey":"data.oneOf.2.properties.granted_account_id","typeLabel":"string"}},"type":"object","title":"BenefitGrantGitHubRepositoryProperties","isRequired":true,"uniqueKey":"data.oneOf.2.properties","typeLabel":"BenefitGrantGitHubRepositoryProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.2.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.2.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.2.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.2.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.2.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.2.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.2.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.2.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.2.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.2.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.2.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.2.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.2.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.2.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantGitHubRepositoryProperties","properties":{"account_id":{"oneOf":[{"type":"string","title":"Account Id","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.account_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Account Id","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.account_id","typeLabel":"string | null"},"repository_owner":{"type":"string","title":"Repository Owner","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.repository_owner","typeLabel":"string"},"repository_name":{"type":"string","title":"Repository Name","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.repository_name","typeLabel":"string"},"permission":{"type":"string","enum":["pull","triage","push","maintain","admin"],"title":"Permission","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.permission","typeLabel":"enum\u003cstring>"},"granted_account_id":{"type":"string","title":"Granted Account Id","uniqueKey":"data.oneOf.2.previous_properties.oneOf.0.granted_account_id","typeLabel":"string"}},"uniqueKey":"data.oneOf.2.previous_properties.oneOf.0","typeLabel":"BenefitGrantGitHubRepositoryProperties · object"},{"type":"null","uniqueKey":"data.oneOf.2.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.2.previous_properties","typeLabel":"BenefitGrantGitHubRepositoryProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.2","typeLabel":"BenefitGrantGitHubRepositoryWebhook · object"},{"type":"object","title":"BenefitGrantDownloadablesWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.3.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.3.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.3.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.3.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.3.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.3.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.3.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.3.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.3.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.3.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.3.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.3.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.3.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.3.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.3.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.3.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.3.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.3.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.3.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.3.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.3.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.3.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.3.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.3.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.3.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.3.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.3.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.3.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"downloadables","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.3.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.3.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.3.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.3.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.3.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"archived":{"additionalProperties":{"type":"boolean","uniqueKey":"data.oneOf.3.benefit.properties.archived.additionalProperties","typeLabel":"boolean"},"propertyNames":{"format":"uuid4"},"type":"object","title":"Archived","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.properties.archived","typeLabel":"Archived · object"},"files":{"items":{"type":"string","format":"uuid4","uniqueKey":"data.oneOf.3.benefit.properties.files.items.[INDEX]","typeLabel":"string\u003cuuid4>"},"type":"array","title":"Files","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.properties.files","typeLabel":"string\u003cuuid4>[]"}},"type":"object","required":["archived","files"],"title":"BenefitDownloadablesProperties","isRequired":true,"uniqueKey":"data.oneOf.3.benefit.properties","typeLabel":"BenefitDownloadablesProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitDownloadables","isRequired":true,"uniqueKey":"data.oneOf.3.benefit","typeLabel":"BenefitDownloadables · object"},"properties":{"properties":{"files":{"items":{"type":"string","uniqueKey":"data.oneOf.3.properties.files.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Files","uniqueKey":"data.oneOf.3.properties.files","typeLabel":"string[]"}},"type":"object","title":"BenefitGrantDownloadablesProperties","isRequired":true,"uniqueKey":"data.oneOf.3.properties","typeLabel":"BenefitGrantDownloadablesProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.3.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.3.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.3.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.3.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.3.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.3.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.3.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.3.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.3.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.3.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.3.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.3.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.3.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.3.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantDownloadablesProperties","properties":{"files":{"items":{"type":"string","uniqueKey":"data.oneOf.3.previous_properties.oneOf.0.files.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Files","uniqueKey":"data.oneOf.3.previous_properties.oneOf.0.files","typeLabel":"string[]"}},"uniqueKey":"data.oneOf.3.previous_properties.oneOf.0","typeLabel":"BenefitGrantDownloadablesProperties · object"},{"type":"null","uniqueKey":"data.oneOf.3.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.3.previous_properties","typeLabel":"BenefitGrantDownloadablesProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.3","typeLabel":"BenefitGrantDownloadablesWebhook · object"},{"type":"object","title":"BenefitGrantLicenseKeysWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.4.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.4.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.4.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.4.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.4.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.4.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.4.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.4.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.4.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.4.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.4.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.4.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.4.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.4.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.4.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.4.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.4.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.4.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.4.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.4.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.4.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.4.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.4.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.4.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.4.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.4.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"license_keys","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.4.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.4.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.4.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.4.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.4.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"prefix":{"oneOf":[{"type":"string","title":"Prefix","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.prefix.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prefix","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.prefix.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.prefix","typeLabel":"string | null"},"expires":{"oneOf":[{"type":"object","title":"BenefitLicenseKeyExpirationProperties","required":["ttl","timeframe"],"properties":{"ttl":{"type":"integer","exclusiveMinimum":0,"title":"Ttl","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.expires.oneOf.0.ttl","typeLabel":"integer"},"timeframe":{"type":"string","enum":["year","month","day"],"title":"Timeframe","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.expires.oneOf.0.timeframe","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.expires.oneOf.0","typeLabel":"BenefitLicenseKeyExpirationProperties · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.expires.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.expires","typeLabel":"BenefitLicenseKeyExpirationProperties · object | null"},"activations":{"oneOf":[{"type":"object","title":"BenefitLicenseKeyActivationProperties","required":["limit","enable_customer_admin"],"properties":{"limit":{"type":"integer","title":"Limit","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.activations.oneOf.0.limit","typeLabel":"integer"},"enable_customer_admin":{"type":"boolean","title":"Enable Customer Admin","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.activations.oneOf.0.enable_customer_admin","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.activations.oneOf.0","typeLabel":"BenefitLicenseKeyActivationProperties · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.activations.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.activations","typeLabel":"BenefitLicenseKeyActivationProperties · object | null"},"limit_usage":{"oneOf":[{"type":"integer","title":"Limit Usage","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.limit_usage.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Limit Usage","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.limit_usage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties.limit_usage","typeLabel":"integer | null"}},"type":"object","required":["prefix","expires","activations","limit_usage"],"title":"BenefitLicenseKeysProperties","isRequired":true,"uniqueKey":"data.oneOf.4.benefit.properties","typeLabel":"BenefitLicenseKeysProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitLicenseKeys","isRequired":true,"uniqueKey":"data.oneOf.4.benefit","typeLabel":"BenefitLicenseKeys · object"},"properties":{"properties":{"user_provided_key":{"type":"string","title":"User Provided Key","uniqueKey":"data.oneOf.4.properties.user_provided_key","typeLabel":"string"},"license_key_id":{"type":"string","title":"License Key Id","uniqueKey":"data.oneOf.4.properties.license_key_id","typeLabel":"string"},"display_key":{"type":"string","title":"Display Key","uniqueKey":"data.oneOf.4.properties.display_key","typeLabel":"string"}},"type":"object","title":"BenefitGrantLicenseKeysProperties","isRequired":true,"uniqueKey":"data.oneOf.4.properties","typeLabel":"BenefitGrantLicenseKeysProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.4.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.4.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.4.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.4.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.4.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.4.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.4.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.4.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.4.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.4.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.4.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.4.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.4.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.4.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantLicenseKeysProperties","properties":{"user_provided_key":{"type":"string","title":"User Provided Key","uniqueKey":"data.oneOf.4.previous_properties.oneOf.0.user_provided_key","typeLabel":"string"},"license_key_id":{"type":"string","title":"License Key Id","uniqueKey":"data.oneOf.4.previous_properties.oneOf.0.license_key_id","typeLabel":"string"},"display_key":{"type":"string","title":"Display Key","uniqueKey":"data.oneOf.4.previous_properties.oneOf.0.display_key","typeLabel":"string"}},"uniqueKey":"data.oneOf.4.previous_properties.oneOf.0","typeLabel":"BenefitGrantLicenseKeysProperties · object"},{"type":"null","uniqueKey":"data.oneOf.4.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.4.previous_properties","typeLabel":"BenefitGrantLicenseKeysProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.4","typeLabel":"BenefitGrantLicenseKeysWebhook · object"},{"type":"object","title":"BenefitGrantMeterCreditWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.5.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.5.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.5.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.5.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.5.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.5.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.5.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.5.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.5.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.5.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.5.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.5.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.5.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.5.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.5.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.5.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.5.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.5.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.5.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.5.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.5.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.5.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.5.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.5.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.5.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.5.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.5.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.5.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"meter_credit","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.5.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.5.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.5.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.5.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.5.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"units":{"type":"integer","title":"Units","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.properties.units","typeLabel":"integer"},"rollover":{"type":"boolean","title":"Rollover","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.properties.rollover","typeLabel":"boolean"},"meter_id":{"type":"string","format":"uuid4","title":"Meter Id","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.properties.meter_id","typeLabel":"string\u003cuuid4>"}},"type":"object","required":["units","rollover","meter_id"],"title":"BenefitMeterCreditProperties","description":"Properties for a benefit of type `meter_unit`.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit.properties","typeLabel":"BenefitMeterCreditProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitMeterCredit","description":"A benefit of type `meter_unit`.\n\nUse it to grant a number of units on a specific meter.","isRequired":true,"uniqueKey":"data.oneOf.5.benefit","typeLabel":"BenefitMeterCredit · object"},"properties":{"properties":{"last_credited_meter_id":{"type":"string","title":"Last Credited Meter Id","uniqueKey":"data.oneOf.5.properties.last_credited_meter_id","typeLabel":"string"},"last_credited_units":{"type":"integer","title":"Last Credited Units","uniqueKey":"data.oneOf.5.properties.last_credited_units","typeLabel":"integer"},"last_credited_at":{"type":"string","title":"Last Credited At","uniqueKey":"data.oneOf.5.properties.last_credited_at","typeLabel":"string"}},"type":"object","title":"BenefitGrantMeterCreditProperties","isRequired":true,"uniqueKey":"data.oneOf.5.properties","typeLabel":"BenefitGrantMeterCreditProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.5.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.5.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.5.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.5.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.5.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.5.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.5.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.5.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.5.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.5.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.5.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.5.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.5.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.5.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantMeterCreditProperties","properties":{"last_credited_meter_id":{"type":"string","title":"Last Credited Meter Id","uniqueKey":"data.oneOf.5.previous_properties.oneOf.0.last_credited_meter_id","typeLabel":"string"},"last_credited_units":{"type":"integer","title":"Last Credited Units","uniqueKey":"data.oneOf.5.previous_properties.oneOf.0.last_credited_units","typeLabel":"integer"},"last_credited_at":{"type":"string","title":"Last Credited At","uniqueKey":"data.oneOf.5.previous_properties.oneOf.0.last_credited_at","typeLabel":"string"}},"uniqueKey":"data.oneOf.5.previous_properties.oneOf.0","typeLabel":"BenefitGrantMeterCreditProperties · object"},{"type":"null","uniqueKey":"data.oneOf.5.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.5.previous_properties","typeLabel":"BenefitGrantMeterCreditProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.5","typeLabel":"BenefitGrantMeterCreditWebhook · object"},{"type":"object","title":"BenefitGrantFeatureFlagWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.6.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.6.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.6.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.6.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.6.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.6.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.6.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.6.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.6.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.6.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.6.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.6.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.6.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.6.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.6.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.6.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.6.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.6.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.6.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.6.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.6.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.6.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.6.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.6.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.6.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.6.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.6.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.6.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.6.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"feature_flag","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.6.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.6.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.6.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.6.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.6.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{},"type":"object","title":"BenefitFeatureFlagProperties","description":"Properties for a benefit of type `feature_flag`.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit.properties","typeLabel":"BenefitFeatureFlagProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitFeatureFlag","description":"A benefit of type `feature_flag`.\n\nUse it to grant feature flags with key-value metadata\nthat can be queried via the API and webhooks.","isRequired":true,"uniqueKey":"data.oneOf.6.benefit","typeLabel":"BenefitFeatureFlag · object"},"properties":{"properties":{},"type":"object","title":"BenefitGrantFeatureFlagProperties","isRequired":true,"uniqueKey":"data.oneOf.6.properties","typeLabel":"BenefitGrantFeatureFlagProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.6.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.6.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.6.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.6.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.6.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.6.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.6.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.6.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.6.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.6.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.6.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.6.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.6.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.6.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantFeatureFlagProperties","properties":{},"uniqueKey":"data.oneOf.6.previous_properties.oneOf.0","typeLabel":"BenefitGrantFeatureFlagProperties · object"},{"type":"null","uniqueKey":"data.oneOf.6.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.6.previous_properties","typeLabel":"BenefitGrantFeatureFlagProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.6","typeLabel":"BenefitGrantFeatureFlagWebhook · object"},{"type":"object","title":"BenefitGrantSlackSharedChannelWebhook","required":["created_at","modified_at","id","is_granted","is_revoked","subscription_id","order_id","customer_id","benefit_id","customer","benefit","properties"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.7.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.7.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.modified_at","typeLabel":"string\u003cdate-time> | null"},"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the grant.","isRequired":true,"uniqueKey":"data.oneOf.7.id","typeLabel":"string\u003cuuid4>"},"is_granted":{"type":"boolean","title":"Is Granted","description":"Whether the benefit is granted.","isRequired":true,"uniqueKey":"data.oneOf.7.is_granted","typeLabel":"boolean"},"is_revoked":{"type":"boolean","title":"Is Revoked","description":"Whether the benefit is revoked.","isRequired":true,"uniqueKey":"data.oneOf.7.is_revoked","typeLabel":"boolean"},"subscription_id":{"oneOf":[{"type":"string","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.7.subscription_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Subscription Id","description":"The ID of the subscription that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.subscription_id","typeLabel":"string\u003cuuid4> | null"},"order_id":{"oneOf":[{"type":"string","title":"Order Id","description":"The ID of the order that granted this benefit.","format":"uuid4","isRequired":true,"uniqueKey":"data.oneOf.7.order_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Order Id","description":"The ID of the order that granted this benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.order_id","typeLabel":"string\u003cuuid4> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.7.customer_id","typeLabel":"string\u003cuuid4>"},"benefit_id":{"type":"string","format":"uuid4","title":"Benefit Id","description":"The ID of the benefit concerned by this grant.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit_id","typeLabel":"string\u003cuuid4>"},"customer":{"oneOf":[{"type":"object","title":"CustomerIndividual","description":"A customer in an organization.","required":["id","created_at","modified_at","metadata","email","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.metadata","typeLabel":"object"},"email":{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","examples":["customer@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.email","typeLabel":"string"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"individual","title":"Type","description":"The type of customer.","examples":["individual"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.7.customer.oneOf.0.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.7.customer.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.7.customer.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.external_id","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.7.customer.oneOf.0.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.7.customer.oneOf.0.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.7.customer.oneOf.0.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.7.customer.oneOf.0.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.0.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.0","typeLabel":"CustomerIndividual · object"},{"type":"object","title":"CustomerTeam","description":"A team customer in an organization.","required":["id","created_at","modified_at","metadata","email_verified","type","name","billing_name","billing_address","tax_id","organization_id","deleted_at","first_user_event_at","avatar_url"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the customer.","examples":["992fae2a-2a17-4b7a-8d9e-e287cf90131b"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.modified_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.metadata","typeLabel":"object"},"email_verified":{"type":"boolean","title":"Email Verified","description":"Whether the customer email address is verified. The address is automatically verified when the customer accesses the customer portal using their email address.","examples":[true],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.email_verified","typeLabel":"boolean"},"type":{"type":"string","const":"team","title":"Type","description":"The type of customer. Team customers can have multiple members.","examples":["team"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.type","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the customer.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.name","typeLabel":"string | null"},"billing_name":{"oneOf":[{"type":"string","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Billing Name","description":"The name that should appear on the customer's invoices. Falls back to the customer name when not explicitly set.","example":"John Doe","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_name","typeLabel":"string | null"},"billing_address":{"oneOf":[{"type":"object","title":"Address","required":["country"],"properties":{"country":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"title":"CountryAlpha2","examples":["US","SE","FR"],"x-speakeasy-enums":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.country","typeLabel":"enum\u003cstring>"},"line1":{"oneOf":[{"type":"string","title":"Line1","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line1","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line1","typeLabel":"string | null"},"line2":{"oneOf":[{"type":"string","title":"Line2","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.0","typeLabel":"string"},{"type":"null","title":"Line2","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.line2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","title":"Postal Code","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Postal Code","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.postal_code","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","title":"City","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","title":"City","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0.state","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.0","typeLabel":"Address · object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.billing_address","typeLabel":"Address · object | null"},"tax_id":{"oneOf":[{"type":"object","title":"Tax Id","properties":{"[0]":{"type":"string","uniqueKey":"data.oneOf.7.customer.oneOf.1.tax_id.oneOf.0.[0]","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.tax_id.oneOf.0","typeLabel":"Tax Id · object"},{"type":"null","title":"Tax Id","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.tax_id","typeLabel":"Tax Id · object | null"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the customer.","examples":["1dbfc517-0bbf-4301-9ba8-555ca42b9737"],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.organization_id","typeLabel":"string\u003cuuid4>"},"deleted_at":{"oneOf":[{"type":"string","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Deleted At","description":"Timestamp for when the customer was soft deleted.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.deleted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.deleted_at","typeLabel":"string\u003cdate-time> | null"},"first_user_event_at":{"oneOf":[{"type":"string","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.first_user_event_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"First User Event At","description":"Timestamp of the first event ingested for this customer. Can predate `created_at`, and is null if no event was ever ingested.","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.first_user_event_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.first_user_event_at","typeLabel":"string\u003cdate-time> | null"},"avatar_url":{"oneOf":[{"type":"string","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.avatar_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Avatar Url","example":"https://www.gravatar.com/avatar/xxx?d=404","isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.avatar_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1.avatar_url","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.7.customer.oneOf.1.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.","example":"usr_1337","uniqueKey":"data.oneOf.7.customer.oneOf.1.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.external_id","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.7.customer.oneOf.1.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","description":"The email address of the customer. This must be unique within the organization.","example":"customer@example.com","uniqueKey":"data.oneOf.7.customer.oneOf.1.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.email","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","title":"Locale","uniqueKey":"data.oneOf.7.customer.oneOf.1.locale.oneOf.0","typeLabel":"string"},{"type":"null","title":"Locale","uniqueKey":"data.oneOf.7.customer.oneOf.1.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.locale","typeLabel":"string | null"},"default_payment_method_id":{"oneOf":[{"type":"string","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","format":"uuid4","uniqueKey":"data.oneOf.7.customer.oneOf.1.default_payment_method_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Default Payment Method Id","description":"The ID of the customer's default payment method, if any. Use the payment methods endpoint to retrieve its details.","uniqueKey":"data.oneOf.7.customer.oneOf.1.default_payment_method_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.customer.oneOf.1.default_payment_method_id","typeLabel":"string\u003cuuid4> | null"}},"isRequired":true,"uniqueKey":"data.oneOf.7.customer.oneOf.1","typeLabel":"CustomerTeam · object"}],"isRequired":true,"uniqueKey":"data.oneOf.7.customer","typeLabel":"CustomerIndividual · object | CustomerTeam · object"},"benefit":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.7.benefit.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.benefit.modified_at","typeLabel":"string\u003cdate-time> | null"},"type":{"type":"string","const":"slack_shared_channel","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.type","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"The description of the benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.description","typeLabel":"string"},"selectable":{"type":"boolean","title":"Selectable","description":"Whether the benefit is selectable when creating a product.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.selectable","typeLabel":"boolean"},"deletable":{"type":"boolean","title":"Deletable","description":"Whether the benefit is deletable.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.deletable","typeLabel":"boolean"},"is_deleted":{"type":"boolean","title":"Is Deleted","description":"Whether the benefit is deleted.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.is_deleted","typeLabel":"boolean"},"organization_id":{"type":"string","format":"uuid4","title":"Organization Id","description":"The ID of the organization owning the benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.organization_id","typeLabel":"string\u003cuuid4>"},"metadata":{"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.7.benefit.metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"data.oneOf.7.benefit.metadata.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"data.oneOf.7.benefit.metadata.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"data.oneOf.7.benefit.metadata.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"data.oneOf.7.benefit.metadata.additionalProperties","typeLabel":"string | integer | number | boolean"},"type":"object","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.metadata","typeLabel":"object"},"visibility":{"type":"string","enum":["draft","private","public"],"title":"Visibility","description":"The visibility of the benefit in the customer portal.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.visibility","typeLabel":"enum\u003cstring>"},"properties":{"properties":{"slack_integration_id":{"type":"string","format":"uuid4","title":"Slack Integration Id","description":"Polar Slack integration linked to this benefit.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.properties.slack_integration_id","typeLabel":"string\u003cuuid4>"},"channel_name_template":{"type":"string","maxLength":80,"minLength":1,"title":"Channel Name Template","description":"Template for the channel name. Supports placeholders: {customer_name}, {customer_email_local}, and {metadata.\u003ckey>} for any value stored in customer user metadata.","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.properties.channel_name_template","typeLabel":"string"},"private":{"type":"boolean","title":"Private","description":"Create the channel as private (recommended).","default":true,"uniqueKey":"data.oneOf.7.benefit.properties.private","typeLabel":"boolean"},"welcome_message":{"oneOf":[{"type":"string","title":"Welcome Message","description":"Optional message posted to the channel right after creation.","maxLength":4000,"uniqueKey":"data.oneOf.7.benefit.properties.welcome_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Welcome Message","description":"Optional message posted to the channel right after creation.","uniqueKey":"data.oneOf.7.benefit.properties.welcome_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.benefit.properties.welcome_message","typeLabel":"string | null"},"archive_on_revoke":{"type":"boolean","title":"Archive On Revoke","description":"Archive the channel when the benefit is revoked.","default":true,"uniqueKey":"data.oneOf.7.benefit.properties.archive_on_revoke","typeLabel":"boolean"},"team_invitees":{"items":{"type":"string","uniqueKey":"data.oneOf.7.benefit.properties.team_invitees.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Team Invitees","description":"Slack user IDs from the merchant workspace to invite to every channel created for this benefit.","uniqueKey":"data.oneOf.7.benefit.properties.team_invitees","typeLabel":"string[]"}},"type":"object","required":["slack_integration_id","channel_name_template"],"title":"BenefitSlackSharedChannelProperties","isRequired":true,"uniqueKey":"data.oneOf.7.benefit.properties","typeLabel":"BenefitSlackSharedChannelProperties · object"}},"type":"object","required":["id","created_at","modified_at","type","description","selectable","deletable","is_deleted","organization_id","metadata","visibility","properties","visibility_configurable"],"title":"BenefitSlackSharedChannel","isRequired":true,"uniqueKey":"data.oneOf.7.benefit","typeLabel":"BenefitSlackSharedChannel · object"},"properties":{"properties":{"invited_email":{"type":"string","title":"Invited Email","uniqueKey":"data.oneOf.7.properties.invited_email","typeLabel":"string"},"channel_id":{"type":"string","title":"Channel Id","uniqueKey":"data.oneOf.7.properties.channel_id","typeLabel":"string"},"channel_name":{"type":"string","title":"Channel Name","uniqueKey":"data.oneOf.7.properties.channel_name","typeLabel":"string"},"invite_id":{"type":"string","title":"Invite Id","uniqueKey":"data.oneOf.7.properties.invite_id","typeLabel":"string"},"invite_url":{"type":"string","title":"Invite Url","uniqueKey":"data.oneOf.7.properties.invite_url","typeLabel":"string"},"connected_team_id":{"type":"string","title":"Connected Team Id","uniqueKey":"data.oneOf.7.properties.connected_team_id","typeLabel":"string"}},"type":"object","title":"BenefitGrantSlackSharedChannelProperties","isRequired":true,"uniqueKey":"data.oneOf.7.properties","typeLabel":"BenefitGrantSlackSharedChannelProperties · object"},"granted_at":{"oneOf":[{"type":"string","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.7.granted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Granted At","description":"The timestamp when the benefit was granted. If `None`, the benefit is not granted.","uniqueKey":"data.oneOf.7.granted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.granted_at","typeLabel":"string\u003cdate-time> | null"},"revoked_at":{"oneOf":[{"type":"string","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","uniqueKey":"data.oneOf.7.revoked_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Revoked At","description":"The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.","uniqueKey":"data.oneOf.7.revoked_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.revoked_at","typeLabel":"string\u003cdate-time> | null"},"member_id":{"oneOf":[{"type":"string","title":"Member Id","description":"The ID of the member concerned by this grant.","format":"uuid4","uniqueKey":"data.oneOf.7.member_id.oneOf.0","typeLabel":"string\u003cuuid4>"},{"type":"null","title":"Member Id","description":"The ID of the member concerned by this grant.","uniqueKey":"data.oneOf.7.member_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.member_id","typeLabel":"string\u003cuuid4> | null"},"error":{"oneOf":[{"type":"object","title":"BenefitGrantError","description":"The error information if the benefit grant failed with an unrecoverable error.","required":["message","type","timestamp"],"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"data.oneOf.7.error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"data.oneOf.7.error.oneOf.0.type","typeLabel":"string"},"timestamp":{"type":"string","title":"Timestamp","isRequired":true,"uniqueKey":"data.oneOf.7.error.oneOf.0.timestamp","typeLabel":"string"}},"uniqueKey":"data.oneOf.7.error.oneOf.0","typeLabel":"BenefitGrantError · object"},{"type":"null","description":"The error information if the benefit grant failed with an unrecoverable error.","uniqueKey":"data.oneOf.7.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.error","typeLabel":"BenefitGrantError · object | null"},"member":{"oneOf":[{"type":"object","title":"Member","description":"A member of a customer.","required":["id","created_at","modified_at","customer_id","email","name","external_id","role"],"properties":{"id":{"type":"string","format":"uuid4","title":"Id","description":"The ID of the member.","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.id","typeLabel":"string\u003cuuid4>"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp of the object.","examples":["2026-01-01T00:00:00.000000Z"],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"modified_at":{"oneOf":[{"type":"string","title":"Modified At","description":"Last modification timestamp of the object.","format":"date-time","example":"2026-01-01T00:00:00.000000Z","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.modified_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Modified At","description":"Last modification timestamp of the object.","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.modified_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.modified_at","typeLabel":"string\u003cdate-time> | null"},"customer_id":{"type":"string","format":"uuid4","title":"Customer Id","description":"The ID of the customer this member belongs to.","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.customer_id","typeLabel":"string\u003cuuid4>"},"email":{"type":"string","title":"Email","description":"The email address of the member.","examples":["member@example.com"],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.email","typeLabel":"string"},"name":{"oneOf":[{"type":"string","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"The name of the member.","example":"Jane Doe","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.name","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The ID of the member in your system. This must be unique within the customer. ","example":"usr_1337","isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.external_id","typeLabel":"string | null"},"role":{"type":"string","enum":["owner","billing_manager","member"],"title":"MemberRole","description":"The role of the member within the customer.","examples":["owner"],"isRequired":true,"uniqueKey":"data.oneOf.7.member.oneOf.0.role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.7.member.oneOf.0","typeLabel":"Member · object"},{"type":"null","uniqueKey":"data.oneOf.7.member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.member","typeLabel":"Member · object | null"},"previous_properties":{"oneOf":[{"type":"object","title":"BenefitGrantSlackSharedChannelProperties","properties":{"invited_email":{"type":"string","title":"Invited Email","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.invited_email","typeLabel":"string"},"channel_id":{"type":"string","title":"Channel Id","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.channel_id","typeLabel":"string"},"channel_name":{"type":"string","title":"Channel Name","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.channel_name","typeLabel":"string"},"invite_id":{"type":"string","title":"Invite Id","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.invite_id","typeLabel":"string"},"invite_url":{"type":"string","title":"Invite Url","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.invite_url","typeLabel":"string"},"connected_team_id":{"type":"string","title":"Connected Team Id","uniqueKey":"data.oneOf.7.previous_properties.oneOf.0.connected_team_id","typeLabel":"string"}},"uniqueKey":"data.oneOf.7.previous_properties.oneOf.0","typeLabel":"BenefitGrantSlackSharedChannelProperties · object"},{"type":"null","uniqueKey":"data.oneOf.7.previous_properties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.7.previous_properties","typeLabel":"BenefitGrantSlackSharedChannelProperties · object | null"}},"isRequired":true,"uniqueKey":"data.oneOf.7","typeLabel":"BenefitGrantSlackSharedChannelWebhook · object"}],"isRequired":true,"uniqueKey":"data","typeLabel":"BenefitGrantDiscordWebhook · object | BenefitGrantCustomWebhook · object | BenefitGrantGitHubRepositoryWebhook · object | BenefitGrantDownloadablesWebhook · object | BenefitGrantLicenseKeysWebhook · object | BenefitGrantMeterCreditWebhook · object | BenefitGrantFeatureFlagWebhook · object | BenefitGrantSlackSharedChannelWebhook · object"}},"type":"object","required":["type","timestamp","api_version","data"],"title":"WebhookBenefitGrantRevokedPayload","description":"Sent when a benefit grant is revoked.\n\n**Discord \u0026 Slack support:** Basic","uniqueKey":"","typeLabel":"WebhookBenefitGrantRevokedPayload · object"},"examples":{"Example":{"title":"Example","value":{"type":"benefit_grant.revoked","timestamp":"2026-01-01T00:00:00.000000Z","api_version":"\u003cstring>","data":{"created_at":"2026-01-01T00:00:00.000000Z","modified_at":"2026-01-01T00:00:00.000000Z","id":"\u003cstring>","is_granted":true,"is_revoked":true,"subscription_id":"\u003cstring>","order_id":"\u003cstring>","customer_id":"\u003cstring>","benefit_id":"\u003cstring>","customer":{"id":"992fae2a-2a17-4b7a-8d9e-e287cf90131b","created_at":"2026-01-01T00:00:00.000000Z","modified_at":"2026-01-01T00:00:00.000000Z","metadata":{},"email":"customer@example.com","email_verified":true,"type":"individual","name":"John Doe","billing_name":"John Doe","billing_address":{"country":"US","line1":"\u003cstring>","line2":"\u003cstring>","postal_code":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>"},"tax_id":{"[0]":"\u003cstring>"},"organization_id":"1dbfc517-0bbf-4301-9ba8-555ca42b9737","deleted_at":"2026-01-01T00:00:00.000000Z","first_user_event_at":"2026-01-01T00:00:00.000000Z","avatar_url":"https://www.gravatar.com/avatar/xxx?d=404","external_id":"usr_1337","locale":"\u003cstring>","default_payment_method_id":"\u003cstring>"},"benefit":{"id":"\u003cstring>","created_at":"2026-01-01T00:00:00.000000Z","modified_at":"2026-01-01T00:00:00.000000Z","type":"discord","description":"\u003cstring>","selectable":true,"deletable":true,"is_deleted":true,"organization_id":"\u003cstring>","metadata":{},"properties":{"guild_id":"\u003cstring>","role_id":"\u003cstring>","kick_member":true}},"properties":{"account_id":"\u003cstring>","guild_id":"\u003cstring>","role_id":"\u003cstring>","granted_account_id":"\u003cstring>"},"granted_at":"2026-01-01T00:00:00.000000Z","revoked_at":"2026-01-01T00:00:00.000000Z","member_id":"\u003cstring>","error":{"message":"\u003cstring>","type":"\u003cstring>","timestamp":"\u003cstring>"},"member":{"id":"\u003cstring>","created_at":"2026-01-01T00:00:00.000000Z","modified_at":"2026-01-01T00:00:00.000000Z","customer_id":"\u003cstring>","email":"member@example.com","name":"Jane Doe","external_id":"usr_1337","role":"owner"},"previous_properties":{"account_id":"\u003cstring>","guild_id":"\u003cstring>","role_id":"\u003cstring>","granted_account_id":"\u003cstring>"}}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"eb94edc3-dfa6-4af4-b048-3310ac6b4f80":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"exampleType":"generated"},"cb42af4a-bfe3-476e-bf95-0a23e7793b87":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"0a3cfd4b-9634-4505-9004-41aa566b6b35":{"url":"https://api.polar.sh","description":"Production environment","x-speakeasy-server-id":"production","x-polar-environment":"production"},"81edcbdc-9117-4d62-9bcc-a4eb8c29ac19":{"url":"https://sandbox-api.polar.sh","description":"Sandbox environment","x-speakeasy-server-id":"sandbox","x-polar-environment":"sandbox"}}},"originalFileLocation":"openapi/2026-10.openapi.json"},"subdomain":"polar","siteName":"Polar","title":"benefit_grant.revoked - Polar","navMaps":{"firstHrefInVersion":{"2026-04":{"href":"/api-reference/2026-04/benefit_grant_revoked","matchLevel":1},"2026-10":{"href":"/api-reference/2026-10/benefit_grant_revoked","matchLevel":0},"2027-01":{"href":"/api-reference/2027-01/benefit_grant_revoked","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T15:30:39.897Z","originalFileLocation":"api-reference/2026-10/benefit_grant_revoked.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=\"Sent when a benefit grant is revoked. Discord \u0026amp; Slack support: Basic\">\u003cmeta data-mint-head name=\"application-name\" content=\"Polar\">\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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_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/polar/QOhyWW-Aw_fueaue/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"benefit_grant.revoked - Polar\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sent when a benefit grant is revoked. Discord \u0026amp; Slack support: Basic\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Polar\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polar.sh/assets/brand/polar_og.jpg\">\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=\"benefit_grant.revoked - Polar\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sent when a benefit grant is revoked. Discord \u0026amp; Slack support: Basic\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polar.sh/assets/brand/polar_og.jpg\">\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/polar/QOhyWW-Aw_fueaue/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Polar\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/2026-10/benefit_grant_revoked.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://polar.sh/#organization\",\"name\":\"Polar\",\"url\":\"https://polar.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polar/4USyJwN59kbPHT7o/logo/light.png?fit=max\u0026auto=format\u0026n=4USyJwN59kbPHT7o\u0026q=85\u0026s=e950d8c7839bea573a30b2b2f26b279e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://polar.sh/docs#website\",\"name\":\"Polar\",\"url\":\"https://polar.sh/docs\",\"publisher\":{\"@id\":\"https://polar.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked#webpage\",\"url\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked\",\"name\":\"benefit_grant.revoked\",\"description\":\"Sent when a benefit grant is revoked. Discord \u0026 Slack support: Basic\",\"dateModified\":\"2026-10-19T15:30:39.897Z\",\"isPartOf\":{\"@id\":\"https://polar.sh/docs#website\"},\"breadcrumb\":{\"@id\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook Events\",\"item\":\"https://polar.sh/docs/api-reference/2026-10/customer_state_changed\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Billing Events\",\"item\":\"https://polar.sh/docs/api-reference/2026-10/checkout_created\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Benefit Grants\",\"item\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_created\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"benefit_grant.revoked\",\"item\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked#apireference\",\"headline\":\"benefit_grant.revoked\",\"name\":\"benefit_grant.revoked\",\"description\":\"Sent when a benefit grant is revoked. Discord \u0026 Slack support: Basic\",\"url\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked\",\"mainEntityOfPage\":{\"@id\":\"https://polar.sh/docs/api-reference/2026-10/benefit_grant_revoked#webpage\"},\"image\":\"https://polar.sh/assets/brand/polar_og.jpg\",\"dateModified\":\"2026-10-19T15:30:39.897Z\",\"publisher\":{\"@id\":\"https://polar.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://polar.sh/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Polar\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Polar","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"compass","pages":[{"title":"Docs","href":"/introduction"}]},{"tab":"API Reference","icon":"rectangle-terminal","versions":[{"version":"2026-04","tag":"Deprecated","pages":[{"title":"2026-04","href":"/api-reference/2026-04/benefit_grant_revoked"}]},{"version":"2026-10","default":true,"tag":"Current","groups":[{"group":"General","pages":[{"title":"API Overview","sidebarTitle":"Introduction","href":"/api-reference/2026-10/introduction"},{"title":"API Versioning","sidebarTitle":"Versioning","href":"/api-reference/2026-10/versioning"}]},{"group":"Core API","pages":[{"group":"Checkout","pages":[{"title":"Create Checkout Session","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/checkouts/","href":"/api-reference/2026-10/checkouts/create-checkout-session"},{"title":"Get Checkout Session","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/checkouts/{id}","href":"/api-reference/2026-10/checkouts/get-checkout-session"},{"title":"List Checkout Sessions","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/checkouts/","href":"/api-reference/2026-10/checkouts/list-checkout-sessions"},{"title":"Update Checkout Session","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/checkouts/{id}","href":"/api-reference/2026-10/checkouts/update-checkout-session"},{"title":"Get Checkout Session from Client","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/checkouts/client/{client_secret}","href":"/api-reference/2026-10/checkouts/get-checkout-session-from-client"},{"title":"Update Checkout Session from Client","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/checkouts/client/{client_secret}","href":"/api-reference/2026-10/checkouts/update-checkout-session-from-client"},{"title":"Confirm Checkout Session from Client","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/checkouts/client/{client_secret}/confirm","href":"/api-reference/2026-10/checkouts/confirm-checkout-session-from-client"}]},{"group":"Checkout Links","pages":[{"title":"Create Checkout Link","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/checkout-links/","href":"/api-reference/2026-10/checkout-links/create-checkout-link"},{"title":"Get Checkout Link","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/checkout-links/{id}","href":"/api-reference/2026-10/checkout-links/get-checkout-link"},{"title":"List Checkout Links","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/checkout-links/","href":"/api-reference/2026-10/checkout-links/list-checkout-links"},{"title":"Update Checkout Link","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/checkout-links/{id}","href":"/api-reference/2026-10/checkout-links/update-checkout-link"},{"title":"Delete Checkout Link","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/checkout-links/{id}","href":"/api-reference/2026-10/checkout-links/delete-checkout-link"}]},{"group":"Custom Checkout Fields","pages":[{"title":"Create Custom Field","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/custom-fields/","href":"/api-reference/2026-10/custom-fields/create-custom-field"},{"title":"Get Custom Field","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/custom-fields/{id}","href":"/api-reference/2026-10/custom-fields/get-custom-field"},{"title":"List Custom Fields","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/custom-fields/","href":"/api-reference/2026-10/custom-fields/list-custom-fields"},{"title":"Update Custom Field","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/custom-fields/{id}","href":"/api-reference/2026-10/custom-fields/update-custom-field"},{"title":"Delete Custom Field","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/custom-fields/{id}","href":"/api-reference/2026-10/custom-fields/delete-custom-field"}]},{"group":"Customers","pages":[{"title":"Get Customer State","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/{id}/state","href":"/api-reference/2026-10/customers/get-customer-state"},{"title":"Get Customer State by External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/external/{external_id}/state","href":"/api-reference/2026-10/customers/get-customer-state-by-external-id"},{"title":"List Customers","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/","href":"/api-reference/2026-10/customers/list-customers"},{"title":"Create Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customers/","href":"/api-reference/2026-10/customers/create-customer"},{"title":"Get Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/{id}","href":"/api-reference/2026-10/customers/get-customer"},{"title":"Update Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/customers/{id}","href":"/api-reference/2026-10/customers/update-customer"},{"title":"Delete Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customers/{id}","href":"/api-reference/2026-10/customers/delete-customer"},{"title":"Get Customer by External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/external/{external_id}","href":"/api-reference/2026-10/customers/get-customer-by-external-id"},{"title":"Update Customer by External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/customers/external/{external_id}","href":"/api-reference/2026-10/customers/update-customer-by-external-id"},{"title":"Delete Customer by External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customers/external/{external_id}","href":"/api-reference/2026-10/customers/delete-customer-by-external-id"},{"title":"List Customer Payment Methods","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/{id}/payment-methods","href":"/api-reference/2026-10/customers/list-customer-payment-methods"},{"title":"List Customer Payment Methods by External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/external/{external_id}/payment-methods","href":"/api-reference/2026-10/customers/list-customer-payment-methods-by-external-id"}]},{"group":"Subscriptions","pages":[{"title":"Get Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/subscriptions/{id}","href":"/api-reference/2026-10/subscriptions/get-subscription"},{"title":"List Subscriptions","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/subscriptions/","href":"/api-reference/2026-10/subscriptions/list-subscriptions"},{"title":"Create Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/subscriptions/","href":"/api-reference/2026-10/subscriptions/create-subscription"},{"title":"Update Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/subscriptions/{id}","href":"/api-reference/2026-10/subscriptions/update-subscription"},{"title":"Revoke Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/subscriptions/{id}","href":"/api-reference/2026-10/subscriptions/revoke-subscription"}]},{"group":"Orders","pages":[{"title":"Get Order","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/orders/{id}","href":"/api-reference/2026-10/orders/get-order"},{"title":"Update Order","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/orders/{id}","href":"/api-reference/2026-10/orders/update-order"},{"title":"List Orders","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/orders/","href":"/api-reference/2026-10/orders/list-orders"},{"title":"Generate Order Invoice","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/orders/{id}/invoice","href":"/api-reference/2026-10/orders/generate-order-invoice"},{"title":"Get Order Invoice","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/orders/{id}/invoice","href":"/api-reference/2026-10/orders/get-order-invoice"},{"title":"Get Order Receipt","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/orders/{id}/receipt","href":"/api-reference/2026-10/orders/get-order-receipt"}]},{"group":"Discounts","pages":[{"title":"Get Discount","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/discounts/{id}","href":"/api-reference/2026-10/discounts/get-discount"},{"title":"List Discounts","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/discounts/","href":"/api-reference/2026-10/discounts/list-discounts"},{"title":"Create Discount","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/discounts/","href":"/api-reference/2026-10/discounts/create-discount"},{"title":"Update Discount","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/discounts/{id}","href":"/api-reference/2026-10/discounts/update-discount"},{"title":"Delete Discount","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/discounts/{id}","href":"/api-reference/2026-10/discounts/delete-discount"}]},{"group":"Refunds","pages":[{"title":"Create Refund","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/refunds/","href":"/api-reference/2026-10/refunds/create-refund"},{"title":"List Refunds","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/refunds/","href":"/api-reference/2026-10/refunds/list-refunds"}]},{"group":"Products","pages":[{"title":"Get Product","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/products/{id}","href":"/api-reference/2026-10/products/get-product"},{"title":"List Products","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/products/","href":"/api-reference/2026-10/products/list-products"},{"title":"Create Product","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/products/","href":"/api-reference/2026-10/products/create-product"},{"title":"Update Product","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/products/{id}","href":"/api-reference/2026-10/products/update-product"},{"title":"Delete Product","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/products/{id}","href":"/api-reference/2026-10/products/delete-product"},{"title":"Update Product Benefits","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/products/{id}/benefits","href":"/api-reference/2026-10/products/update-product-benefits"}]},{"group":"Events","pages":[{"title":"Ingest Events","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/events/ingest","href":"/api-reference/2026-10/events/ingest-events"},{"title":"Get Event","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/events/{id}","href":"/api-reference/2026-10/events/get-event"},{"title":"List Events","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/events/","href":"/api-reference/2026-10/events/list-events"}]},{"group":"Meters","pages":[{"title":"Create Meter","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/meters/","href":"/api-reference/2026-10/meters/create-meter"},{"title":"Get Meter","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/meters/{id}","href":"/api-reference/2026-10/meters/get-meter"},{"title":"List Meters","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/meters/","href":"/api-reference/2026-10/meters/list-meters"},{"title":"Update Meter","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/meters/{id}","href":"/api-reference/2026-10/meters/update-meter"},{"title":"Get Meter Quantities","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/meters/{id}/quantities","href":"/api-reference/2026-10/meters/get-meter-quantities"}]},{"group":"Benefits","pages":[{"title":"Create Benefit","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/benefits/","href":"/api-reference/2026-10/benefits/create-benefit"},{"title":"Get Benefit","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/benefits/{id}","href":"/api-reference/2026-10/benefits/get-benefit"},{"title":"List Benefits","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/benefits/","href":"/api-reference/2026-10/benefits/list-benefits"},{"title":"List Benefit Grants","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/benefits/{id}/grants","href":"/api-reference/2026-10/benefits/list-benefit-grants"},{"title":"Update Benefit","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/benefits/{id}","href":"/api-reference/2026-10/benefits/update-benefit"},{"title":"Delete Benefit","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/benefits/{id}","href":"/api-reference/2026-10/benefits/delete-benefit"}]},{"group":"Customer Meters","pages":[{"title":"Get Customer Meter","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-meters/{id}","href":"/api-reference/2026-10/customer_meters/get-customer-meter"},{"title":"List Customer Meters","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-meters/","href":"/api-reference/2026-10/customer_meters/list-customer-meters"}]},{"group":"License Keys","pages":[{"title":"Get License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/license-keys/{id}","href":"/api-reference/2026-10/license_keys/get-license-key"},{"title":"List License Keys","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/license-keys/","href":"/api-reference/2026-10/license_keys/list-license-keys"},{"title":"Update License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/license-keys/{id}","href":"/api-reference/2026-10/license_keys/update-license-key"},{"title":"Get Activation","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/license-keys/{id}/activations/{activation_id}","href":"/api-reference/2026-10/license_keys/get-activation"},{"title":"Validate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/license-keys/validate","href":"/api-reference/2026-10/license_keys/validate-license-key"},{"title":"Activate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/license-keys/activate","href":"/api-reference/2026-10/license_keys/activate-license-key"},{"title":"Deactivate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/license-keys/deactivate","href":"/api-reference/2026-10/license_keys/deactivate-license-key"}]},{"group":"Members","pages":[{"title":"List Members","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/{id}/members","href":"/api-reference/2026-10/customers/list-members"},{"title":"List Members by Customer External ID","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customers/external/{external_id}/members","href":"/api-reference/2026-10/customers/list-members-by-customer-external-id"}]},{"group":"Customer Seats","pages":[{"title":"Assign Seat","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-seats","href":"/api-reference/2026-10/customer-seats/assign-seat"},{"title":"List Seats","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-seats","href":"/api-reference/2026-10/customer-seats/list-seats"},{"title":"Revoke Seat","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customer-seats/{seat_id}","href":"/api-reference/2026-10/customer-seats/revoke-seat"},{"title":"Resend Invitation","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-seats/{seat_id}/resend","href":"/api-reference/2026-10/customer-seats/resend-invitation"},{"title":"Get Claim Info","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-seats/claim/{invitation_token}","href":"/api-reference/2026-10/customer-seats/get-claim-info"},{"title":"Claim Seat","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-seats/claim","href":"/api-reference/2026-10/customer-seats/claim-seat"}]},{"group":"Files","pages":[{"title":"Create File","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/files/","href":"/api-reference/2026-10/files/create-file"},{"title":"List Files","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/files/","href":"/api-reference/2026-10/files/list-files"},{"title":"Update File","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/files/{id}","href":"/api-reference/2026-10/files/update-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/files/{id}","href":"/api-reference/2026-10/files/delete-file"},{"title":"Complete File Upload","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/files/{id}/uploaded","href":"/api-reference/2026-10/files/complete-file-upload"}]},{"group":"Organizations","pages":[{"title":"Get Organization","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/organizations/{id}","href":"/api-reference/2026-10/organizations/get-organization"},{"title":"List Organizations","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/organizations/","href":"/api-reference/2026-10/organizations/list-organizations"},{"title":"Create Organization","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/organizations/","href":"/api-reference/2026-10/organizations/create-organization"},{"title":"Update Organization","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/organizations/{id}","href":"/api-reference/2026-10/organizations/update-organization"}]},{"group":"Metrics","pages":[{"title":"Get Metrics","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/metrics/","href":"/api-reference/2026-10/metrics/get-metrics"},{"title":"Get Metrics Limits","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/metrics/limits","href":"/api-reference/2026-10/metrics/get-metrics-limits"}]}]},{"group":"Customer Portal API","pages":[{"title":"Get Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/customers/me","href":"/api-reference/2026-10/customer_portal/get-customer"},{"title":"Update Customer","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/customer-portal/customers/me","href":"/api-reference/2026-10/customer_portal/update-customer"},{"title":"Get Organization","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/organizations/{slug}","href":"/api-reference/2026-10/customer_portal/get-organization"},{"group":"Sessions","pages":[{"title":"Create Customer Session","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-sessions/","href":"/api-reference/2026-10/customer-sessions/create-customer-session"}]},{"group":"Subscriptions","pages":[{"title":"Get Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/subscriptions/{id}","href":"/api-reference/2026-10/customer_portal/get-subscription"},{"title":"List Subscriptions","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/subscriptions/","href":"/api-reference/2026-10/customer_portal/list-subscriptions"},{"title":"Update Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/customer-portal/subscriptions/{id}","href":"/api-reference/2026-10/customer_portal/update-subscription"},{"title":"Cancel Subscription","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customer-portal/subscriptions/{id}","href":"/api-reference/2026-10/customer_portal/cancel-subscription"}]},{"group":"Orders","pages":[{"title":"Get Order","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/orders/{id}","href":"/api-reference/2026-10/customer_portal/get-order"},{"title":"Update Order","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/customer-portal/orders/{id}","href":"/api-reference/2026-10/customer_portal/update-order"},{"title":"List Orders","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/orders/","href":"/api-reference/2026-10/customer_portal/list-orders"},{"title":"Generate Order Invoice","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/orders/{id}/invoice","href":"/api-reference/2026-10/customer_portal/generate-order-invoice"},{"title":"Get Order Invoice","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/orders/{id}/invoice","href":"/api-reference/2026-10/customer_portal/get-order-invoice"},{"title":"Get Order Receipt","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/orders/{id}/receipt","href":"/api-reference/2026-10/customer_portal/get-order-receipt"}]},{"group":"License Keys","pages":[{"title":"Validate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/license-keys/validate","href":"/api-reference/2026-10/customer_portal/validate-license-key"},{"title":"Activate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/license-keys/activate","href":"/api-reference/2026-10/customer_portal/activate-license-key"},{"title":"Deactivate License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/license-keys/deactivate","href":"/api-reference/2026-10/customer_portal/deactivate-license-key"},{"title":"Get License Key","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/license-keys/{id}","href":"/api-reference/2026-10/customer_portal/get-license-key"},{"title":"List License Keys","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/license-keys/","href":"/api-reference/2026-10/customer_portal/list-license-keys"}]},{"group":"File Downloads","pages":[{"title":"List Downloadables","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/downloadables/","href":"/api-reference/2026-10/customer_portal/list-downloadables"}]},{"group":"Seats","pages":[{"title":"List Seats","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/seats","href":"/api-reference/2026-10/customer_portal/list-seats"},{"title":"Assign Seat","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/seats","href":"/api-reference/2026-10/customer_portal/assign-seat"},{"title":"Revoke Seat","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customer-portal/seats/{seat_id}","href":"/api-reference/2026-10/customer_portal/revoke-seat"},{"title":"Resend Invitation","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/customer-portal/seats/{seat_id}/resend","href":"/api-reference/2026-10/customer_portal/resend-invitation"},{"title":"List Claimed Subscriptions","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/seats/subscriptions","href":"/api-reference/2026-10/customer_portal/list-claimed-subscriptions"}]},{"group":"Payment Methods","pages":[{"title":"List Customer Payment Methods","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/customer-portal/customers/me/payment-methods","href":"/api-reference/2026-10/customer_portal/list-customer-payment-methods"},{"title":"Delete Customer Payment Method","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/customer-portal/customers/me/payment-methods/{id}","href":"/api-reference/2026-10/customer_portal/delete-customer-payment-method"}]}]},{"group":"Webhook Events","pages":[{"group":"Customer Events","pages":[{"title":"customer.state_changed","version":null,"deprecated":null,"sidebarTitle":"customer.state_changed","openapi":"/openapi/2026-10.openapi.json webhook customer.state_changed","href":"/api-reference/2026-10/customer_state_changed"},{"title":"customer.created","version":null,"deprecated":null,"sidebarTitle":"customer.created","openapi":"/openapi/2026-10.openapi.json webhook customer.created","href":"/api-reference/2026-10/customer_created"},{"title":"customer.updated","version":null,"deprecated":null,"sidebarTitle":"customer.updated","openapi":"/openapi/2026-10.openapi.json webhook customer.updated","href":"/api-reference/2026-10/customer_updated"},{"title":"customer.deleted","version":null,"deprecated":null,"sidebarTitle":"customer.deleted","openapi":"/openapi/2026-10.openapi.json webhook customer.deleted","href":"/api-reference/2026-10/customer_deleted"}]},{"group":"Billing Events","pages":[{"group":"Checkout","pages":[{"title":"checkout.created","version":null,"deprecated":null,"sidebarTitle":"checkout.created","openapi":"/openapi/2026-10.openapi.json webhook checkout.created","href":"/api-reference/2026-10/checkout_created"},{"title":"checkout.updated","version":null,"deprecated":null,"sidebarTitle":"checkout.updated","openapi":"/openapi/2026-10.openapi.json webhook checkout.updated","href":"/api-reference/2026-10/checkout_updated"},{"title":"checkout.expired","version":null,"deprecated":null,"sidebarTitle":"checkout.expired","openapi":"/openapi/2026-10.openapi.json webhook checkout.expired","href":"/api-reference/2026-10/checkout_expired"}]},{"group":"Subscriptions","pages":[{"title":"subscription.created","version":null,"deprecated":null,"sidebarTitle":"subscription.created","openapi":"/openapi/2026-10.openapi.json webhook subscription.created","href":"/api-reference/2026-10/subscription_created"},{"title":"subscription.active","version":null,"deprecated":null,"sidebarTitle":"subscription.active","openapi":"/openapi/2026-10.openapi.json webhook subscription.active","href":"/api-reference/2026-10/subscription_active"},{"title":"subscription.updated","version":null,"deprecated":null,"sidebarTitle":"subscription.updated","openapi":"/openapi/2026-10.openapi.json webhook subscription.updated","href":"/api-reference/2026-10/subscription_updated"},{"title":"subscription.canceled","version":null,"deprecated":null,"sidebarTitle":"subscription.canceled","openapi":"/openapi/2026-10.openapi.json webhook subscription.canceled","href":"/api-reference/2026-10/subscription_canceled"},{"title":"subscription.uncanceled","version":null,"deprecated":null,"sidebarTitle":"subscription.uncanceled","openapi":"/openapi/2026-10.openapi.json webhook subscription.uncanceled","href":"/api-reference/2026-10/subscription_uncanceled"},{"title":"subscription.cycled","version":null,"deprecated":null,"sidebarTitle":"subscription.cycled","openapi":"/openapi/2026-10.openapi.json webhook subscription.cycled","href":"/api-reference/2026-10/subscription_cycled"},{"title":"subscription.revoked","version":null,"deprecated":null,"sidebarTitle":"subscription.revoked","openapi":"/openapi/2026-10.openapi.json webhook subscription.revoked","href":"/api-reference/2026-10/subscription_revoked"},{"title":"subscription.past_due","version":null,"deprecated":null,"sidebarTitle":"subscription.past_due","openapi":"/openapi/2026-10.openapi.json webhook subscription.past_due","href":"/api-reference/2026-10/subscription_past_due"},{"title":"subscription.paused","version":null,"deprecated":null,"sidebarTitle":"subscription.paused","openapi":"/openapi/2026-10.openapi.json webhook subscription.paused","href":"/api-reference/2026-10/subscription_paused"},{"title":"subscription.resumed","version":null,"deprecated":null,"sidebarTitle":"subscription.resumed","openapi":"/openapi/2026-10.openapi.json webhook subscription.resumed","href":"/api-reference/2026-10/subscription_resumed"},{"title":"subscription.migrated","version":null,"deprecated":null,"sidebarTitle":"subscription.migrated","openapi":"/openapi/2026-10.openapi.json webhook subscription.migrated","href":"/api-reference/2026-10/subscription_migrated"}]},{"group":"Orders","pages":[{"title":"order.created","version":null,"deprecated":null,"sidebarTitle":"order.created","openapi":"/openapi/2026-10.openapi.json webhook order.created","href":"/api-reference/2026-10/order_created"},{"title":"order.paid","version":null,"deprecated":null,"sidebarTitle":"order.paid","openapi":"/openapi/2026-10.openapi.json webhook order.paid","href":"/api-reference/2026-10/order_paid"},{"title":"order.updated","version":null,"deprecated":null,"sidebarTitle":"order.updated","openapi":"/openapi/2026-10.openapi.json webhook order.updated","href":"/api-reference/2026-10/order_updated"},{"title":"order.refunded","version":null,"deprecated":null,"sidebarTitle":"order.refunded","openapi":"/openapi/2026-10.openapi.json webhook order.refunded","href":"/api-reference/2026-10/order_refunded"}]},{"group":"Customer Seats","pages":[{"title":"customer_seat.assigned","version":null,"deprecated":null,"sidebarTitle":"customer_seat.assigned","openapi":"/openapi/2026-10.openapi.json webhook customer_seat.assigned","href":"/api-reference/2026-10/customer_seat_assigned"},{"title":"customer_seat.claimed","version":null,"deprecated":null,"sidebarTitle":"customer_seat.claimed","openapi":"/openapi/2026-10.openapi.json webhook customer_seat.claimed","href":"/api-reference/2026-10/customer_seat_claimed"},{"title":"customer_seat.revoked","version":null,"deprecated":null,"sidebarTitle":"customer_seat.revoked","openapi":"/openapi/2026-10.openapi.json webhook customer_seat.revoked","href":"/api-reference/2026-10/customer_seat_revoked"}]},{"group":"Refunds","pages":[{"title":"refund.created","version":null,"deprecated":null,"sidebarTitle":"refund.created","openapi":"/openapi/2026-10.openapi.json webhook refund.created","href":"/api-reference/2026-10/refund_created"},{"title":"refund.updated","version":null,"deprecated":null,"sidebarTitle":"refund.updated","openapi":"/openapi/2026-10.openapi.json webhook refund.updated","href":"/api-reference/2026-10/refund_updated"}]},{"group":"Benefit Grants","pages":[{"title":"benefit_grant.created","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.created","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.created","href":"/api-reference/2026-10/benefit_grant_created"},{"title":"benefit_grant.cycled","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.cycled","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.cycled","href":"/api-reference/2026-10/benefit_grant_cycled"},{"title":"benefit_grant.updated","description":"Sent when a benefit grant is updated.\n\n**Discord \u0026 Slack support:** Basic","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.updated","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.updated","href":"/api-reference/2026-10/benefit_grant_updated"},{"title":"benefit_grant.revoked","version":null,"deprecated":null,"sidebarTitle":"benefit_grant.revoked","openapi":"/openapi/2026-10.openapi.json webhook benefit_grant.revoked","href":"/api-reference/2026-10/benefit_grant_revoked"}]}]},{"group":"Organization Events","pages":[{"group":"Benefits","pages":[{"title":"benefit.created","description":"Sent when a new benefit is created.\n\n**Discord \u0026 Slack support:** Basic","version":null,"deprecated":null,"sidebarTitle":"benefit.created","openapi":"/openapi/2026-10.openapi.json webhook benefit.created","href":"/api-reference/2026-10/benefit_created"},{"title":"benefit.updated","version":null,"deprecated":null,"sidebarTitle":"benefit.updated","openapi":"/openapi/2026-10.openapi.json webhook benefit.updated","href":"/api-reference/2026-10/benefit_updated"}]},{"group":"Products","pages":[{"title":"product.created","version":null,"deprecated":null,"sidebarTitle":"product.created","openapi":"/openapi/2026-10.openapi.json webhook product.created","href":"/api-reference/2026-10/product_created"},{"title":"product.updated","version":null,"deprecated":null,"sidebarTitle":"product.updated","openapi":"/openapi/2026-10.openapi.json webhook product.updated","href":"/api-reference/2026-10/product_updated"}]},{"group":"Discounts","pages":[{"title":"discount.created","version":null,"deprecated":null,"sidebarTitle":"discount.created","openapi":"/openapi/2026-10.openapi.json webhook discount.created","href":"/api-reference/2026-10/discount_created"},{"title":"discount.updated","version":null,"deprecated":null,"sidebarTitle":"discount.updated","openapi":"/openapi/2026-10.openapi.json webhook discount.updated","href":"/api-reference/2026-10/discount_updated"},{"title":"discount.deleted","version":null,"deprecated":null,"sidebarTitle":"discount.deleted","openapi":"/openapi/2026-10.openapi.json webhook discount.deleted","href":"/api-reference/2026-10/discount_deleted"}]},{"group":"Organization","pages":[{"title":"organization.updated","version":null,"deprecated":null,"sidebarTitle":"organization.updated","openapi":"/openapi/2026-10.openapi.json webhook organization.updated","href":"/api-reference/2026-10/organization_updated"}]}]}]},{"group":"Integrations","pages":[{"group":"OpenID Connect","pages":[{"title":"Authorize","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/oauth2/authorize","href":"/api-reference/2026-10/oauth2/authorize"},{"title":"Request Token","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/oauth2/token","href":"/api-reference/2026-10/oauth2/request-token"},{"title":"Introspect Token","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/oauth2/introspect","href":"/api-reference/2026-10/oauth2/introspect-token"},{"title":"Revoke Token","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/oauth2/revoke","href":"/api-reference/2026-10/oauth2/revoke-token"},{"title":"Get User Info","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/oauth2/userinfo","href":"/api-reference/2026-10/oauth2/get-user-info"}]},{"group":"Webhooks","pages":[{"title":"Create Webhook Endpoint","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json post /v1/webhooks/endpoints","href":"/api-reference/2026-10/webhooks/create-webhook-endpoint"},{"title":"Get Webhook Endpoint","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/webhooks/endpoints/{id}","href":"/api-reference/2026-10/webhooks/get-webhook-endpoint"},{"title":"List Webhook Endpoints","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json get /v1/webhooks/endpoints","href":"/api-reference/2026-10/webhooks/list-webhook-endpoints"},{"title":"Update Webhook Endpoint","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json patch /v1/webhooks/endpoints/{id}","href":"/api-reference/2026-10/webhooks/update-webhook-endpoint"},{"title":"Delete Webhook Endpoint","deprecated":null,"version":null,"openapi":"/openapi/2026-10.openapi.json delete /v1/webhooks/endpoints/{id}","href":"/api-reference/2026-10/webhooks/delete-webhook-endpoint"}]}]}]},{"version":"2027-01","tag":"Next","pages":[{"title":"2027-01","href":"/api-reference/2027-01/benefit_grant_revoked"}]}]},{"tab":"Changelog","icon":"signal-stream","pages":[{"title":"Changelog","href":"/changelog/recent"}]},{"tab":"Support","icon":"square-question","pages":[{"title":"Support","href":"/support"}]}]},"title":"benefit_grant.revoked - Polar","buildId":"dpl_BvXubCjoPYfvfFiCP5WgKvGYUZ9k","deploymentId":"dpl_BvXubCjoPYfvfFiCP5WgKvGYUZ9k","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Cn24bQ-L.js","utils-2fswSlDf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CCIi4ABW.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CAH7N_Ow.js","snippetPresets-x_0VpYAk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CQfXSH2v.js","ApiExamples-llGafAZf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-W1eCShSz.js","shallow-NLT_NnDI.js","getApiPlaygroundDisplay-QSEhtcdZ.js","CodeSnippet-CK8Lk0kg.js","CodeSnippets-Cra_whAm.js","getPastedJson-BEz4UfPL.js","icon-CwvrEduL.js","MethodPill-DblyOGAG.js","DuplicateIcon-7P7ixz4I.js","createIcon-BURR5_pt.js","DynamicMarkdown-DteaQut7.js","SectionHeading-CHtmkzk7.js","axios-vUo_bRtp.js","Markdown-BIU4AXHQ.js","clsx-Ds0AvV0Z.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Ka3QKbKd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BURaoZsB.js"]}