{"id":1641,"date":"2018-07-13T08:46:21","date_gmt":"2018-07-13T11:46:21","guid":{"rendered":"http:\/\/maxipago.com\/developers\/?page_id=1641"},"modified":"2018-07-13T08:46:21","modified_gmt":"2018-07-13T11:46:21","slug":"retorno-das-requisicoes-de-cadastro","status":"publish","type":"page","link":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/","title":{"rendered":"Retorno das Requisi\u00e7\u00f5es de Cadastro"},"content":{"rendered":"<div class=\"row\">\n<div class=\"col-md-6\">\n<p>&nbsp;<\/p>\n<p>O retorno das requisi\u00e7\u00f5es de cadastro cont\u00e9m a confirma\u00e7\u00e3o de que o comando foi executado com sucesso. Em alguns casos, como no comando add-customer, ele tamb\u00e9m traz de volta informa\u00e7\u00f5es que ser\u00e3o usadas para fazer refer\u00eancia ao cadstro do cliente no futuro. Estas informa\u00e7\u00f5es s\u00e3o enviadas dentro do elemento <result\/>.<\/p>\n<\/div>\n<div class=\"col-md-6\">\n<p>&nbsp;<\/p>\n<h2><strong style=\"color: #e06b08;\">Estrutura do XML de retorno<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">&lt;api-response&gt;\r\n    &lt;errorCode\/&gt;\r\n    &lt;errorMessage\/&gt;\r\n    &lt;command\/&gt;\r\n    &lt;time\/&gt;\r\n    &lt;result&gt;\r\n        ...\r\n    &lt;\/result&gt;\r\n&lt;\/api-response&gt;<\/pre>\n<\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col-md-6 col-sm-3\">\n<p>&nbsp;<\/p>\n<h2><strong style=\"color: #e06b08;\">Par\u00e2metros retornados pelas requisi\u00e7\u00f5es de cadastro<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<p>Os par\u00e2metros retornados pelas requisi\u00e7\u00f5es de cadastro s\u00e3o:<\/p>\n<div class=\"table-responsive\">\n<table class=\"table-striped\">\n<tbody>\n<tr>\n<td style=\"text-align: center; background-color: #f8943f;\">\n<p><strong style=\"color: #ffffff;\">Nome<\/strong><\/p>\n<\/td>\n<td style=\"text-align: center; background-color: #f8943f;\">\n<p><strong style=\"color: #ffffff;\">Descri\u00e7\u00e3o<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fde9d8;\">\n<p>errorCode<\/p>\n<\/td>\n<td style=\"background-color: #fde9d8;\">\n<p>C\u00f2digo de retorno da opera\u00e7\u00e3o. <strong style=\"color: #878787;\">Sucesso = 0<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>errorMessage<\/p>\n<\/td>\n<td>\n<p>Mensagem de erro, se houver<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fde9d8;\">\n<p>command<\/p>\n<\/td>\n<td style=\"background-color: #fde9d8;\">\n<p>Confirma\u00e7\u00e3o do comando enviado<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>time<\/p>\n<\/td>\n<td>\n<p>Data\/hora da transa\u00e7\u00e3o <strong style=\"color: #878787;\">em formato epoch<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fde9d8;\">\n<p>customerId<\/p>\n<\/td>\n<td style=\"background-color: #fde9d8;\">\n<p>Presente s\u00f3 no comando <strong style=\"color: #878787;\">add-consumer<\/strong>. \u00c9 retornado o ID \u00fanico daquele cliente, dentro do elemento <result\/>.<br \/>\u00c9 muito importante guardar esta informa\u00e7\u00e3o para futura refer\u00eancia!<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>token<\/p>\n<\/td>\n<td>\n<p>Presente s\u00f3 no comando <strong style=\"color: #878787;\">add-card-onfile<\/strong>. \u00c9 retornado o token \u00fanico daquele cart\u00e3o, dentro do elemento <result\/>.<br \/>\u00c9 muito importante guardar esta informa\u00e7\u00e3o para futura refer\u00eancia!<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":1544,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-full.php","meta":{"footnotes":""},"class_list":["post-1641","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Retorno das Requisi\u00e7\u00f5es de Cadastro - 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=\"Retorno das Requisi\u00e7\u00f5es de Cadastro - Gateway Rede! Developers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/\" \/>\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 name=\"twitter:card\" content=\"summary_large_image\" \/>\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\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/retorno-das-requisicoes-de-cadastro\\\/\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/retorno-das-requisicoes-de-cadastro\\\/\",\"name\":\"Retorno das Requisi\u00e7\u00f5es de Cadastro - Gateway Rede! Developers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#website\"},\"datePublished\":\"2018-07-13T11:46:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/retorno-das-requisicoes-de-cadastro\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/retorno-das-requisicoes-de-cadastro\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/retorno-das-requisicoes-de-cadastro\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Docs\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Requisi\u00e7\u00f5es de Cadastro\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/requisicoes-de-cadastro\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Retorno das Requisi\u00e7\u00f5es de Cadastro\"}]},{\"@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!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#organization\",\"name\":\"Gateway Rede! Developers\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png\",\"contentUrl\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png\",\"width\":150,\"height\":61,\"caption\":\"Gateway Rede! Developers\"},\"image\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/maxiPago-193308344142172\\\/?fref=ts\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/2500991?trk=tyah&amp;amp;trkInfo=clickedVertical:company,clickedEntityId:2500991,idx:2-1-2,tarId:1483920469427,tas:maxipago\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Retorno das Requisi\u00e7\u00f5es de Cadastro - Gateway Rede! Developers","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"pt_BR","og_type":"article","og_title":"Retorno das Requisi\u00e7\u00f5es de Cadastro - Gateway Rede! Developers","og_url":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/","og_site_name":"Gateway Rede! Developers","article_publisher":"https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts","twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/","url":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/","name":"Retorno das Requisi\u00e7\u00f5es de Cadastro - Gateway Rede! Developers","isPartOf":{"@id":"https:\/\/www.maxipago.com\/developers\/#website"},"datePublished":"2018-07-13T11:46:21+00:00","breadcrumb":{"@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.maxipago.com\/developers\/"},{"@type":"ListItem","position":2,"name":"API Docs","item":"https:\/\/www.maxipago.com\/developers\/apidocs\/"},{"@type":"ListItem","position":3,"name":"Requisi\u00e7\u00f5es de Cadastro","item":"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/"},{"@type":"ListItem","position":4,"name":"Retorno das Requisi\u00e7\u00f5es de Cadastro"}]},{"@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!","publisher":{"@id":"https:\/\/www.maxipago.com\/developers\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.maxipago.com\/developers\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.maxipago.com\/developers\/#organization","name":"Gateway Rede! Developers","url":"https:\/\/www.maxipago.com\/developers\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.maxipago.com\/developers\/#\/schema\/logo\/image\/","url":"https:\/\/www.maxipago.com\/developers\/wp-content\/uploads\/2023\/01\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png","contentUrl":"https:\/\/www.maxipago.com\/developers\/wp-content\/uploads\/2023\/01\/LOGO_REDE_ENDOSSO_RGB_BRANCO-e1674497668914.png","width":150,"height":61,"caption":"Gateway Rede! Developers"},"image":{"@id":"https:\/\/www.maxipago.com\/developers\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts","https:\/\/www.linkedin.com\/company\/2500991?trk=tyah&amp;amp;trkInfo=clickedVertical:company,clickedEntityId:2500991,idx:2-1-2,tarId:1483920469427,tas:maxipago"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1641","targetHints":{"allow":["GET"]}}],"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=1641"}],"version-history":[{"count":5,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1641\/revisions"}],"predecessor-version":[{"id":2796,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1641\/revisions\/2796"}],"up":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1544"}],"wp:attachment":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/media?parent=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}