{"id":1334,"date":"2017-10-31T14:26:26","date_gmt":"2017-10-31T16:26:26","guid":{"rendered":"http:\/\/maxipago.com\/developers\/?page_id=1334"},"modified":"2025-01-10T11:06:06","modified_gmt":"2025-01-10T14:06:06","slug":"cancelar-recorrencia","status":"publish","type":"page","link":"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/","title":{"rendered":"Cancelar Recorr\u00eancia"},"content":{"rendered":"<p style=\"font-size: medium;\" align=\"justify\">Para cancelar uma recorr\u00eancia via API \u00e9 preciso enviar o comando cancel-recurring e o orderID retornado pela maxiPago! no momento da cria\u00e7\u00e3o do pedido.<\/p>\n<h3 style=\"color: #e06b08;\">Cancelando a Recorr\u00eancia \u2013 URLs Para Envio dos Dados<\/h3>\n<p align=\"justify; font-size: medium;\"><strong style=\"color: #878787;\">SANDBOX<\/strong>: https:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI<\/p>\n<p align=\"justify; font-size: medium;\"><strong style=\"color: #878787;\">PRODU\u00c7\u00c3O<\/strong>: https:\/\/api.maxipago.net\/UniversalAPI\/postAPI<\/p>\n<h3><\/h3>\n<h3 style=\"color: #e06b08;\">Cancelando a Recorr\u00eancia \u2013 Exemplo de Requisi\u00e7\u00e3o<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;api-request&gt;\n    &lt;verification&gt;\n        &lt;merchantId&gt;store-id&lt;\/merchantId&gt;\n        &lt;merchantKey&gt;store-key&lt;\/merchantKey&gt;\n    &lt;\/verification&gt;\n    &lt;command&gt;cancel-recurring&lt;\/command&gt;\n    &lt;request&gt;\n        &lt;orderID&gt;C0A86327:0151B6814FA1:50F7:50212C05&lt;\/orderID&gt;\n    &lt;\/request&gt;\n&lt;\/api-request&gt;<\/pre>\n<h3><\/h3>\n<h3 style=\"color: #e06b08;\">Cancelando a Recorr\u00eancia \u2013 Exemplo de Retorno em Caso de Sucesso<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;api-response&gt;\n    &lt;errorCode&gt;0&lt;\/errorCode&gt;\n    &lt;errorMessage&gt;&lt;\/errorMessage&gt;\n    &lt;command&gt;cancel-recurring&lt;\/command&gt;\n    &lt;time&gt;1509460190738&lt;\/time&gt;\n    &lt;result&gt;&lt;\/result&gt;\n&lt;\/api-response&gt;<\/pre>\n<pre class=\"lang:default decode:true \"><\/pre>\n<h3 style=\"color: #e06b08;\">Cancelando a Recorr\u00eancia \u2013 Exemplo de Retorno em de Erro<\/h3>\n<pre class=\"lang:default decode:true \"><\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?&gt;\n&lt;api-error&gt;\n    &lt;errorCode&gt;1&lt;\/errorCode&gt;\n    &lt;errorMsg&gt;\n        &lt;![CDATA[Invalid order id.]]&gt;\n    &lt;\/errorMsg&gt;\n    &lt;time&gt;1509460190738&lt;\/time&gt;\n&lt;\/api-error&gt;<\/pre>\n<h3 style=\"color: #e06b08;\">Cancelando a Recorr\u00eancia \u2013 Tabela de Par\u00e2metros<\/h3>\n<div id=\"footable_parent_4271\"\n         class=\" footable_parent ninja_table_wrapper loading_ninja_table wp_table_data_press_parent semantic_ui \">\n                <table data-ninja_table_instance=\"ninja_table_instance_0\" data-footable_id=\"4271\" data-filter-delay=\"1000\" aria-label=\"Cancelar Recorr\u00eancia\"            id=\"footable_4271\"\n           data-unique_identifier=\"ninja_table_unique_id_28939643_4271\"\n           class=\" foo-table ninja_footable foo_table_4271 ninja_table_unique_id_28939643_4271 ui table  nt_type_ajax_table selectable celled striped compact  footable-paging-right ninja_table_search_disabled\">\n                <colgroup>\n                            <col class=\"ninja_column_0 \">\n                            <col class=\"ninja_column_1 \">\n                            <col class=\"ninja_column_2 \">\n                            <col class=\"ninja_column_3 \">\n                    <\/colgroup>\n            <\/table>\n                    <style type=\"text\/css\" id='ninja_table_custom_css_4271'>\n                        #footable_4271  {\n        font-family: inherit;\n        font-size: 14px;\n    }\n\n                <\/style>\n                \n    \n    \n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Para cancelar uma recorr\u00eancia via API \u00e9 preciso enviar o comando cancel-recurring e o orderID retornado pela maxiPago! no momento da cria\u00e7\u00e3o do pedido. Cancelando a Recorr\u00eancia \u2013 URLs Para Envio dos Dados SANDBOX: https:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI PRODU\u00c7\u00c3O: https:\/\/api.maxipago.net\/UniversalAPI\/postAPI Cancelando a Recorr\u00eancia \u2013 Exemplo de Requisi\u00e7\u00e3o &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt; &lt;api-request&gt; &lt;verification&gt; &lt;merchantId&gt;store-id&lt;\/merchantId&gt; &lt;merchantKey&gt;store-key&lt;\/merchantKey&gt; &lt;\/verification&gt; &lt;command&gt;cancel-recurring&lt;\/command&gt; &lt;request&gt; &lt;orderID&gt;C0A86327:0151B6814FA1:50F7:50212C05&lt;\/orderID&gt; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":303,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":"","footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cancelar Recorr\u00eancia - Gateway Rede! Developers<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cancelar Recorr\u00eancia - Gateway Rede! Developers\" \/>\n<meta property=\"og:description\" content=\"Para cancelar uma recorr\u00eancia via API \u00e9 preciso enviar o comando cancel-recurring e o orderID retornado pela maxiPago! no momento da cria\u00e7\u00e3o do pedido. Cancelando a Recorr\u00eancia \u2013 URLs Para Envio dos Dados SANDBOX: https:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI PRODU\u00c7\u00c3O: https:\/\/api.maxipago.net\/UniversalAPI\/postAPI Cancelando a Recorr\u00eancia \u2013 Exemplo de Requisi\u00e7\u00e3o &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;api-request&gt; &lt;verification&gt; &lt;merchantId&gt;store-id&lt;\/merchantId&gt; &lt;merchantKey&gt;store-key&lt;\/merchantKey&gt; &lt;\/verification&gt; &lt;command&gt;cancel-recurring&lt;\/command&gt; &lt;request&gt; &lt;orderID&gt;C0A86327:0151B6814FA1:50F7:50212C05&lt;\/orderID&gt; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/\" \/>\n<meta property=\"og:site_name\" content=\"Gateway Rede! Developers\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-10T14:06:06+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\">\n\t<meta name=\"twitter:data1\" content=\"1 minuto\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/#website\",\"url\":\"https:\/\/www.maxipago.com\/developers\/\",\"name\":\"Gateway Rede! Developers\",\"description\":\"Portal de Desenvolvedores - Gateway Rede!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.maxipago.com\/developers\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/#webpage\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/\",\"name\":\"Cancelar Recorr\\u00eancia - Gateway Rede! Developers\",\"isPartOf\":{\"@id\":\"https:\/\/www.maxipago.com\/developers\/#website\"},\"datePublished\":\"2017-10-31T16:26:26+00:00\",\"dateModified\":\"2025-01-10T14:06:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/\",\"name\":\"In\\u00edcio\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/\",\"name\":\"API Docs\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/\",\"name\":\"Documenta\\u00e7\\u00f5es Online\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/\",\"name\":\"Cart\\u00e3o de Cr\\u00e9dito\"}},{\"@type\":\"ListItem\",\"position\":5,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/\",\"name\":\"Recorr\\u00eancia\"}},{\"@type\":\"ListItem\",\"position\":6,\"item\":{\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/maxipago\/cartao-de-credito\/recorrencia\/cancelar-recorrencia\/#webpage\"}}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1334"}],"collection":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/comments?post=1334"}],"version-history":[{"count":9,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1334\/revisions"}],"predecessor-version":[{"id":4272,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1334\/revisions\/4272"}],"up":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/303"}],"wp:attachment":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/media?parent=1334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}