{"id":273,"date":"2020-08-18T23:03:35","date_gmt":"2020-08-18T23:03:35","guid":{"rendered":"http:\/\/localhost:8080\/wordpress\/?post_type=document&p=123"},"modified":"2020-09-29T19:33:47","modified_gmt":"2020-09-29T19:33:47","slug":"how-do-i-transact","status":"publish","type":"document","link":"https:\/\/bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/","title":{"rendered":"How do I transact"},"content":{"rendered":"\n

The Compare and Comply service uses standard HTTP response codes to indicate whether a method completed successfully. HTTP response codes in the 2xx range indicate success. A response in the 4xx range is some sort of failure, and a response in the 5xx range usually indicates an internal system error that cannot be resolved by the user. Response codes are listed with the method.<\/p>\n\n\n\n

When the Node SDK receives an error response from the Compare and Comply service, it creates an Error object with information that describes the error that occurred. This error object is passed as the first parameter to the callback function for the method. The contents of the error object are as shown in the following table.<\/p>\n\n\n\n

Error<\/h3>\n\n\n\n
Company<\/th>Contact<\/th>Country<\/th><\/tr>
Alfreds Futterkiste<\/strong><\/td>Maria Anders<\/td>Germany<\/td><\/tr>
Centro comercial Moctezuma<\/strong><\/td>Francisco Chang<\/td>Mexico<\/td><\/tr>
Ernst Handel<\/strong><\/td>Roland Mendel<\/td>Austria<\/td><\/tr>
Island Trading<\/strong><\/td>Helen Bennett<\/td>UK<\/td><\/tr>
Laughing Bacchus Winecellars<\/strong><\/td>Yoshi Tannamuri<\/td>Canada<\/td><\/tr>
Magazzini Alimentari Riuniti<\/strong><\/td>Giovanni Rovelli<\/td>Italy<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

Data Handeling<\/h2>\n\n\n\n
<script>\n  $(document).ready(function(){\n    function show_active_elements(){\n      let active_li = $('.documentation__nav li.active');\n      let parent_li = active_li.parents('.has_child');\n      let child_ul = active_li.children('ul');\n      parent_li.removeClass('collapsed');\n      parent_li.children('ul').removeClass('collapse').addClass('show');\n      child_ul.removeClass('collapse').addClass('show');\n    }\n    show_active_elements();\n  })\n<\/script><\/code><\/pre>\n\n\n\n

Dadead<\/code><\/p>\n","protected":false},"parent":0,"menu_order":1,"template":"","meta":[],"tags":[],"doc_category":[5],"lang":"en","translations":{"en":273},"yoast_head":"\nHow do I transact - Bitcoin SV<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/stag.bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I transact - Bitcoin SV\" \/>\n<meta property=\"og:description\" content=\"The Compare and Comply service uses standard HTTP response codes to indicate whether a method completed successfully. HTTP response codes in the 2xx range indicate success. A response in the 4xx range is some sort of failure, and a response in the 5xx range usually indicates an internal system error that cannot be resolved by […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stag.bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/\" \/>\n<meta property=\"og:site_name\" content=\"Bitcoin SV\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-29T19:33:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/09\/bitcoin-sv-bsv-mines-world-record-128mb-blocks.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1234\" \/>\n\t<meta property=\"og:image:height\" content=\"616\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BitcoinSVNode\" \/>\n<meta name=\"twitter:site\" content=\"@BitcoinSVNode\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/bitcoinsv.io\/#organization\",\"name\":\"Bitcoin SV\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"sameAs\":[\"https:\/\/twitter.com\/BitcoinSVNode\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/bitcoinsv.io\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/bitcoinsv.io\/wp-content\/uploads\/2020\/10\/bsv-logo-wh-medium.png\",\"width\":800,\"height\":144,\"caption\":\"Bitcoin SV\"},\"image\":{\"@id\":\"https:\/\/bitcoinsv.io\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bitcoinsv.io\/#website\",\"url\":\"https:\/\/bitcoinsv.io\/\",\"name\":\"Bitcoin SV\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/bitcoinsv.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/bitcoinsv.io\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stag.bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/#webpage\",\"url\":\"https:\/\/stag.bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/\",\"name\":\"How do I transact - Bitcoin SV\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinsv.io\/#website\"},\"datePublished\":\"2020-08-18T23:03:35+00:00\",\"dateModified\":\"2020-09-29T19:33:47+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stag.bitcoinsv.io\/documentation\/developers\/how-do-i-transact\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/document\/273"}],"collection":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/document"}],"about":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/types\/document"}],"version-history":[{"count":1,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/document\/273\/revisions"}],"predecessor-version":[{"id":4521,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/document\/273\/revisions\/4521"}],"wp:attachment":[{"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/media?parent=273"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/tags?post=273"},{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/bitcoinsv.io\/wp-json\/wp\/v2\/doc_category?post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}