Reverse a scheduled cancellation. This only works while the subscription is still active and set to cancel at period end — i.e., after Delete Order but before the period actually ends. Calling it on an active order that isn’t scheduled to cancel changes nothing and still returns success.
Only an active subscription can be resumed. If the subscription has fully canceled, expired, or is past due, this returns 400. Create a new order instead.
{ "error": { "type": "invalid_request_error", "message": "Subscription is \"canceled\" — a fully canceled subscription cannot be resumed. Only subscriptions scheduled to cancel at period end can be uncancelled." }}
If the call to our billing provider fails, error.type is stripe_error and error.details says why. Any other failure returns server_error with the message Internal server error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stat Proxies","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":{"light":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa","dark":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa"},"favicon":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/favicon.ico?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=c381978d14b178e29d4461e03eb64195","navbar":{"links":[{"href":"https://discord.gg/6gExKHK","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.statproxies.com"}},"footer":{"socials":{"discord":"https://discord.gg/6gExKHK","x":"https://x.com/statproxies"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.statproxies.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/6gExKHK"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"statproxies","hasAudioNarration":false,"actualSubdomain":"statproxies","customDomains":["docs.statproxies.com"],"gitSource":{"type":"github","owner":"limitedhype","repo":"stat-proxies-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ad039a11b140aa9ff57e883","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Help Center","count":14},{"language":"default","tag":"Order API","count":11},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Billing \u0026 Account","count":4},{"language":"default","tag":"Troubleshooting","count":3},{"language":"default","tag":"Integration Guides","count":3},{"language":"default","tag":"Account API","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/order/uncancel-order","slug":"/api-reference/order/uncancel-order","pageMetadata":{"title":"Uncancel Order","description":"Reverse a scheduled cancellation so the subscription renews normally.","api":"POST https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}","href":"/api-reference/order/uncancel-order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reverse a scheduled cancellation so the subscription renews normally.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Info,ParamField,ResponseField,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Reverse a scheduled cancellation. This only works while the subscription is still active and set to cancel at period end — i.e., after `,_jsx(_components.a,{href:`/api-reference/order/delete-order`,children:`Delete Order`}),` but before the period actually ends. Calling it on an active order that isn’t scheduled to cancel changes nothing and still returns success.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Only an active subscription can be resumed. If the subscription has fully canceled, expired, or is past due, this returns `,_jsx(_components.strong,{children:`400`}),`. Create a new order instead.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Required`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bearer {your_api_key}`})}),_jsx(_components.td,{children:`Yes`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`subscription_id`,type:`string`,required:true,id:`param-subscription-id`,children:_jsx(_components.p,{children:`The subscription ID from order creation.`})}),`\n`,_jsx(ParamField,{path:`product_id`,type:`string`,required:true,id:`param-product-id`,children:_jsxs(_components.p,{children:[`The product ID (e.g., `,_jsx(_components.code,{children:`\"captcha\"`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://dashboard.statproxies.com/api/v2/order/uncancel/sub_1RqJP3JB4G9i6PKHDwmKPJOb/captcha\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer {your_api_key}\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response`,children:`Success Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Subscription cancellation reversed — the subscription will renew normally\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub_1rqjp3jb4g9i6pkhdwmkpjob\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub_1RqJP3JB4G9i6PKHDwmKPJOb\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`success`,type:`object`,id:`param-success`,children:_jsx(_components.p,{children:`Success details object.`})}),`\n`,_jsx(ResponseField,{name:`success.message`,type:`string`,id:`param-success-message`,children:_jsx(_components.p,{children:`Confirmation message.`})}),`\n`,_jsx(ResponseField,{name:`success.order_id`,type:`string`,id:`param-success-order-id`,children:_jsx(_components.p,{children:`The order ID whose cancellation was reversed.`})}),`\n`,_jsx(ResponseField,{name:`success.subscription_id`,type:`string`,id:`param-success-subscription-id`,children:_jsx(_components.p,{children:`The Stripe subscription ID that will now renew normally.`})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(Heading,{level:`4`,id:`400-bad-request-already-canceled`,children:`400 Bad Request - Already Canceled`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_request_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Subscription is `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`canceled`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` — a fully canceled subscription cannot be resumed. Only subscriptions scheduled to cancel at period end can be uncancelled.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"not_found_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The order was not found, or it is not owned by your key’s user or organization.`}),`\n`,_jsx(Heading,{level:`4`,id:`500-server-error`,children:`500 Server Error`}),`\n`,_jsxs(_components.p,{children:[`If the call to our billing provider fails, `,_jsx(_components.code,{children:`error.type`}),` is `,_jsx(_components.code,{children:`stripe_error`}),` and `,_jsx(_components.code,{children:`error.details`}),` says why. Any other failure returns `,_jsx(_components.code,{children:`server_error`}),` with the message `,_jsx(_components.code,{children:`Internal server error`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related Endpoints`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Delete Order`,icon:`trash`,href:`/api-reference/order/delete-order`,children:_jsx(_components.p,{children:`Schedule a subscription to cancel at period end.`})}),_jsx(Card,{title:`List Orders`,icon:`list`,href:`/api-reference/order/list-orders`,children:_jsxs(_components.p,{children:[`Check whether an order is `,_jsx(_components.code,{children:`active`}),` or `,_jsx(_components.code,{children:`cancelled`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":"Uncancel Order","description":"Reverse a scheduled cancellation so the subscription renews normally.","api":"POST https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}","href":"/api-reference/order/uncancel-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Example Request","slug":"example-request","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success Response","slug":"success-response","depth":3,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"400 Bad Request - Already Canceled","slug":"400-bad-request-already-canceled","depth":4,"children":[]},{"title":"404 Not Found","slug":"404-not-found","depth":4,"children":[]},{"title":"500 Server Error","slug":"500-server-error","depth":4,"children":[]}]},{"title":"Related Endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Uncancel Order","path":"/api/v2/order/uncancel/{subscription_id}/{product_id}","servers":[{"url":"https://dashboard.statproxies.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"subscription_id":{"schema":[{"type":"string","description":"The subscription ID from order creation.","required":true}]},"product_id":{"schema":[{"type":"string","description":"The product ID (e.g., `\"captcha\"` ).","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"object","properties":{},"description":"Success details object."}],"success.message":[{"type":"string","description":"Confirmation message."}],"success.order_id":[{"type":"string","description":"The order ID whose cancellation was reversed."}],"success.subscription_id":[{"type":"string","description":"The Stripe subscription ID that will now renew normally."}]}}],"examples":{"example":{"value":{"success":{},"success.message":"\u003cstring>","success.order_id":"\u003cstring>","success.subscription_id":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"statproxies","siteName":"Stat Proxies","title":"Uncancel Order - Stat Proxies","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T04:03:30.664Z","originalFileLocation":"api-reference/order/uncancel-order.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=\"Reverse a scheduled cancellation so the subscription renews normally.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stat Proxies\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Uncancel Order - Stat Proxies\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reverse a scheduled cancellation so the subscription renews normally.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stat Proxies\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.statproxies.com/api-reference/order/uncancel-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://statproxies.mintlify.site/_mintlify/api/og/v2?division=Order+API\u0026amp;title=Uncancel+Order\u0026amp;description=Reverse+a+scheduled+cancellation+so+the+subscription+renews+normally.\u0026amp;theme=67d37c0441cee6590ffcec3f\u0026amp;signature=46b1ca0b13bfed183df98cf78a3d81c1b46fe28ad11f9d5c62b4f8c946d972bc\">\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=\"Uncancel Order - Stat Proxies\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reverse a scheduled cancellation so the subscription renews normally.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://statproxies.mintlify.site/_mintlify/api/og/v2?division=Order+API\u0026amp;title=Uncancel+Order\u0026amp;description=Reverse+a+scheduled+cancellation+so+the+subscription+renews+normally.\u0026amp;theme=67d37c0441cee6590ffcec3f\u0026amp;signature=46b1ca0b13bfed183df98cf78a3d81c1b46fe28ad11f9d5c62b4f8c946d972bc\">\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/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stat Proxies\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.statproxies.com/api-reference/order/uncancel-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order/uncancel-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.statproxies.com/#organization\",\"name\":\"Stat Proxies\",\"url\":\"https://docs.statproxies.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.statproxies.com#website\",\"name\":\"Stat Proxies\",\"url\":\"https://docs.statproxies.com\",\"publisher\":{\"@id\":\"https://docs.statproxies.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.statproxies.com/api-reference/order/uncancel-order#webpage\",\"url\":\"https://docs.statproxies.com/api-reference/order/uncancel-order\",\"name\":\"Uncancel Order\",\"description\":\"Reverse a scheduled cancellation so the subscription renews normally.\",\"dateModified\":\"2026-10-05T04:03:30.664Z\",\"isPartOf\":{\"@id\":\"https://docs.statproxies.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.statproxies.com/api-reference/order/uncancel-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.statproxies.com/api-reference/order/uncancel-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Order API\",\"item\":\"https://docs.statproxies.com/api-reference/order/create-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uncancel Order\",\"item\":\"https://docs.statproxies.com/api-reference/order/uncancel-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.statproxies.com/api-reference/order/uncancel-order#apireference\",\"headline\":\"Uncancel Order\",\"name\":\"Uncancel Order\",\"description\":\"Reverse a scheduled cancellation so the subscription renews normally.\",\"url\":\"https://docs.statproxies.com/api-reference/order/uncancel-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.statproxies.com/api-reference/order/uncancel-order#webpage\"},\"dateModified\":\"2026-10-05T04:03:30.664Z\",\"publisher\":{\"@id\":\"https://docs.statproxies.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.statproxies.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stat Proxies\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stat Proxies\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/order/uncancel-order.md","siteName":"Stat Proxies","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.statproxies.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/6gExKHK"}]},"tabs":[{"tab":"Help Center","pages":[{"title":"Help Center","href":"/articles/quick-start"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"TCP Fingerprint Profiles","href":"/api-reference/fingerprint-profiles"}]},{"group":"Order API","pages":[{"title":"Create Order","api":"POST https://dashboard.statproxies.com/api/v2/order/newscale","href":"/api-reference/order/create-order"},{"title":"List Orders","api":"GET https://dashboard.statproxies.com/api/v2/order/list","href":"/api-reference/order/list-orders"},{"title":"Get Order","api":"GET https://dashboard.statproxies.com/api/v2/order/fetch/{order_id}","href":"/api-reference/order/get-order"},{"title":"Get Order Details","api":"GET https://dashboard.statproxies.com/api/v2/order/details/fetch","href":"/api-reference/order/get-order-details"},{"title":"Get Customer Orders","api":"GET https://dashboard.statproxies.com/api/v2/order/fetch/customer/{customer_id}","href":"/api-reference/order/get-customer-orders"},{"title":"Get Usage Statistics","api":"GET https://dashboard.statproxies.com/api/v2/order/usage/{order_id}","href":"/api-reference/order/get-usage"},{"title":"Exchange Proxies","api":"POST https://dashboard.statproxies.com/api/v2/order/exchange/{order_id}","href":"/api-reference/order/exchange-proxies"},{"title":"Replace Proxy","api":"POST https://dashboard.statproxies.com/api/v2/order/replace/{order_id}","href":"/api-reference/order/replace-proxy"},{"title":"Delete Order","description":"Cancel an existing order by scheduling the subscription to end.","api":"DELETE https://dashboard.statproxies.com/api/v2/order/delete/{subscription_id}/{product_id}","href":"/api-reference/order/delete-order"},{"title":"Uncancel Order","api":"POST https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}","href":"/api-reference/order/uncancel-order"},{"title":"Cancel \u0026 Refund","description":"Cancel a subscription immediately and credit its most recent invoice.","api":"POST https://dashboard.statproxies.com/api/v2/order/cancel-refund/{subscription_id}/{product_id}","href":"/api-reference/order/cancel-refund-order"}]},{"group":"Account API","pages":[{"title":"Get Order History","api":"GET https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}","href":"/api-reference/account/get-order-history"},{"title":"Get Active Orders","api":"GET https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}","href":"/api-reference/account/get-active-orders"}]}]}]},"basePath":"","title":"Uncancel Order - Stat Proxies","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}