{"id":1427,"date":"2017-11-07T19:16:54","date_gmt":"2017-11-07T21:16:54","guid":{"rendered":"http:\/\/maxipago.com\/developers\/?page_id=1427"},"modified":"2024-04-02T20:45:00","modified_gmt":"2024-04-02T23:45:00","slug":"consultar-ordem","status":"publish","type":"page","link":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/","title":{"rendered":"Consultar Link de Pagamento"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><span style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-colibri-color-2-color\"><strong>Link de Pagamento \u2013 URLs Para Consulta do Link de Pagamento<\/strong><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SANDBOX<\/strong>: http:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>PRODU\u00c7\u00c3O<\/strong>: http:\/\/api.maxipago.net\/UniversalAPI\/postAPI<\/p>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"has-inline-color has-colibri-color-2-color\">Link de Pagamento &#8211; Consultando um Link de Pagamento<\/span><\/strong><\/p>\n\n\n\n<div style=\"height:18px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Para consultar a ordem de pagamento ser\u00e1 necess\u00e1rio informar o n\u00famero da ordem retornada pela maxiPago! no response de sua cria\u00e7\u00e3o. O n\u00famero da ordem de pagamento no response \u00e9 retornado na target &lt;pay_order_id&gt; e na tag &lt;command&gt; passar o comando get-payment-order. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Veja abaixo a estrutura do XML que precisa ser enviado para a edi\u00e7\u00e3o da ordem de pagamento.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\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;get-payment-order&lt;\/command&gt;\n    &lt;request&gt;\n        &lt;payOrderId&gt;ax18a7b49&lt;\/payOrderId&gt;\n    &lt;\/request&gt;\n&lt;\/api-request&gt;<\/pre>\n<pre class=\"lang:default decode:true \"><span style=\"color: #e06b08; font-size: 1.56em; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">Link de Pagamento \u2013 Exemplo de uma consulta realizada com sucesso<br \/><\/span><\/pre>\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;get-payment-order&lt;\/command&gt;\n    &lt;time&gt;1689872882351&lt;\/time&gt;\n    &lt;result&gt;\n        &lt;pay_order_id&gt;ax18a7b49&lt;\/pay_order_id&gt;\n        &lt;message&gt;Get Successfully&lt;\/message&gt;\n        &lt;referenceNum&gt;2023071916571678&lt;\/referenceNum&gt;\n        &lt;refunded&gt;Y&lt;\/refunded&gt;\n        &lt;orderId&gt;0A0115D3:01896FBD27DE:EEFD:57E039CD&lt;\/orderId&gt;\n        &lt;fraudCheck&gt;Y&lt;\/fraudCheck&gt;\n        &lt;status&gt;PAID&lt;\/status&gt;\n        &lt;userId&gt;23859admin&lt;\/userId&gt;\n        &lt;billing&gt;\n            &lt;phone&gt;11999414443&lt;\/phone&gt;\n            &lt;alternatePhone&gt;00000000000&lt;\/alternatePhone&gt;\n        &lt;\/billing&gt;\n        &lt;transactionDetail&gt;\n            &lt;description&gt;Descricao do Pedido&lt;\/description&gt;\n            &lt;comments&gt;Comentarios adicionais&lt;\/comments&gt;\n            &lt;emailSubject&gt;Pagar ate o dia 20&lt;\/emailSubject&gt;\n            &lt;createDate&gt;07\/19\/2023 16:57:17&lt;\/createDate&gt;\n            &lt;expirationDate&gt;07\/19\/2023&lt;\/expirationDate&gt;\n            &lt;payType&gt;\n                &lt;creditCard&gt;\n                    &lt;operation&gt;sale&lt;\/operation&gt;\n                    &lt;numberOfInstallments&gt;1&lt;\/numberOfInstallments&gt;\n                    &lt;currencyCode&gt;BRL&lt;\/currencyCode&gt;\n                    &lt;amount&gt;1.00&lt;\/amount&gt;\n                &lt;\/creditCard&gt;\n            &lt;\/payType&gt;\n        &lt;\/transactionDetail&gt;\n    &lt;\/result&gt;\n&lt;\/api-response&gt;<\/pre>\n<h3>\u00a0<\/h3>\n<h3 style=\"color: #e06b08;\">Link de Pagamento \u2013 Exemplo de uma consulta com erro<\/h3>\n<pre class=\"lang:default decode:true \">\u00a0<\/pre>\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;1&lt;\/errorCode&gt;\n    &lt;errorMessage&gt;\n        &lt;![CDATA[Pay order id not located: FiaoEH3OE8= not located.]]&gt;\n    &lt;\/errorMessage&gt;\n    &lt;time&gt;1505919057637&lt;\/time&gt;\n&lt;\/api-response&gt;<\/pre>\n<h3 style=\"color: #e06b08;\">Link de Pagamento \u2013 Tabela de Par\u00e2metros<\/h3>\n<div id=\"footable_parent_3548\"\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=\"3548\" data-filter-delay=\"1000\" aria-label=\"Tabela de Par\u00e2metros - Consulta de Ordem - Link de Pagamento\"            id=\"footable_3548\"\n           data-unique_identifier=\"ninja_table_unique_id_3418194939_3548\"\n           class=\" foo-table ninja_footable foo_table_3548 ninja_table_unique_id_3418194939_3548 ui table ninja_table_search_disabled nt_type_ajax_table selectable celled striped compact footable-paging-right\">\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    \n    \n    \n<\/div>\n\n<h3 style=\"color: #e06b08;\">Checkout 2.0 \u2013 Tabela de Par\u00e2metros de Retorno<\/h3>\n<div id=\"footable_parent_3550\"\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_1\" data-footable_id=\"3550\" data-filter-delay=\"1000\" aria-label=\"Tabela de Retorno - Consulta de Ordem - Link de Pagamento\"            id=\"footable_3550\"\n           data-unique_identifier=\"ninja_table_unique_id_523213044_3550\"\n           class=\" foo-table ninja_footable foo_table_3550 ninja_table_unique_id_523213044_3550 ui table ninja_table_search_disabled nt_type_ajax_table selectable celled striped compact footable-paging-right\">\n                <colgroup>\n                            <col class=\"ninja_column_0 \">\n                            <col class=\"ninja_column_1 \">\n                    <\/colgroup>\n            <\/table>\n    \n    \n    \n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Link de Pagamento \u2013 URLs Para Consulta do Link de Pagamento SANDBOX: http:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI PRODU\u00c7\u00c3O: http:\/\/api.maxipago.net\/UniversalAPI\/postAPI Link de Pagamento &#8211; Consultando um Link de Pagamento Para consultar a ordem de pagamento ser\u00e1 necess\u00e1rio informar o n\u00famero da ordem retornada pela maxiPago! no response de sua cria\u00e7\u00e3o. O n\u00famero da ordem de pagamento no response \u00e9 retornado [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1414,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1427","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>Consultar Link de Pagamento - 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=\"Consultar Link de Pagamento - Gateway Rede! Developers\" \/>\n<meta property=\"og:description\" content=\"Link de Pagamento \u2013 URLs Para Consulta do Link de Pagamento SANDBOX: http:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI PRODU\u00c7\u00c3O: http:\/\/api.maxipago.net\/UniversalAPI\/postAPI Link de Pagamento &#8211; Consultando um Link de Pagamento Para consultar a ordem de pagamento ser\u00e1 necess\u00e1rio informar o n\u00famero da ordem retornada pela maxiPago! no response de sua cria\u00e7\u00e3o. O n\u00famero da ordem de pagamento no response \u00e9 retornado [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/\" \/>\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=\"2024-04-02T23:45:00+00:00\" \/>\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\\\/link-de-pagamento\\\/consultar-ordem\\\/\",\"url\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/link-de-pagamento\\\/consultar-ordem\\\/\",\"name\":\"Consultar Link de Pagamento - Gateway Rede! Developers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/#website\"},\"datePublished\":\"2017-11-07T21:16:54+00:00\",\"dateModified\":\"2024-04-02T23:45:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/link-de-pagamento\\\/consultar-ordem\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/link-de-pagamento\\\/consultar-ordem\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/link-de-pagamento\\\/consultar-ordem\\\/#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\":\"Link de Pagamento\",\"item\":\"https:\\\/\\\/www.maxipago.com\\\/developers\\\/apidocs\\\/link-de-pagamento\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Consultar Link de Pagamento\"}]},{\"@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":"Consultar Link de Pagamento - 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":"Consultar Link de Pagamento - Gateway Rede! Developers","og_description":"Link de Pagamento \u2013 URLs Para Consulta do Link de Pagamento SANDBOX: http:\/\/testapi.maxipago.net\/UniversalAPI\/postAPI PRODU\u00c7\u00c3O: http:\/\/api.maxipago.net\/UniversalAPI\/postAPI Link de Pagamento &#8211; Consultando um Link de Pagamento Para consultar a ordem de pagamento ser\u00e1 necess\u00e1rio informar o n\u00famero da ordem retornada pela maxiPago! no response de sua cria\u00e7\u00e3o. O n\u00famero da ordem de pagamento no response \u00e9 retornado [&hellip;]","og_url":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/","og_site_name":"Gateway Rede! Developers","article_publisher":"https:\/\/www.facebook.com\/maxiPago-193308344142172\/?fref=ts","article_modified_time":"2024-04-02T23:45:00+00:00","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\/link-de-pagamento\/consultar-ordem\/","url":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/","name":"Consultar Link de Pagamento - Gateway Rede! Developers","isPartOf":{"@id":"https:\/\/www.maxipago.com\/developers\/#website"},"datePublished":"2017-11-07T21:16:54+00:00","dateModified":"2024-04-02T23:45:00+00:00","breadcrumb":{"@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/consultar-ordem\/#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":"Link de Pagamento","item":"https:\/\/www.maxipago.com\/developers\/apidocs\/link-de-pagamento\/"},{"@type":"ListItem","position":4,"name":"Consultar Link de Pagamento"}]},{"@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\/1427","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=1427"}],"version-history":[{"count":13,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1427\/revisions"}],"predecessor-version":[{"id":3972,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1427\/revisions\/3972"}],"up":[{"embeddable":true,"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/pages\/1414"}],"wp:attachment":[{"href":"https:\/\/www.maxipago.com\/developers\/wp-json\/wp\/v2\/media?parent=1427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}