Whether the Customer should be charged by Wingback Billing Engine or not
If not set, the configuration from Customer profile will be used, and if that is not set
either, the default configuration for WbCustomer will be used
Configuration specifying overrides to apply to new plan during contract upgrade.
In addition to the number of units to purchase, it is possible to
override price and flat_fee of specific features to create customized plans
See FeatureConfiguration for format
Creates a pending contract. Pending contract has no activation date, and can only
be activated manually. Activation date is ignored if this is set to true.
Defaults to false
Configuration specifying the number of units to purchase
on the new plan for unit-based features. This is a hashmap where
keys are slugs of features, and values are the numbers of units to purchase
{
"{feature_slug}": {number_of_units}
}
Show child attributes
Response
Updated
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Wingback","colors":{"primary":"#EF3B4D","light":"#FF7886","dark":"#D81D38"},"favicon":"/media/favicon.png","logo":{"light":"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/light.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=93b61d8945910151ec8df39c2b469c8e","dark":"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/dark.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=ba6722dedd801b55082f19792ea3b441"},"api":{"mdx":{"server":"https://api.wingback.com"}},"navbar":{"links":[],"primary":{"type":"button","label":"Go to Dashboard","href":"https://app.wingback.com/"}},"footer":{"socials":{"website":"https://wingback.com","twitter":"https://twitter.com/wingbackapp","linkedin":"https://www.linkedin.com/company/wingbackapp/"}},"integrations":{"posthog":{"apiKey":"phc_9zg8YkIBr0SuofRjG6TujIu9Q6I2deAFFat4U3DpbrV","apiHost":"https://i.wingback.com"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wingback","hasAudioNarration":false,"actualSubdomain":"wingback","customDomains":["docs-int.wingback.com"],"gitSource":{"type":"github","owner":"wingbackapp","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"docs","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c343cf0492c7637e2ac2","collectionId":"df9c82e5-67e0-472b-acfa-7306b676d252","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a20c343cf0492c7637e2ac2:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Developer Documentation","count":41},{"language":"default","tag":"API Reference","count":31},{"language":"default","tag":"SGI Fundamentals","count":19},{"language":"default","tag":"Pricing Model Guides","count":16},{"language":"default","tag":"User Guides","count":13},{"language":"default","tag":"User Manuals","count":10},{"language":"default","tag":"Customer","count":8},{"language":"default","tag":"Payment","count":6},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Feature Overview","count":6}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[],"page":{"pagePath":"dev/api-reference/contract/post_c_contract","slug":"/dev/api-reference/contract/post_c_contract","pageMetadata":{"title":"Subscribe Customer to a Plan","openapi":"POST /v1/c/contract","description":null,"href":"/dev/api-reference/contract/post_c_contract"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const IntRedir=()=>{if(typeof document===`undefined`){return null}else{setTimeout(()=>{const currentUrl=new URL(window.location.href);if(currentUrl.hostname===`docs-int.wingback.com`){currentUrl.hostname=`docs.wingback.com`;window.location.replace(currentUrl.toString())}},1);return _jsx(_Fragment,{})}};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(_MdxComponentBoundary,{name:`IntRedir`,children:_jsx(IntRedir,{})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{IntRedir,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Subscribe Customer to a Plan","openapi":"POST /v1/c/contract","description":null,"href":"/dev/api-reference/contract/post_c_contract"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[19,38,""],[136,436,"null;function _creat"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/wingback/bbb25f53a15d63f9/int-redir.js"],"openApiReferenceData":{"operation":{"tags":["contract"],"summary":"Create/Sign a new Contract","operationId":"insert_contract","requestBody":"ef090c5e-3fbe-4026-a3fc-3c688d7075ae","responses":{"200":"b44a6717-f184-41ac-8b03-c5d676b81764","201":"98c7d0d5-152e-48ff-8bcf-b55c0c234814"},"security":["4fdb89bf-ce52-4e78-b2c9-6333a140bc69","6256c059-f68c-4c7c-808e-4f835f695e47"],"method":"post","type":"path","servers":["a4003425-b8cc-41a9-b3c3-854191252b9c","bc411509-c143-4d72-a409-c7938d980f87"],"path":"/v1/c/contract","baseUrlOptions":["http://127.0.0.1:8080","https://api.app.test.wingback.com"],"title":"Create/Sign a new Contract","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Configuration used by a WbCustomer to sign up a Customer to a plan","required":["plan","customer","cycle","currency"],"properties":{"currency":{"type":"string","description":"A supported currency\n\nThe format for parsing and reading is the lowercased\nISO 4217 currency code (e.g. \"usd\")","enum":["usd","eur","gbp","brl","ars"],"isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"customer":{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","isRequired":true,"uniqueKey":"customer","typeLabel":"string"},"cycle":{"type":"string","description":"Enum that lists supported payment cycles for contracts:\n* Once - one-time payment\n* Constant - one-time payment for the duration of the contract\n* Week - contract is paid weekly\n* Month - contract is paid monthly\n* Quarter - contract is paid every quarter\n* Year - contract is paid yearly","enum":["once","hour","day","week","month","quarter","year","constant"],"isRequired":true,"uniqueKey":"cycle","typeLabel":"enum\u003cstring>"},"plan":{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","isRequired":true,"uniqueKey":"plan","typeLabel":"string"},"activation":{"oneOf":[{"type":"string","format":"date-time","description":"Contract activation date. Immediate if empty","uniqueKey":"activation.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Contract activation date. Immediate if empty","uniqueKey":"activation.oneOf.1","typeLabel":"null"}],"uniqueKey":"activation","typeLabel":"string\u003cdate-time> | null"},"automatic_payment":{"oneOf":[{"type":"boolean","description":"Whether the Customer should be charged by Wingback Billing Engine or not\nIf not set, the configuration from Customer profile will be used, and if that is not set\neither, the default configuration for WbCustomer will be used","uniqueKey":"automatic_payment.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the Customer should be charged by Wingback Billing Engine or not\nIf not set, the configuration from Customer profile will be used, and if that is not set\neither, the default configuration for WbCustomer will be used","uniqueKey":"automatic_payment.oneOf.1","typeLabel":"null"}],"uniqueKey":"automatic_payment","typeLabel":"boolean | null"},"discount_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"discount_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"discount_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"discount_id","typeLabel":"string | null"},"feature_configuration":{"oneOf":[{"type":"object","description":"Configuration specifying overrides to apply to new plan during contract upgrade.\nIn addition to the number of units to purchase, it is possible to\noverride price and flat_fee of specific features to create customized plans\nSee FeatureConfiguration for format","additionalProperties":{"type":"object","description":"Helper structure to store the overridden price and flat_fee for customized\ncontracts, as well as the number of units being purchased for the contract","properties":{"flat_fee":{"oneOf":[{"type":"string","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.flat_fee.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.flat_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.flat_fee","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","description":"the overridden price of the given feature","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.price.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden price of the given feature","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.price","typeLabel":"string | null"},"purchased":{"oneOf":[{"type":"boolean","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.purchased.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.purchased.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.purchased","typeLabel":"boolean | null"},"tiers":{"oneOf":[{"type":"array","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier","isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string","isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0.Concrete","typeLabel":"string"}},"isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0","typeLabel":"object"},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"],"isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end","typeLabel":"object | enum\u003cstring>"},"tier_start":{"type":"string","description":"Number of units where this tier starts applying.","isRequired":true,"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_start","typeLabel":"string"}},"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Override tiers","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string"}}},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"]}]},"tier_start":{"type":"string","description":"Number of units where this tier starts applying."}}},"description":"Override tiers","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.tiers","typeLabel":"object[] | null"},"unit_count":{"oneOf":[{"type":"string","description":"the number of units being purchased","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.unit_count.oneOf.0","typeLabel":"string"},{"type":"null","description":"the number of units being purchased","uniqueKey":"feature_configuration.oneOf.0.additionalProperties.unit_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.0.additionalProperties.unit_count","typeLabel":"string | null"}},"uniqueKey":"feature_configuration.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"feature_configuration.oneOf.0","typeLabel":"object"},{"type":"null","description":"Configuration specifying overrides to apply to new plan during contract upgrade.\nIn addition to the number of units to purchase, it is possible to\noverride price and flat_fee of specific features to create customized plans\nSee FeatureConfiguration for format","additionalProperties":{"type":"object","description":"Helper structure to store the overridden price and flat_fee for customized\ncontracts, as well as the number of units being purchased for the contract","properties":{"flat_fee":{"oneOf":[{"type":"string","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.flat_fee.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden flat_fee for the usage-based feature","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.flat_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.flat_fee","typeLabel":"string | null"},"price":{"oneOf":[{"type":"string","description":"the overridden price of the given feature","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.price.oneOf.0","typeLabel":"string"},{"type":"null","description":"the overridden price of the given feature","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.price","typeLabel":"string | null"},"purchased":{"oneOf":[{"type":"boolean","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.purchased.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"used for optional features - the optional feature is added to the contract only if this\nis set to `true`","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.purchased.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.purchased","typeLabel":"boolean | null"},"tiers":{"oneOf":[{"type":"array","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0.Concrete","typeLabel":"string"}},"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.0","typeLabel":"object"},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_end","typeLabel":"object | enum\u003cstring>"},"tier_start":{"type":"string","description":"Number of units where this tier starts applying.","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX].tier_start","typeLabel":"string"}},"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Override tiers","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"A pricing tier","required":["tier_start","tier_end","amount"],"properties":{"amount":{"type":"string","description":"Price per unit for this tier"},"tier_end":{"oneOf":[{"type":"object","description":"Either a number of `infinity`. Must be a string","required":["Concrete"],"properties":{"Concrete":{"type":"string"}}},{"type":"string","description":"Either a number of `infinity`. Must be a string","enum":["Infinity"]}]},"tier_start":{"type":"string","description":"Number of units where this tier starts applying."}}},"description":"Override tiers","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.tiers","typeLabel":"object[] | null"},"unit_count":{"oneOf":[{"type":"string","description":"the number of units being purchased","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.unit_count.oneOf.0","typeLabel":"string"},{"type":"null","description":"the number of units being purchased","uniqueKey":"feature_configuration.oneOf.1.additionalProperties.unit_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration.oneOf.1.additionalProperties.unit_count","typeLabel":"string | null"}},"uniqueKey":"feature_configuration.oneOf.1.additionalProperties","typeLabel":"object"},"uniqueKey":"feature_configuration.oneOf.1","typeLabel":"null"}],"uniqueKey":"feature_configuration","typeLabel":"object | null"},"free_trial_days":{"oneOf":[{"type":"integer","description":"The optional custom number of days on free trial","minimum":0,"uniqueKey":"free_trial_days.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The optional custom number of days on free trial","minimum":0,"uniqueKey":"free_trial_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"free_trial_days","typeLabel":"integer | null"},"invoice_trigger":{"oneOf":[{"type":"string","description":"When the invoices should be created\n\nNote: EveryCycle and Periodic aren't yet supported,\nthey will behave as Manual","enum":["immediate"],"uniqueKey":"invoice_trigger.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"When the invoices should be created\n\nNote: EveryCycle and Periodic aren't yet supported,\nthey will behave as Manual","required":["periodic"],"properties":{"periodic":{"type":"object","description":"How period are generated, independently from a start\nor end","required":["cycle_count","cycle"],"properties":{"cycle":{"type":"string","description":"Enum that lists supported trigger cycles for periodic triggers:\n* Month - every month\n* Quarter - every quarter\n* Year - every year","enum":["day","week","month","quarter","year"],"isRequired":true,"uniqueKey":"invoice_trigger.oneOf.1.periodic.cycle","typeLabel":"enum\u003cstring>"},"cycle_count":{"type":"integer","description":"the number of days/week/month etc. in a period","minimum":0,"isRequired":true,"uniqueKey":"invoice_trigger.oneOf.1.periodic.cycle_count","typeLabel":"integer"},"cycle_start_offset":{"oneOf":[{"type":"integer","description":"Number of full days between the cycle's natural start and\nthe claims starts. For example if claims are to start on\nthe morning of the 14 each month, the offset will be 13.\nThis value can be null, meaning either that it's not\nspecified at this level (eg in preferences) or that it's\n0 (ie a natural cycle)","minimum":0,"uniqueKey":"invoice_trigger.oneOf.1.periodic.cycle_start_offset.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of full days between the cycle's natural start and\nthe claims starts. For example if claims are to start on\nthe morning of the 14 each month, the offset will be 13.\nThis value can be null, meaning either that it's not\nspecified at this level (eg in preferences) or that it's\n0 (ie a natural cycle)","minimum":0,"uniqueKey":"invoice_trigger.oneOf.1.periodic.cycle_start_offset.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice_trigger.oneOf.1.periodic.cycle_start_offset","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"invoice_trigger.oneOf.1.periodic","typeLabel":"object"}},"uniqueKey":"invoice_trigger.oneOf.1","typeLabel":"object"},{"type":"string","description":"When the invoices should be created\n\nNote: EveryCycle and Periodic aren't yet supported,\nthey will behave as Manual","enum":["manual"],"uniqueKey":"invoice_trigger.oneOf.2","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"invoice_trigger.oneOf.3","typeLabel":"null"}],"uniqueKey":"invoice_trigger","typeLabel":"enum\u003cstring> · object · enum\u003cstring> · null"},"is_pending":{"type":"boolean","description":"Creates a pending contract. Pending contract has no activation date, and can only\nbe activated manually. Activation date is ignored if this is set to true.\nDefaults to false","uniqueKey":"is_pending","typeLabel":"boolean"},"pricing_id":{"oneOf":[{"type":"string","description":"Unique identifier of an object. Consists of object class prefix and a UUID","example":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","uniqueKey":"pricing_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"pricing_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing_id","typeLabel":"string | null"},"unit_count_configuration":{"oneOf":[{"type":"object","description":"Configuration specifying the number of units to purchase\non the new plan for unit-based features. This is a hashmap where\nkeys are slugs of features, and values are the numbers of units to purchase\n{\n\"{feature_slug}\": {number_of_units}\n}","additionalProperties":{"type":"string","uniqueKey":"unit_count_configuration.oneOf.0.additionalProperties","typeLabel":"string"},"deprecated":true,"uniqueKey":"unit_count_configuration.oneOf.0","typeLabel":"object"},{"type":"null","description":"Configuration specifying the number of units to purchase\non the new plan for unit-based features. This is a hashmap where\nkeys are slugs of features, and values are the numbers of units to purchase\n{\n\"{feature_slug}\": {number_of_units}\n}","additionalProperties":{"type":"string","uniqueKey":"unit_count_configuration.oneOf.1.additionalProperties","typeLabel":"string"},"deprecated":true,"uniqueKey":"unit_count_configuration.oneOf.1","typeLabel":"null"}],"uniqueKey":"unit_count_configuration","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","plan":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","activation":"2023-11-07T05:31:56Z","automatic_payment":true,"discount_id":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","feature_configuration":{},"free_trial_days":1,"invoice_trigger":"immediate","is_pending":true,"pricing_id":"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670","unit_count_configuration":{}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"b44a6717-f184-41ac-8b03-c5d676b81764":{"description":"Updated","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"98c7d0d5-152e-48ff-8bcf-b55c0c234814":{"description":"Created","content":{"application/json":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae","examples":{"Example":{"title":"Example","value":"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae"}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4fdb89bf-ce52-4e78-b2c9-6333a140bc69":{"api-key":{"type":"apiKey","in":"header","name":"wb-key","scopes":[]}},"6256c059-f68c-4c7c-808e-4f835f695e47":{"wb_user_cookie":{"type":"apiKey","in":"cookie","name":"app-session","scopes":[]}}},"servers":{"a4003425-b8cc-41a9-b3c3-854191252b9c":{"url":"http://127.0.0.1:8080","description":"Local server"},"bc411509-c143-4d72-a409-c7938d980f87":{"url":"https://api.app.test.wingback.com","description":"Testing server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"wb-key","scopes":[]},"schema":{"title":"wb-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"wb-key"}],"title":"api-key"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"app-session","scopes":[]},"schema":{"title":"app-session","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"wb_user_cookie","name":"app-session"}],"title":"wb_user_cookie"}]},"originalFileLocation":"openapi.json"},"subdomain":"wingback","siteName":"Wingback","title":"Subscribe Customer to a Plan - Wingback","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T22:42:17.667Z","originalFileLocation":"dev/api-reference/contract/post_c_contract.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=\"application-name\" content=\"Wingback\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Subscribe Customer to a Plan - Wingback\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wingback\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wingback.mintlify.app/_mintlify/api/og/v2?division=Contract\u0026amp;title=Subscribe+Customer+to+a+Plan\u0026amp;theme=b99535fc2fd6236ca0523fc2\u0026amp;signature=9a2e124e05cb818266ba556841dc80e713c6cfbce901f0cc680bd1056e882044\">\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=\"Subscribe Customer to a Plan - Wingback\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wingback.mintlify.app/_mintlify/api/og/v2?division=Contract\u0026amp;title=Subscribe+Customer+to+a+Plan\u0026amp;theme=b99535fc2fd6236ca0523fc2\u0026amp;signature=9a2e124e05cb818266ba556841dc80e713c6cfbce901f0cc680bd1056e882044\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wingback/UnON2ZxPucVjTp_q/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wingback\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF3B4D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dev/api-reference/contract/post_c_contract.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs-int.wingback.com/#organization\",\"name\":\"Wingback\",\"url\":\"https://docs-int.wingback.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wingback/GadBRdJt85xVxME0/media/logo/light.svg?fit=max\u0026auto=format\u0026n=GadBRdJt85xVxME0\u0026q=85\u0026s=93b61d8945910151ec8df39c2b469c8e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs-int.wingback.com#website\",\"name\":\"Wingback\",\"url\":\"https://docs-int.wingback.com\",\"publisher\":{\"@id\":\"https://docs-int.wingback.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract#webpage\",\"url\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\",\"name\":\"Subscribe Customer to a Plan\",\"dateModified\":\"2026-01-06T22:42:17.667Z\",\"isPartOf\":{\"@id\":\"https://docs-int.wingback.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs-int.wingback.com/dev/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Subscribe Customer to a Plan\",\"item\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract#apireference\",\"headline\":\"Subscribe Customer to a Plan\",\"name\":\"Subscribe Customer to a Plan\",\"url\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract\",\"mainEntityOfPage\":{\"@id\":\"https://docs-int.wingback.com/dev/api-reference/contract/post_c_contract#webpage\"},\"dateModified\":\"2026-01-06T22:42:17.667Z\",\"publisher\":{\"@id\":\"https://docs-int.wingback.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs-int.wingback.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wingback\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wingback","nav":{"global":null,"tabs":[{"tab":"User Guides","pages":[{"title":"User Guides","href":"/user/welcome"}]},{"tab":"User Manuals","pages":[{"title":"User Manuals","href":"/manual/introduction"}]},{"tab":"SGI Fundamentals","pages":[{"title":"SGI Fundamentals","href":"/fundamentals/vocab/introduction"}]},{"tab":"Developer Documentation","groups":[{"group":"Welcome","pages":[{"title":"Introduction","href":"/dev/welcome"}]},{"group":"Guides","pages":[{"title":"Working with Features and Entitlements","href":"/dev/guides/features-entitlements"},{"title":"Integrating Wingback into your Signup Flow","href":"/dev/guides/integrate-wingback-signup-flow"},{"title":"Billing Portal Integration","href":"/dev/guides/billing-portal"},{"title":"Adding a Dynamic Pricing Page to Your Website","href":"/dev/guides/pricing-page"},{"title":"Metering Usage","href":"/dev/guides/metering"},{"title":"Webhooks","href":"/dev/guides/webhooks"}]},{"group":"Wingback.js","pages":[{"title":"Introduction","href":"/dev/wingback-js/introduction"},{"title":"Pricing Pages","href":"/dev/wingback-js/pricing"}]},{"group":"Advanced","pages":[{"title":"Variable Invoicing Schedules","href":"/dev/advanced/variable-invoicing-schedules"}]},{"group":"API Reference","pages":[{"title":"Introduction","href":"/dev/api-reference/introduction"},{"group":"Customer","pages":[{"title":"Create New Customer","openapi":"POST /v1/c/customer","href":"/dev/api-reference/customer/post_c_customer"},{"title":"Get Customer","openapi":"GET /v1/c/customer/{customer_id}","href":"/dev/api-reference/customer/get_c_customer_customerid"},{"title":"Search for Customers","openapi":"GET /v1/c/customer","href":"/dev/api-reference/customer/get_c_customer"},{"title":"Activate Customer","openapi":"POST /v1/c/customer/{customer_id}/activate","href":"/dev/api-reference/customer/post_c_customer_customerid_activate"},{"title":"Freeze/Inactivate Customer","openapi":"POST /v1/c/customer/{customer_id}/inactivate","href":"/dev/api-reference/customer/post_c_customer_customerid_inactivate"},{"title":"Add Address","openapi":"POST /v1/c/customer/{customer_id}/address","href":"/dev/api-reference/customer/post_c_customer_customerid_address"},{"title":"Get Address","openapi":"GET /v1/c/customer/{customer_id}/address","href":"/dev/api-reference/customer/get_c_customer_customerid_address"},{"title":"Delete Address","openapi":"DELETE /v1/c/customer/{customer_id}/address","description":"The API deletes the customers address","href":"/dev/api-reference/customer/delete_c_customer_customerid_address"}]},{"group":"Contract","pages":[{"title":"Subscribe Customer to a Plan","openapi":"POST /v1/c/contract","href":"/dev/api-reference/contract/post_c_contract"},{"title":"Retrieve Contract Details","openapi":"GET /v1/c/contract/{contract_id}","description":null,"href":"/dev/api-reference/contract/get_c_contract_contractid"},{"title":"Upgrade/Change Plan","openapi":"POST /v1/c/contract/{contract_id}/upgrade","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade"},{"title":"Estimate Upgrade Costss","openapi":"POST /v1/c/contract/{contract_id}/upgrade_estimate","href":"/dev/api-reference/contract/post_c_contract_contractid_upgrade_estimate"}]},{"group":"Billing Portal","pages":[{"title":"Login a Customer to the Self-Serve Portal","openapi":"POST /v1/c/customer/authenticate","href":"/dev/api-reference/billing-portal/post_c_customer_authenticate"}]},{"group":"Entitlements","pages":[{"title":"Get Access Entitlements","openapi":"GET /v1/c/entitlement/{customer_id}/access","href":"/dev/api-reference/entitlement/get_c_entitlement_customerid_access"},{"title":"Get Billing Entitlements","openapi":"GET /v1/c/entitlement/{customer_id}/billing","href":"/dev/api-reference/entitlement/get_c_entitlement_customerid_billing"}]},{"group":"Usage","pages":[{"title":"Report Single Event","openapi":"POST /v1/c/usage","href":"/dev/api-reference/usage/post_c_usage"},{"title":"Bulk Usage Upload","openapi":"POST /v1/c/usage/bulk","href":"/dev/api-reference/usage/post_c_usage_bulk"}]},{"group":"Payment","pages":[{"title":"Create Payment Session","openapi":"POST /v1/c/customer/{customer_id}/payment/session","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_session"},{"title":"Add Payment Method","openapi":"POST /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_method"},{"title":"List saved Payment Methods","openapi":"GET /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method"},{"title":"Get Saved Payment Method","openapi":"GET /v1/c/customer/{customer_id}/payment/method/{method_id}","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method_methodid"},{"title":"List saved Payment Methods","openapi":"GET /v1/c/customer/{customer_id}/payment/method","href":"/dev/api-reference/payment/get_c_customer_customerid_payment_method_selection"},{"title":"Set Default Payment Method","openapi":"POST /v1/c/customer/{customer_id}/payment/method_selection","href":"/dev/api-reference/payment/post_c_customer_customerid_payment_method_selection"}]},{"group":"Balance","pages":[{"title":"Get Current Customer Balance","openapi":"GET /v1/c/customer/{customer_id}/balance","href":"/dev/api-reference/balance/get_c_customer_customerid_balance"}]},{"group":"Virtual Wallets (Credits)","pages":[{"title":"Get Virtual Balances","openapi":"GET /v1/c/customer/{customer_id}/virtual-wallet/","href":"/dev/api-reference/virtual-wallet/get_c_customer_customerid_virtual-wallet"},{"title":"Add Virtual Credits","openapi":"POST /v1/c/virtual-wallet-transaction","href":"/dev/api-reference/virtual-wallet/post_c_virtual-wallet-transaction"}]},{"group":"Invoices","pages":[{"title":"List Invoices","openapi":"GET /v1/c/invoice","href":"/dev/api-reference/invoice/get_c_invoice"},{"title":"Get Invoice","openapi":"GET /v1/c/invoice/{invoice_id}","href":"/dev/api-reference/invoice/get_c_invoice_invoiceid"},{"title":"Configure Global Invoicing Preferences","openapi":"POST /v1/c/preferences/invoicing","href":"/dev/api-reference/invoice/post_c_preferences_invoicing"},{"title":"Manually Trigger Invoice Generation","openapi":"POST /v1/c/invoice","href":"/dev/api-reference/invoice/post_c_invoice"}]}]}]}]},"title":"Subscribe Customer to a Plan - Wingback","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}