Pause temporariamente as cobranças de uma assinatura. O cliente pode manter ou perder acesso durante a pausa, dependendo da sua implementação. Use o endpoint de retomar para reativar as cobranças.
Exemplo de Requisição
curl -X POST https://garu.com.br/api/subscriptions/100/pause \ -H "Authorization: Bearer sk_test_sua_chave"
Acesso durante a pausa: A decisão de manter ou revogar o acesso do cliente durante a pausa é da sua aplicação. A Garu apenas suspende as cobranças.
Assinaturas pausadas por muito tempo podem precisar de atualização do método de pagamento ao serem retomadas.
Erros Comuns
404 - Assinatura não encontrada
{ "statusCode": 404, "message": "Subscription not found"}
Solução: Verifique se o ID da assinatura está correto.
400 - Assinatura não pode ser pausada
{ "statusCode": 400, "message": "Cannot pause subscription with current status"}
Solução: Apenas assinaturas ativas podem ser pausadas.
Próximos Passos
Retomar Assinatura
Reative as cobranças de uma assinatura pausada
Cancelar Assinatura
Cancele definitivamente uma assinatura
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Garu","description":"Documentação oficial da API Garu - Gateway de pagamentos que simplifica a gestão e apoia empreendedores no seu crescimento. Integre PIX, Cartão de Crédito e Boleto em minutos.","colors":{"primary":"#257264","light":"#FAF6ED","dark":"#005243"},"logo":{"light":"https://mintcdn.com/garu/g-shOvMOEbJZqokd/logo/light.svg?fit=max\u0026auto=format\u0026n=g-shOvMOEbJZqokd\u0026q=85\u0026s=b6c0de2b9b2378205ccf76d131a91a69","dark":"https://mintcdn.com/garu/g-shOvMOEbJZqokd/logo/dark.svg?fit=max\u0026auto=format\u0026n=g-shOvMOEbJZqokd\u0026q=85\u0026s=4c31441f3c8b4cf869015f4f30d47395"},"favicon":"https://mintcdn.com/garu/g-shOvMOEbJZqokd/favicon.png?fit=max\u0026auto=format\u0026n=g-shOvMOEbJZqokd\u0026q=85\u0026s=8cac01c3f496d267e96afa23109702bf","api":{"playground":{},"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://garu.com.br"}},"navbar":{"links":[{"href":"mailto:contato@garu.com.br","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://garu.com.br/inicio"}},"footer":{"socials":{"instagram":"https://www.instagram.com/tecnosolve","linkedin":"https://www.linkedin.com/company/tecnosolve"}},"seo":{},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://garu.com.br/inicio"},{"anchor":"OpenAPI","icon":"code","href":"https://garu.com.br/api/openapi.json"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"garu","hasAudioNarration":false,"actualSubdomain":"garu","customDomains":["docs.garu.com.br"],"gitSource":{"type":"github","owner":"garu-pagamentos","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":false},"entitlements":{},"buildId":"6ada8827b792eded1561428d","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Referência da API","count":74},{"language":"default","tag":"Guias","count":22},{"language":"default","tag":"Integrando Pagamentos","count":12},{"language":"default","tag":"Cobranças Agendadas","count":9},{"language":"default","tag":"Boleto Parcelado (Carnê)","count":8},{"language":"default","tag":"Webhooks e Exemplos","count":8},{"language":"default","tag":"Assinaturas","count":7},{"language":"default","tag":"Clientes","count":6},{"language":"default","tag":"Produtos","count":6},{"language":"default","tag":"Preços de Assinatura","count":5}]},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/assinaturas/pausar","slug":"/api-reference/assinaturas/pausar","pageMetadata":{"title":"Pausar Assinatura","description":"Pause temporariamente as cobranças de uma assinatura","api":"POST /api/subscriptions/{id}/pause","href":"/api-reference/assinaturas/pausar"},"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: \"Pause temporariamente as cobranças de uma assinatura\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Heading,Note,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`visão-geral`,children:`Visão Geral`}),`\n`,_jsxs(_components.p,{children:[`Pause temporariamente as cobranças de uma assinatura. O cliente pode manter ou perder acesso durante a pausa, dependendo da sua implementação. Use o endpoint de `,_jsx(_components.a,{href:`/api-reference/assinaturas/retomar`,children:`retomar`}),` para reativar as cobranças.`]}),`\n`,_jsx(Heading,{level:`2`,id:`exemplo-de-requisição`,children:`Exemplo de Requisição`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,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://garu.com.br/api/subscriptions/100/pause`}),_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 sk_test_sua_chave\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`13`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://garu.com.br/api/subscriptions/100/pause'`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`GARU_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Status: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// \"paused\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Pausada em: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pausedAt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`12`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`url `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://garu.com.br/api/subscriptions/100/pause\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'GARU_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(url, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Status: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'status'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"paused\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pausada em: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'pausedAt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`resultado`,children:`Resultado`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Status muda para `,_jsx(_components.code,{children:`paused`})]}),`\n`,_jsx(_components.li,{children:`Cobranças são suspensas`}),`\n`,_jsx(_components.li,{children:`Nenhum pagamento será tentado enquanto pausada`}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.a,{href:`/api-reference/assinaturas/retomar`,children:`retomar`}),` para reativar`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`resposta-de-sucesso-200-ok`,children:`Resposta de Sucesso (200 OK)`}),`\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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"paused\"`}),_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:` \"pausedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-20T10:00:00.000Z\"`}),_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:`\"Assinatura pausada com sucesso\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`considerações`,children:`Considerações`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Acesso durante a pausa`}),`: A decisão de manter ou revogar o acesso do cliente durante a pausa é da sua aplicação. A Garu apenas suspende as cobranças.`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Assinaturas pausadas por muito tempo podem precisar de atualização do método de pagamento ao serem retomadas.`})}),`\n`,_jsx(Heading,{level:`2`,id:`erros-comuns`,children:`Erros Comuns`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`404 - Assinatura não encontrada`,id:`404-assinatura-nao-encontrada`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`404`}),_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 not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solução:`}),` Verifique se o ID da assinatura está correto.`]})]}),_jsxs(Accordion,{title:`400 - Assinatura não pode ser pausada`,id:`400-assinatura-nao-pode-ser-pausada`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_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:`\"Cannot pause subscription with current status\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solução:`}),` Apenas assinaturas ativas podem ser pausadas.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`próximos-passos`,children:`Próximos Passos`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Retomar Assinatura`,icon:`play`,href:`/api-reference/assinaturas/retomar`,children:_jsx(_components.p,{children:`Reative as cobranças de uma assinatura pausada`})}),_jsx(Card,{title:`Cancelar Assinatura`,icon:`xmark`,href:`/api-reference/assinaturas/cancelar`,children:_jsx(_components.p,{children:`Cancele definitivamente uma assinatura`})})]})]})}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":"Pausar Assinatura","description":"Pause temporariamente as cobranças de uma assinatura","api":"POST /api/subscriptions/{id}/pause","href":"/api-reference/assinaturas/pausar"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Visão Geral","slug":"visão-geral","depth":2,"children":[]},{"title":"Exemplo de Requisição","slug":"exemplo-de-requisição","depth":2,"children":[]},{"title":"Resultado","slug":"resultado","depth":2,"children":[]},{"title":"Resposta de Sucesso (200 OK)","slug":"resposta-de-sucesso-200-ok","depth":2,"children":[]},{"title":"Considerações","slug":"considerações","depth":2,"children":[]},{"title":"Erros Comuns","slug":"erros-comuns","depth":2,"children":[]},{"title":"Próximos Passos","slug":"próximos-passos","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Pausar Assinatura","path":"/api/subscriptions/{id}/pause","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"garu","siteName":"Garu","title":"Pausar Assinatura - Garu","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-24T15:47:32.142Z","originalFileLocation":"api-reference/assinaturas/pausar.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=\"Pause temporariamente as cobranças de uma assinatura\">\u003cmeta data-mint-head name=\"application-name\" content=\"Garu\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_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/garu/ITGxpj5UQhT-Vt8F/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pausar Assinatura - Garu\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pause temporariamente as cobranças de uma assinatura\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Garu\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.garu.com.br/api-reference/assinaturas/pausar\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://garu.mintlify.site/_mintlify/api/og/v2?division=Assinaturas\u0026amp;title=Pausar+Assinatura\u0026amp;description=Pause+temporariamente+as+cobran%C3%A7as+de+uma+assinatura\u0026amp;theme=284dae2754295f04476f1dce\u0026amp;signature=30eff6652abe00b33e7d0d5882b0c4df2e96cf39e1a9e5e3b42e2267567ca150\">\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=\"Pausar Assinatura - Garu\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pause temporariamente as cobranças de uma assinatura\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://garu.mintlify.site/_mintlify/api/og/v2?division=Assinaturas\u0026amp;title=Pausar+Assinatura\u0026amp;description=Pause+temporariamente+as+cobran%C3%A7as+de+uma+assinatura\u0026amp;theme=284dae2754295f04476f1dce\u0026amp;signature=30eff6652abe00b33e7d0d5882b0c4df2e96cf39e1a9e5e3b42e2267567ca150\">\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/garu/ITGxpj5UQhT-Vt8F/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Garu\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#257264\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.garu.com.br/api-reference/assinaturas/pausar\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/assinaturas/pausar.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.garu.com.br/#organization\",\"name\":\"Garu\",\"url\":\"https://docs.garu.com.br\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/garu/g-shOvMOEbJZqokd/logo/light.svg?fit=max\u0026auto=format\u0026n=g-shOvMOEbJZqokd\u0026q=85\u0026s=b6c0de2b9b2378205ccf76d131a91a69\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.garu.com.br#website\",\"name\":\"Garu\",\"url\":\"https://docs.garu.com.br\",\"publisher\":{\"@id\":\"https://docs.garu.com.br/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar#webpage\",\"url\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar\",\"name\":\"Pausar Assinatura\",\"description\":\"Pause temporariamente as cobranças de uma assinatura\",\"dateModified\":\"2025-12-24T15:47:32.142Z\",\"isPartOf\":{\"@id\":\"https://docs.garu.com.br#website\"},\"breadcrumb\":{\"@id\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assinaturas\",\"item\":\"https://docs.garu.com.br/api-reference/assinaturas/listar\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pausar Assinatura\",\"item\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar#apireference\",\"headline\":\"Pausar Assinatura\",\"name\":\"Pausar Assinatura\",\"description\":\"Pause temporariamente as cobranças de uma assinatura\",\"url\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar\",\"mainEntityOfPage\":{\"@id\":\"https://docs.garu.com.br/api-reference/assinaturas/pausar#webpage\"},\"dateModified\":\"2025-12-24T15:47:32.142Z\",\"publisher\":{\"@id\":\"https://docs.garu.com.br/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.garu.com.br#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Garu\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Garu\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/assinaturas/pausar.md","siteName":"Garu","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://garu.com.br/inicio"},{"anchor":"OpenAPI","icon":"code","href":"https://garu.com.br/api/openapi.json"}]},"tabs":[{"tab":"Guias","pages":[{"title":"Guias","href":""}]},{"tab":"Referência da API","groups":[{"group":"Primeiros Passos","pages":[{"title":"Introdução","href":"/api-reference/introduction"},{"title":"Autenticação","href":"/api-reference/autenticacao"}]},{"group":"Produtos","pages":[{"title":"Criar Produto","api":"POST /api/v1/products","href":"/api-reference/produtos/criar"},{"title":"Link de Pagamento","href":"/api-reference/produtos/link-pagamento"},{"title":"Listar Produtos","api":"GET /api/v1/products","href":"/api-reference/produtos/listar"},{"title":"Atualizar Produto","api":"PATCH /api/v1/products/{uuid}","href":"/api-reference/produtos/atualizar"},{"title":"Excluir Produto","api":"DELETE /api/v1/products/{uuid}","href":"/api-reference/produtos/excluir"},{"title":"Portal customizado por produto (B2B2C)","href":"/api-reference/produtos/portal-config"}]},{"group":"Checkout Sessions","pages":[{"title":"Criar Checkout Session","api":"POST /api/checkout/sessions","href":"/api-reference/checkout/criar"},{"title":"Listar Checkout Sessions","api":"GET /api/checkout/sessions","href":"/api-reference/checkout/listar"},{"title":"Detalhes da Checkout Session","api":"GET /api/checkout/sessions/{id}","href":"/api-reference/checkout/detalhes"},{"title":"Expirar Checkout Session","api":"POST /api/checkout/sessions/{id}/expire","href":"/api-reference/checkout/expirar"}]},{"group":"Cobranças","pages":[{"title":"Criar Cobrança","api":"POST /api/v1/charges","href":"/api-reference/cobrancas/criar"},{"title":"Consultar Cobrança","api":"GET /api/v1/charges/{uuid}","href":"/api-reference/cobrancas/detalhes"},{"title":"Listar Cobranças","api":"GET /api/v1/charges","href":"/api-reference/cobrancas/listar"},{"title":"Estornar Cobrança","api":"POST /api/v1/charges/{uuid}/refund","href":"/api-reference/cobrancas/reembolsar"},{"title":"Cancelar Cobrança","api":"DELETE /api/v1/charges/{uuid}","href":"/api-reference/cobrancas/cancelar"}]},{"group":"Clientes","pages":[{"title":"Registrar Cliente","api":"POST /api/v1/customers","href":"/api-reference/clientes/criar"},{"title":"Listar Clientes","api":"GET /api/v1/customers","href":"/api-reference/clientes/listar"},{"title":"Consultar Cliente","api":"GET /api/v1/customers/{uuid}","href":"/api-reference/clientes/detalhes"},{"title":"Atualizar Cliente","api":"PATCH /api/v1/customers/{uuid}","href":"/api-reference/clientes/atualizar"},{"title":"Definir E-mail de Cobrança","api":"PATCH /api/v1/customers/{uuid}/billing-email-override","href":"/api-reference/clientes/definir-email-cobranca"},{"title":"Remover Cliente","api":"DELETE /api/v1/customers/{uuid}","href":"/api-reference/clientes/excluir"}]},{"group":"Transações","pages":[{"title":"Listar Transações","api":"GET /api/transactions","href":"/api-reference/transacoes/listar"},{"title":"Detalhes da Transação","api":"GET /api/transactions/{id}","href":"/api-reference/transacoes/detalhes"},{"title":"Consultar Status","api":"GET /api/transactions/status/{galaxPayId}","href":"/api-reference/transacoes/status"},{"title":"Reembolsar Transação","api":"POST /api/transactions/{id}/refund","href":"/api-reference/transacoes/reembolsar"},{"title":"Cancelar Transação","api":"DELETE /api/transactions/{id}","href":"/api-reference/transacoes/cancelar"}]},{"group":"Preços de Assinatura","pages":[{"title":"Criar Preço de Assinatura","api":"POST /api/subscription-prices","href":"/api-reference/assinaturas/precos/criar"},{"title":"Listar Preços de Assinatura","api":"GET /api/subscription-prices","href":"/api-reference/assinaturas/precos/listar"},{"title":"Detalhes do Preço","api":"GET /api/subscription-prices/{id}","href":"/api-reference/assinaturas/precos/detalhes"},{"title":"Atualizar Preço de Assinatura","api":"PATCH /api/subscription-prices/{id}","href":"/api-reference/assinaturas/precos/atualizar"},{"title":"Excluir Preço de Assinatura","api":"DELETE /api/subscription-prices/{id}","href":"/api-reference/assinaturas/precos/excluir"}]},{"group":"Assinaturas","pages":[{"title":"Listar Assinaturas","api":"GET /api/subscriptions","href":"/api-reference/assinaturas/listar"},{"title":"Detalhes da Assinatura","api":"GET /api/subscriptions/{id}","href":"/api-reference/assinaturas/detalhes"},{"title":"Cancelar Assinatura","description":"Cancele uma assinatura imediatamente ou ao fim do período","api":"POST /api/subscriptions/{id}/cancel","href":"/api-reference/assinaturas/cancelar"},{"title":"Pausar Assinatura","api":"POST /api/subscriptions/{id}/pause","href":"/api-reference/assinaturas/pausar"},{"title":"Retomar Assinatura","description":"Retome uma assinatura pausada e reative as cobranças","api":"POST /api/subscriptions/{id}/resume","href":"/api-reference/assinaturas/retomar"},{"title":"Eventos da Assinatura","api":"GET /api/subscriptions/{id}/events","href":"/api-reference/assinaturas/eventos"},{"title":"Portal do Cliente","api":"POST /api/portal/sessions","href":"/api-reference/assinaturas/portal"}]},{"group":"Cobranças Agendadas","pages":[{"title":"Criar Cobrança Agendada","api":"POST /api/v1/scheduled-charges","href":"/api-reference/cobrancas-agendadas/criar"},{"title":"Listar Cobranças Agendadas","api":"GET /api/v1/scheduled-charges","href":"/api-reference/cobrancas-agendadas/listar"},{"title":"Detalhes da Cobrança Agendada","api":"GET /api/v1/scheduled-charges/{id}","href":"/api-reference/cobrancas-agendadas/detalhes"},{"title":"Cobrar Agora","api":"POST /api/v1/scheduled-charges/{id}/charge-now","href":"/api-reference/cobrancas-agendadas/cobrar-agora"},{"title":"Adiar Cobrança","api":"POST /api/v1/scheduled-charges/{id}/postpone","href":"/api-reference/cobrancas-agendadas/adiar"},{"title":"Pausar Cobrança","api":"POST /api/v1/scheduled-charges/{id}/pause","href":"/api-reference/cobrancas-agendadas/pausar"},{"title":"Retomar Cobrança","api":"POST /api/v1/scheduled-charges/{id}/resume","href":"/api-reference/cobrancas-agendadas/retomar"},{"title":"Marcar como Paga","api":"POST /api/v1/scheduled-charges/{id}/mark-paid","href":"/api-reference/cobrancas-agendadas/marcar-como-paga"},{"title":"Listar tentativas de cobrança","api":"GET /api/v1/scheduled-charges/{id}/attempts","href":"/api-reference/cobrancas-agendadas/tentativas"}]},{"group":"Boleto Parcelado (Carnê)","pages":[{"title":"Criar Carnê","api":"POST /api/v1/installment-plans","href":"/api-reference/carne/criar"},{"title":"Listar Carnês","api":"GET /api/v1/installment-plans","href":"/api-reference/carne/listar"},{"title":"Detalhes do Carnê","api":"GET /api/v1/installment-plans/{uuid}","href":"/api-reference/carne/detalhes"},{"title":"Segunda Via de Parcela","api":"POST /api/v1/installment-plans/{uuid}/installments/{number}/reissue","href":"/api-reference/carne/segunda-via"},{"title":"Adiar Parcela","api":"POST /api/v1/installment-plans/{uuid}/installments/{number}/postpone","href":"/api-reference/carne/adiar"},{"title":"Marcar Parcela como Paga","api":"POST /api/v1/installment-plans/{uuid}/installments/{number}/mark-paid","href":"/api-reference/carne/marcar-como-paga"},{"title":"Cancelar Carnê","api":"POST /api/v1/installment-plans/{uuid}/cancel","href":"/api-reference/carne/cancelar"},{"title":"Solicitar Estorno de Carnê","api":"POST /api/v1/installment-plans/{uuid}/refund-requests","href":"/api-reference/carne/solicitar-estorno"}]},{"group":"Pedidos de Estorno","pages":[{"title":"Listar Pedidos de Estorno","api":"GET /api/v1/refund-requests","href":"/api-reference/estornos/listar"},{"title":"Detalhes do Pedido de Estorno","api":"GET /api/v1/refund-requests/{uuid}","href":"/api-reference/estornos/detalhes"},{"title":"Confirmar Estorno","api":"POST /api/v1/refund-requests/{uuid}/confirm","href":"/api-reference/estornos/confirmar"},{"title":"Rejeitar Estorno","api":"POST /api/v1/refund-requests/{uuid}/reject","href":"/api-reference/estornos/rejeitar"}]},{"group":"Portal do Cliente","pages":[{"title":"Solicitar Link Mágico","api":"POST /api/public/minha-area/request","href":"/api-reference/portal-do-cliente/solicitar-link"},{"title":"Listar Cobranças do Cliente","api":"GET /api/public/minha-area/charges","href":"/api-reference/portal-do-cliente/listar-cobrancas"},{"title":"Atualizar E-mail de Cobrança","api":"PATCH /api/public/minha-area/profile","href":"/api-reference/portal-do-cliente/atualizar-email"}]},{"group":"Configuração da Conta","pages":[{"title":"Consultar Taxas Negociadas","api":"GET /api/seller-config/me","href":"/api-reference/seller-config/taxas"}]},{"group":"Webhooks e Exemplos","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"Códigos de falha","href":"/api-reference/webhooks/codigos-de-falha"},{"title":"Disparar webhook manualmente","api":"POST /api/webhook-endpoints/{id}/trigger","href":"/api-reference/webhooks/disparar-manualmente"},{"title":"Listar Eventos de Webhook","api":"GET /api/v1/webhook-events","href":"/api-reference/webhooks/eventos/listar"},{"title":"Detalhes do Evento de Webhook","api":"GET /api/v1/webhook-events/{uuid}","href":"/api-reference/webhooks/eventos/detalhes"},{"title":"Reenviar (clonando) Evento de Webhook","api":"POST /api/v1/webhook-events/{uuid}/resend","href":"/api-reference/webhooks/eventos/resend"},{"title":"Reenviar Evento de Webhook","api":"POST /api/v1/webhook-events/{uuid}/retry","href":"/api-reference/webhooks/eventos/reenviar"},{"title":"Exemplos de Código","href":"/api-reference/exemplos"}]},{"group":"Suporte","pages":[{"title":"Solução de Problemas","href":"/api-reference/troubleshooting"}]}]}]},"basePath":"","title":"Pausar Assinatura - Garu","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}