{"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":{"spay_email":"","footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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\" \/>\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\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/#webpage\",\"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\",\"dateModified\":\"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,\"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\/requisicoes-de-cadastro\/\",\"url\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/\",\"name\":\"Requisi\\u00e7\\u00f5es de Cadastro\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@id\":\"https:\/\/www.maxipago.com\/developers\/apidocs\/requisicoes-de-cadastro\/retorno-das-requisicoes-de-cadastro\/#webpage\"}}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1641"}],"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}]}}