{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Upay Gateway API","colors":{"primary":"#9747FF","light":"#A78BFA","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/upayltda/T5HX5GY5uXX2lZeM/logo/light.png?fit=max\u0026auto=format\u0026n=T5HX5GY5uXX2lZeM\u0026q=85\u0026s=8ffdc8c1eb32a44080e0b8b936694ab2","dark":"https://mintcdn.com/upayltda/T5HX5GY5uXX2lZeM/logo/dark.png?fit=max\u0026auto=format\u0026n=T5HX5GY5uXX2lZeM\u0026q=85\u0026s=7e62beef814a5e762974ae7eda4107bf"},"favicon":"https://mintcdn.com/upayltda/T5HX5GY5uXX2lZeM/favicon.ico?fit=max\u0026auto=format\u0026n=T5HX5GY5uXX2lZeM\u0026q=85\u0026s=e4ae1785485514cb2256facdcce51673","navbar":{"links":[{"href":"/llms.txt","label":"llms.txt"},{"href":"mailto:suporte@upay.com.br","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.upaybr.com"}},"footer":{"socials":{"github":"https://github.com/anthonymengottii/upay_sistema"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"upayltda","hasAudioNarration":false,"actualSubdomain":"upayltda","customDomains":["docs.upaybr.com"],"gitSource":{"type":"github","owner":"anthonymengottii","repo":"documentation_upay","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9447506335a12e04edf26:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":69},{"language":"default","tag":"Documentação","count":56},{"language":"default","tag":"Afiliados","count":20},{"language":"default","tag":"Assinaturas","count":14},{"language":"default","tag":"Webhooks","count":13},{"language":"default","tag":"Comece Aqui","count":12},{"language":"default","tag":"Saques","count":12},{"language":"default","tag":"Produtos","count":11},{"language":"default","tag":"SDKs","count":10},{"language":"default","tag":"Links de Pagamento","count":9}]},"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":[{"filePath":"custom.css","content":"::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}html[data-theme=\"dark\"] ::-webkit-scrollbar,.dark ::-webkit-scrollbar,[data-theme=\"dark\"] ::-webkit-scrollbar{width:10px;height:10px}html[data-theme=\"dark\"] ::-webkit-scrollbar-track,.dark ::-webkit-scrollbar-track,[data-theme=\"dark\"] ::-webkit-scrollbar-track{background:#1e1b24}html[data-theme=\"dark\"] ::-webkit-scrollbar-thumb,.dark ::-webkit-scrollbar-thumb,[data-theme=\"dark\"] ::-webkit-scrollbar-thumb{background:#5B21B6;border-radius:5px}html[data-theme=\"dark\"] ::-webkit-scrollbar-thumb:hover,.dark ::-webkit-scrollbar-thumb:hover,[data-theme=\"dark\"] ::-webkit-scrollbar-thumb:hover{background:#9747FF}*{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}html[data-theme=\"dark\"] *,.dark *,[data-theme=\"dark\"] *{scrollbar-width:thin;scrollbar-color:#5B21B6 #1e1b24}"}],"page":{"pagePath":"api-reference/links-de-pagamento/atualizar-link-de-pagamento","slug":"/api-reference/links-de-pagamento/atualizar-link-de-pagamento","pageMetadata":{"title":"Atualizar link de pagamento","description":"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/payment-links/{id}","href":"/api-reference/links-de-pagamento/atualizar-link-de-pagamento","autogeneratedByOpenApi":true},"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: \"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Atualizar link de pagamento","description":"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/payment-links/{id}","href":"/api-reference/links-de-pagamento/atualizar-link-de-pagamento","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Links de Pagamento"],"summary":"Atualizar link de pagamento","description":"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).","security":["b691471b-4ccb-43fb-a93f-7b25187619fd"],"parameters":["ba0b31a7-195b-423c-8fa2-2ac4fa70649e"],"requestBody":"d052fe73-03c9-4bb8-a275-0bd63e3605f0","responses":{"200":"ae09e0d4-4fa4-4b41-b0d3-e1b3b7c339a0","400":"f76155a9-0d2a-44ed-957a-427a3f600edb","401":"fa2ff35f-dff5-4bb4-a8b7-a19d230ad117","404":"8adae4bc-79e7-4729-aace-5e2938374236"},"method":"patch","type":"path","servers":["81df81df-5405-4c8e-b7cd-eda4100b0e63"],"path":"/api/v1/payment-links/{id}","baseUrlOptions":["https://upay-sistema-api.onrender.com"],"title":"Atualizar link de pagamento","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ba0b31a7-195b-423c-8fa2-2ac4fa70649e":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","maxLength":1000,"uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"amountCents":{"type":"integer","minimum":1,"description":"Valor fixo em centavos (opcional se products for fornecido)","uniqueKey":"amountCents","typeLabel":"integer"},"currency":{"type":"string","uniqueKey":"currency","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time> | null"},"redirectUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"redirectUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"redirectUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redirectUrl","typeLabel":"string\u003curi> | null"},"productDescription":{"oneOf":[{"type":"string","maxLength":1000,"uniqueKey":"productDescription.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"uniqueKey":"productDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"productDescription","typeLabel":"string | null"},"settings":{"type":"object","properties":{"pixEnabled":{"type":"boolean","uniqueKey":"settings.pixEnabled","typeLabel":"boolean"},"boletoEnabled":{"type":"boolean","uniqueKey":"settings.boletoEnabled","typeLabel":"boolean"},"creditCardEnabled":{"type":"boolean","uniqueKey":"settings.creditCardEnabled","typeLabel":"boolean"},"maxInstallments":{"type":"integer","minimum":1,"maximum":12,"uniqueKey":"settings.maxInstallments","typeLabel":"integer"},"interestFreeInstallments":{"type":"integer","minimum":0,"uniqueKey":"settings.interestFreeInstallments","typeLabel":"integer"},"interestRate":{"type":"number","uniqueKey":"settings.interestRate","typeLabel":"number"},"requirePhone":{"type":"boolean","uniqueKey":"settings.requirePhone","typeLabel":"boolean"},"requireAddress":{"type":"boolean","uniqueKey":"settings.requireAddress","typeLabel":"boolean"}},"uniqueKey":"settings","typeLabel":"object"},"products":{"type":"array","description":"Lista de produtos associados ao link (opcional se amountCents for fornecido)","items":{"type":"object","required":["productId","quantity"],"properties":{"productId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"products.items.[INDEX].productId","typeLabel":"string\u003cuuid>"},"quantity":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"products.items.[INDEX].quantity","typeLabel":"integer"}},"uniqueKey":"products.items.[INDEX]","typeLabel":"object"},"uniqueKey":"products","typeLabel":"object[]"},"stockQuantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"stockQuantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"stockQuantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"stockQuantity","typeLabel":"integer | null"},"stockEnabled":{"type":"boolean","uniqueKey":"stockEnabled","typeLabel":"boolean"},"metaPixelCode":{"oneOf":[{"type":"string","description":"Código do Meta Pixel para rastreamento","uniqueKey":"metaPixelCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Código do Meta Pixel para rastreamento","uniqueKey":"metaPixelCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"metaPixelCode","typeLabel":"string | null"}},"description":"É necessário fornecer pelo menos amountCents OU products (ou ambos)","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","description":"\u003cstring>","amountCents":2,"currency":"\u003cstring>","expiresAt":"2023-11-07T05:31:56Z","redirectUrl":"\u003cstring>","productDescription":"\u003cstring>","settings":{"pixEnabled":true,"boletoEnabled":true,"creditCardEnabled":true,"maxInstallments":6,"interestFreeInstallments":1,"interestRate":123,"requirePhone":true,"requireAddress":true},"products":[{"productId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","quantity":2}],"stockQuantity":1,"stockEnabled":true,"metaPixelCode":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ae09e0d4-4fa4-4b41-b0d3-e1b3b7c339a0":{"description":"Link de pagamento atualizado com sucesso","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"paymentLink":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"paymentLink.id","typeLabel":"string\u003cuuid>"},"slug":{"type":"string","uniqueKey":"paymentLink.slug","typeLabel":"string"},"title":{"type":"string","uniqueKey":"paymentLink.title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"paymentLink.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"paymentLink.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.description","typeLabel":"string | null"},"amount":{"oneOf":[{"type":"integer","description":"Valor em centavos (null se usar products)","uniqueKey":"paymentLink.amount.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Valor em centavos (null se usar products)","uniqueKey":"paymentLink.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.amount","typeLabel":"integer | null"},"currency":{"type":"string","default":"BRL","uniqueKey":"paymentLink.currency","typeLabel":"string"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"],"uniqueKey":"paymentLink.status","typeLabel":"enum\u003cstring>"},"expiresAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"paymentLink.expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"paymentLink.expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.expiresAt","typeLabel":"string\u003cdate-time> | null"},"redirectUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"paymentLink.redirectUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"paymentLink.redirectUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.redirectUrl","typeLabel":"string\u003curi> | null"},"settings":{"oneOf":[{"type":"object","uniqueKey":"paymentLink.settings.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"paymentLink.settings.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.settings","typeLabel":"object | null"},"salesCount":{"type":"integer","default":0,"uniqueKey":"paymentLink.salesCount","typeLabel":"integer"},"timesUsed":{"type":"integer","default":0,"uniqueKey":"paymentLink.timesUsed","typeLabel":"integer"},"metaPixelCode":{"oneOf":[{"type":"string","description":"Código do Meta Pixel para rastreamento","uniqueKey":"paymentLink.metaPixelCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Código do Meta Pixel para rastreamento","uniqueKey":"paymentLink.metaPixelCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"paymentLink.metaPixelCode","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"paymentLink.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"paymentLink.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"paymentLink","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","paymentLink":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","slug":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","amount":123,"currency":"BRL","status":"ACTIVE","expiresAt":"2023-11-07T05:31:56Z","redirectUrl":"\u003cstring>","settings":{},"salesCount":0,"timesUsed":0,"metaPixelCode":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f76155a9-0d2a-44ed-957a-427a3f600edb":{"description":"Requisição inválida","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"path":{"type":"string","uniqueKey":"path","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z","path":"\u003cstring>","errors":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"fa2ff35f-dff5-4bb4-a8b7-a19d230ad117":{"description":"Não autorizado - API Key inválida ou ausente","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8adae4bc-79e7-4729-aace-5e2938374236":{"description":"Recurso não encontrado","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b691471b-4ccb-43fb-a93f-7b25187619fd":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"API-Key","description":"Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer \u003capi_key>","scopes":[]}}},"servers":{"81df81df-5405-4c8e-b7cd-eda4100b0e63":{"url":"https://upay-sistema-api.onrender.com","description":"Produção"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"API-Key","description":"Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer \u003capi_key>","scopes":[]},"schema":{"title":"API-Key","type":"string","description":"Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer \u003capi_key>","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"API-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"upayltda","siteName":"Upay Gateway API","title":"Atualizar link de pagamento - Upay Gateway API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-26T06:28:41.346Z","originalFileLocation":"api-reference/links-de-pagamento/atualizar-link-de-pagamento.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=\"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Upay Gateway API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_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/upayltda/hTvrozCyst-c74ys/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Atualizar link de pagamento - Upay Gateway API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Upay Gateway API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://upayltda.mintlify.site/_mintlify/api/og/v2?division=Links+de+Pagamento\u0026amp;title=Atualizar+link+de+pagamento\u0026amp;description=Atualiza+um+link+de+pagamento+existente.+%C3%89+necess%C3%A1rio+fornecer+pelo+menos+amountCents+OU+products+%28ou+ambos%29.\u0026amp;theme=bf8ddb6409cb00b879af8b75\u0026amp;signature=56d59f354d2292975866cc1c4c1d290919ee86cb0d9aee47b374b10ed471efc8\">\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=\"Atualizar link de pagamento - Upay Gateway API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://upayltda.mintlify.site/_mintlify/api/og/v2?division=Links+de+Pagamento\u0026amp;title=Atualizar+link+de+pagamento\u0026amp;description=Atualiza+um+link+de+pagamento+existente.+%C3%89+necess%C3%A1rio+fornecer+pelo+menos+amountCents+OU+products+%28ou+ambos%29.\u0026amp;theme=bf8ddb6409cb00b879af8b75\u0026amp;signature=56d59f354d2292975866cc1c4c1d290919ee86cb0d9aee47b374b10ed471efc8\">\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/upayltda/hTvrozCyst-c74ys/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Upay Gateway API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9747FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/links-de-pagamento/atualizar-link-de-pagamento.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.upaybr.com/#organization\",\"name\":\"Upay Gateway API\",\"url\":\"https://docs.upaybr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/upayltda/T5HX5GY5uXX2lZeM/logo/light.png?fit=max\u0026auto=format\u0026n=T5HX5GY5uXX2lZeM\u0026q=85\u0026s=8ffdc8c1eb32a44080e0b8b936694ab2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.upaybr.com#website\",\"name\":\"Upay Gateway API\",\"url\":\"https://docs.upaybr.com\",\"publisher\":{\"@id\":\"https://docs.upaybr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento#webpage\",\"url\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento\",\"name\":\"Atualizar link de pagamento\",\"description\":\"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\",\"dateModified\":\"2026-05-26T06:28:41.346Z\",\"isPartOf\":{\"@id\":\"https://docs.upaybr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Links de Pagamento\",\"item\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/listar-links-de-pagamento\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atualizar link de pagamento\",\"item\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento#apireference\",\"headline\":\"Atualizar link de pagamento\",\"name\":\"Atualizar link de pagamento\",\"description\":\"Atualiza um link de pagamento existente. É necessário fornecer pelo menos amountCents OU products (ou ambos).\",\"url\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento\",\"mainEntityOfPage\":{\"@id\":\"https://docs.upaybr.com/api-reference/links-de-pagamento/atualizar-link-de-pagamento#webpage\"},\"dateModified\":\"2026-05-26T06:28:41.346Z\",\"publisher\":{\"@id\":\"https://docs.upaybr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.upaybr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Upay Gateway API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Upay Gateway API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/links-de-pagamento/atualizar-link-de-pagamento.md","siteName":"Upay Gateway API","nav":{"global":null,"tabs":[{"tab":"Bem-Vindo","pages":[{"title":"Bem-Vindo","href":"/pages/introduction"}]},{"tab":"Comece Aqui","pages":[{"title":"Comece Aqui","href":"/pages/quickstart"}]},{"tab":"Documentação","pages":[{"title":"Documentação","href":"/pages/payment-links/reference"}]},{"tab":"Endpoints","groups":[{"group":"Transações","pages":[{"title":"Listar transações","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/transactions","href":"/api-reference/transações/listar-transações"},{"title":"Criar transação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/transactions","href":"/api-reference/transações/criar-transação"},{"title":"Obter transação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/transactions/{id}","href":"/api-reference/transações/obter-transação"}]},{"group":"Links de Pagamento","pages":[{"title":"Listar links de pagamento","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/payment-links","href":"/api-reference/links-de-pagamento/listar-links-de-pagamento"},{"title":"Criar link de pagamento","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/payment-links","href":"/api-reference/links-de-pagamento/criar-link-de-pagamento"},{"title":"Obter link de pagamento","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/payment-links/{id}","href":"/api-reference/links-de-pagamento/obter-link-de-pagamento"},{"title":"Deletar link de pagamento","description":"Remove um link de pagamento permanentemente","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/payment-links/{id}","href":"/api-reference/links-de-pagamento/deletar-link-de-pagamento"},{"title":"Atualizar link de pagamento","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/payment-links/{id}","href":"/api-reference/links-de-pagamento/atualizar-link-de-pagamento"},{"title":"Obter link público","description":"Obtém detalhes de um link de pagamento para exibição no checkout (sem necessidade de autenticação)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/payment-links/public/slug/{slug}","href":"/api-reference/links-de-pagamento/obter-link-público"},{"title":"Criar checkout completo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/payment-links/public/slug/{slug}/checkout","href":"/api-reference/links-de-pagamento/criar-checkout-completo"},{"title":"Iniciar checkout (público)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/payment-links/public/slug/{slug}/start","href":"/api-reference/links-de-pagamento/iniciar-checkout-público"},{"title":"Registrar abandono de carrinho","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/payment-links/public/slug/{slug}/cart-abandonment","href":"/api-reference/links-de-pagamento/registrar-abandono-de-carrinho"}]},{"group":"Produtos","pages":[{"title":"Listar produtos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products","href":"/api-reference/produtos/listar-produtos"},{"title":"Criar produto","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/products","href":"/api-reference/produtos/criar-produto"},{"title":"Obter produto","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{id}","href":"/api-reference/produtos/obter-produto"},{"title":"Deletar produto","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/products/{id}","href":"/api-reference/produtos/deletar-produto"},{"title":"Atualizar produto","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/products/{id}","href":"/api-reference/produtos/atualizar-produto"}]},{"group":"Cupons","pages":[{"title":"Listar cupons","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/coupons","href":"/api-reference/cupons/listar-cupons"},{"title":"Criar cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/coupons","href":"/api-reference/cupons/criar-cupom"},{"title":"Validar cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/coupons/validate","href":"/api-reference/cupons/validar-cupom"},{"title":"Obter cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/coupons/{id}","href":"/api-reference/cupons/obter-cupom"},{"title":"Deletar cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/coupons/{id}","href":"/api-reference/cupons/deletar-cupom"},{"title":"Atualizar cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/coupons/{id}","href":"/api-reference/cupons/atualizar-cupom"},{"title":"Validar cupom","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/coupons/validate","href":"/api-reference/cupons/validar-cupom-1"}]},{"group":"Saldo","pages":[{"title":"Obter saldo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/balance","href":"/api-reference/saldo/obter-saldo"}]},{"group":"Clientes","pages":[{"title":"Listar clientes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/clients","href":"/api-reference/clientes/listar-clientes"},{"title":"Criar cliente","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/clients","href":"/api-reference/clientes/criar-cliente"},{"title":"Obter cliente","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/clients/{id}","href":"/api-reference/clientes/obter-cliente"},{"title":"Deletar cliente","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/clients/{id}","href":"/api-reference/clientes/deletar-cliente"}]},{"group":"Webhooks","pages":[{"title":"Obter informações de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/webhooks","href":"/api-reference/webhooks/obter-informações-de-webhook"},{"title":"Listar assinaturas de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/webhooks/subscriptions","href":"/api-reference/webhooks/listar-assinaturas-de-webhook"},{"title":"Criar assinatura de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/webhooks/subscriptions","href":"/api-reference/webhooks/criar-assinatura-de-webhook"},{"title":"Atualizar assinatura de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/webhooks/subscriptions/{id}","href":"/api-reference/webhooks/atualizar-assinatura-de-webhook"},{"title":"Deletar assinatura de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/webhooks/subscriptions/{id}","href":"/api-reference/webhooks/deletar-assinatura-de-webhook"},{"title":"Listar eventos de webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/webhooks/events","href":"/api-reference/webhooks/listar-eventos-de-webhook"}]},{"group":"Taxas","pages":[{"title":"Consultar taxa","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/user/fees","href":"/api-reference/taxas/consultar-taxa"}]},{"group":"Saques","pages":[{"title":"Listar Saques","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/withdraws","href":"/api-reference/saques/listar-saques"},{"title":"Criar Saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/withdraws","href":"/api-reference/saques/criar-saque"},{"title":"Obter Saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/withdraws/{id}","href":"/api-reference/saques/obter-saque"},{"title":"Obter saldo disponível para saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/withdraws/balance","href":"/api-reference/saques/obter-saldo-disponível-para-saque"},{"title":"Listar provedores de saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/withdraws/providers","href":"/api-reference/saques/listar-provedores-de-saque"},{"title":"Listar métodos de saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/withdraws/methods","href":"/api-reference/saques/listar-métodos-de-saque"},{"title":"Processar saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/withdraws/{id}/process","href":"/api-reference/saques/processar-saque"},{"title":"Cancelar saque","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/withdraws/{id}/cancel","href":"/api-reference/saques/cancelar-saque"}]},{"group":"Afiliados","pages":[{"title":"Listar marketplace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/marketplace","href":"/api-reference/afiliados/listar-marketplace"},{"title":"Solicitar afiliação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/affiliate/join/{programId}","href":"/api-reference/afiliados/solicitar-afiliação"},{"title":"Meus links de afiliado","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/links","href":"/api-reference/afiliados/meus-links-de-afiliado"},{"title":"Minhas comissões","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/commissions","href":"/api-reference/afiliados/minhas-comissões"},{"title":"Minhas estatísticas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/stats","href":"/api-reference/afiliados/minhas-estatísticas"},{"title":"Listar meus programas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/programs","href":"/api-reference/afiliados/listar-meus-programas"},{"title":"Criar programa de afiliados","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/affiliate/programs","href":"/api-reference/afiliados/criar-programa-de-afiliados"},{"title":"Remover programa","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/affiliate/programs/{id}","href":"/api-reference/afiliados/remover-programa"},{"title":"Atualizar programa","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/affiliate/programs/{id}","href":"/api-reference/afiliados/atualizar-programa"},{"title":"Afiliados inscritos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/affiliate/programs/{id}/links","href":"/api-reference/afiliados/afiliados-inscritos"}]},{"group":"Assinaturas","pages":[{"title":"Listar planos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/subscriptions/plans","href":"/api-reference/assinaturas/listar-planos"},{"title":"Criar plano","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/subscriptions/plans","href":"/api-reference/assinaturas/criar-plano"},{"title":"Remover plano","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/subscriptions/plans/{id}","href":"/api-reference/assinaturas/remover-plano"},{"title":"Atualizar plano","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/subscriptions/plans/{id}","href":"/api-reference/assinaturas/atualizar-plano"},{"title":"Checkout de assinatura (público)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/subscriptions/checkout","href":"/api-reference/assinaturas/checkout-de-assinatura-público"},{"title":"Métricas de assinaturas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/subscriptions/metrics","href":"/api-reference/assinaturas/métricas-de-assinaturas"},{"title":"Detalhes do plano (público)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/subscriptions/public/{planId}","href":"/api-reference/assinaturas/detalhes-do-plano-público"},{"title":"Listar assinaturas do cliente (público)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/subscriptions/customer","href":"/api-reference/assinaturas/listar-assinaturas-do-cliente-público"},{"title":"Assinante cancela assinatura","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/subscriptions/customer/{id}/cancel","href":"/api-reference/assinaturas/assinante-cancela-assinatura"}]},{"group":"Antecipações","pages":[{"title":"Listar antecipações","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/advances","href":"/api-reference/antecipações/listar-antecipações"},{"title":"Solicitar antecipação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/advances","href":"/api-reference/antecipações/solicitar-antecipação"},{"title":"Obter antecipação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/advances/{id}","href":"/api-reference/antecipações/obter-antecipação"}]},{"group":"Indicações","pages":[{"title":"Obter código de indicação","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/referral/code","href":"/api-reference/indicações/obter-código-de-indicação"},{"title":"Estatísticas de indicações","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/referral/stats","href":"/api-reference/indicações/estatísticas-de-indicações"},{"title":"Histórico de indicações","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/referral/history","href":"/api-reference/indicações/histórico-de-indicações"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/pages/sdks"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/pages/changelog"}]}]},"basePath":"","title":"Atualizar link de pagamento - Upay Gateway API","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}