{"id":163935,"date":"2012-12-25T18:49:04","date_gmt":"2012-12-25T14:49:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=163935"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=163935","title":{"rendered":"<span class=\"post_title\">Pays.IO \u2014 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u0448\u043b\u044e\u0437 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/77a\/1c8\/97d\/77a1c897d1e6401220df05beb8dc1aa0.png\" alt=\"Pays.IO\" align=\"left\"\/><br \/>  \u041f\u0440\u0438\u0435\u043c \u043e\u043d\u043b\u0430\u0439\u043d \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u2014 \u0432\u0430\u0436\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0431\u0438\u0437\u043d\u0435\u0441\u0430. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c \u043f\u043e \u0441\u0431\u043e\u0440\u0443 \u0431\u0443\u043c\u0430\u0433 \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0440\u044b \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0443 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c, \u0434\u0430\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0435\u043a\u0442\u0440 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u043c, \u043d\u043e \u043d\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0447 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u044d\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u043e. \u0417\u0430\u0447\u0430\u0441\u0442\u0443\u044e, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044f\u0441\u044c \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043e\u043f\u043b\u0430\u0442\u044b, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0443\u0441\u043b\u0443\u0433 \u00ab\u043f\u0430\u0440\u0442\u044f\u043d\u043a\u0443\u00bb \u043a\u043e\u0434\u0430 \u043e\u0434\u043d\u0438\u043c \u0444\u0430\u0439\u043b\u043e\u043c \u0441 \u043a\u0440\u0438\u0432\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0435\u043c\u0443 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043d\u0430 \u0432\u043e\u043b\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0430\u043c\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e.<\/p>\n<p>  \u041c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 Pays.IO, \u043a\u0430\u043a <a href=\"https:\/\/paysio.com\">\u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u0448\u043b\u044e\u0437<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0432 \u0438 \u0443\u0447\u0442\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0435 \u0441\u0442\u0430\u043d\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043e \u043d\u0438\u0445 \u0432\u044b, \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438, \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0443 \u043d\u0430\u0441 \u043d\u0430 <a href=\"https:\/\/paysio.com\">\u0433\u043b\u0430\u0432\u043d\u043e\u0439<\/a>. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u0445:  <\/p>\n<ul>\n<li>REST-\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 API<\/li>\n<li><a href=\"https:\/\/paysio.com\/docs\/api\/library\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 API<\/a> \u043d\u0430 PHP \u0438 Python (\u0434\u043b\u044f Ruby \u0438 JAVA \u0431\u0443\u0434\u0443\u0442 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u043c \u0431\u0443\u0434\u0443\u0449\u0435\u043c)<\/li>\n<li>\u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0448\u043b\u044e\u0437\u0430 \u2014 \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u043a\u0440\u0443\u043f\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433\u043e\u0432\u044b\u043c\u0438 \u0446\u0435\u043d\u0442\u0440\u0430\u043c\u0438 \u0438 \u0438\u043c\u0435\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0448\u043b\u044e\u0437\u0430\u043c\u0438 \u043f\u0440\u0438 \u0438\u0445 \u043f\u0430\u0434\u0435\u043d\u0438\u0438<\/li>\n<li><a href=\"https:\/\/paysio.com\/docs\/api\/index\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a> \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0443<\/li>\n<li>\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/paysio.com\/docs\/default\/paysiojs\">Paysio.js<\/a>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043e\u043f\u043b\u0430\u0442\u044b \u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0447\u0435\u0442\u0430 \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430, \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/ff2\/7c3\/a6d\/ff27c3a6dab7e51de29b8407f9656e9c.png\"\/><\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u043c\u044b, \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0430\u0448\u0438\u043c\u0438 \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u0430\u043c\u0438, \u0432\u0435\u0434\u0435\u043c \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0435 \u0431\u0435\u0442\u0430-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430. <br \/>  \u041d\u043e, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0425\u0430\u0431\u0440\u0430, \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0438\u043d\u0432\u0430\u0439\u0442-\u043a\u043e\u0434: <strong>habr<\/strong>. \u0421 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0439\u0442\u0438 <a href=\"https:\/\/paysio.com\/register?invite_code=habr\">\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044e<\/a>.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0440\u0430\u0441\u043f\u044b\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u0433\u0440\u043e\u043c\u043a\u0438\u0435 \u0441\u043b\u043e\u0432\u0430, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u0441\u0440\u0430\u0437\u0443 \u043a \u0434\u0435\u043b\u0443 \u2014 \u043d\u0430\u0447\u043d\u0451\u043c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0435\u0436\u0438.<\/p>\n<pre><code class=\"bash\">curl https:\/\/api.paysio.com\/v1\/charges -v \\   -u HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK: \\   -d amount=10000 \\   -d currency_id=&quot;rur&quot; \\   -d description=&quot;Test charge&quot; <\/code><\/pre>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c \u2014 \u044d\u0442\u043e \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0447\u0435\u0442 \u043d\u0430 <strong>100 \u0440\u0443\u0431\u043b\u0435\u0439<\/strong>, \u0438 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 <code>Location<\/code> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0430\u0434\u0440\u0435\u0441 <code>https:\/\/paysio.com\/v1\/charges\/{CHARGE_ID}\/invoice<\/code>, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043e\u043f\u043b\u0430\u0442\u044b. \u0421\u0430\u043c \u043e\u0442\u0432\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 JSON-\u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0447\u0435\u0442\u0430.<\/p>\n<pre><code class=\"bash\">{ \t&quot;object&quot;:&quot;charge&quot;, \t&quot;id&quot;:&quot;{CHARGE_ID}&quot;, \t&quot;merchant_id&quot;:&quot;{MERCHANT_ID}&quot;, \t&quot;payment_system_id&quot;:null, \t&quot;currency_id&quot;:&quot;rur&quot;, \t&quot;amount&quot;:10000, \t&quot;fee&quot;:0, \t&quot;amount_refunded&quot;:0, \t&quot;description&quot;:&quot;Test charge&quot;, \t&quot;wallet&quot;:null, \t&quot;customer&quot;:null, \t&quot;status&quot;:&quot;pending&quot;, \t&quot;status_code&quot;:&quot;&quot;, \t&quot;livemode&quot;:false, \t&quot;lifetime&quot;:604800, \t&quot;merchant_data&quot;:null, \t&quot;order_id&quot;:&quot;&quot;, \t&quot;ip&quot;:&quot;212.24.43.44&quot;, \t&quot;payment_system_data&quot;:null, \t&quot;discount&quot;:null, \t&quot;success_url&quot;:&quot;&quot;, \t&quot;failure_url&quot;:&quot;&quot;, \t&quot;return_url&quot;:&quot;&quot;, \t&quot;created&quot;:1356448317, \t&quot;updated&quot;:1356448317 } <\/code><\/pre>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u044d\u0442\u043e\u0442 \u0436\u0435 \u043a\u043e\u0434 \u043d\u0430 <i>php<\/i> \u0438 <i>python<\/i>  <\/p>\n<table>\n<tr>\n<td><b>PHP<\/b>  <\/p>\n<pre><code class=\"php\">$key = 'HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK'; \\Paysio\\Api::setKey($key); $charge = \\Paysio\\Charge::create(array(     'amount' =&gt; 1000,     'description' =&gt; 'Test paymen',     'currency_id' =&gt; 'rur' )); <\/code><\/pre>\n<\/td>\n<td><b>Python<\/b>  <\/p>\n<pre><code class=\"python\">key = &quot;HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK&quot; paysio.api_key=key paysio.Charge.create(   amount=1000,   currency=&quot;rur&quot;,   description=&quot;Test charge&quot; ) <\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432 API \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447 \u0432\u0438\u0434\u0430 <code>HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK<\/code> \u2014 \u043e\u043d \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0438 \u0435\u0433\u043e \u043d\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435. \u041a\u043b\u044e\u0447 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a <a href=\"https:\/\/paysio.com\/docs\/api\/index\">\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u043c\u0443 API<\/a>. <br \/>  \u041a\u043b\u044e\u0447\u0438, \u043a\u0430\u043a \u0438 \u0432\u0435\u0441\u044c \u0441\u0435\u0440\u0432\u0438\u0441, \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u0434\u0432\u0430 \u0440\u0435\u0436\u0438\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b: \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0438 \u0431\u043e\u0435\u0432\u043e\u0439. \u0412 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438-\u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u044b, \u0431\u043e\u0435\u0432\u043e\u0439 \u0440\u0435\u0436\u0438\u043c \u0441\u043b\u0443\u0436\u0438\u0442 \u0443\u0436\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0438 \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u044e\u0447. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 <a href=\"https:\/\/paysio.com\/merchant\/default\/index\">\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432<\/a>.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/363\/a71\/9ca\/363a719cade4f9f5f9cc23c79edcd8cd.png\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043e\u043f\u043b\u0430\u0442\u044b \u043a\u043b\u0438\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0441\u0447\u0435\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>success_url<\/code> \u0438 <code>failure_url<\/code>, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0438\u043b\u0438 \u0436\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0439 \u043e\u043f\u043b\u0430\u0442\u0435 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 webhook. \u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b <a href=\"https:\/\/paysio.com\/merchant\/webhook\/index\">\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f<\/a> \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e: \u0434\u043b\u044f \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <i>url<\/i>, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u0438 \u0440\u0435\u0436\u0438\u043c \u2014 <i>\u00ab\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439\u00bb<\/i> \u0438\u043b\u0438 <i>\u00ab\u0411\u043e\u0435\u0432\u043e\u0439\u00bb<\/i>.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/00a\/bf5\/2dd\/00abf52dd657ddba6d4a0413774029ca.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u043c\u0438 \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432\u0438\u0434\u0430:<\/p>\n<pre><code class=\"bash\">{ \t&quot;object&quot;:&quot;event&quot;, \t&quot;id&quot;:&quot;{EVENT_ID}&quot;, \t&quot;merchant_id&quot;:&quot;{MERCHANT_ID}&quot;, \t&quot;type&quot;:&quot;charge.create&quot;, \t&quot;data&quot;:{ \t\t&quot;object&quot;:&quot;charge&quot;, \t\t&quot;id&quot;:&quot;{CHARGE_ID}&quot;, \t\t&quot;merchant_id&quot;:&quot;{MERCHANT_ID}&quot;, \t\t&quot;payment_system_id&quot;:null, \t\t&quot;currency_id&quot;:&quot;rur&quot;, \t\t&quot;amount&quot;:10000, \t\t&quot;fee&quot;:0, \t\t&quot;amount_refunded&quot;:0, \t\t&quot;description&quot;:&quot;Test charge&quot;, \t\t&quot;wallet&quot;:null, \t\t&quot;customer&quot;:null, \t\t&quot;status&quot;:&quot;pending&quot;, \t\t&quot;status_code&quot;:&quot;&quot;, \t\t&quot;livemode&quot;:false, \t\t&quot;lifetime&quot;:604800, \t\t&quot;merchant_data&quot;:null, \t\t&quot;order_id&quot;:&quot;&quot;, \t\t&quot;ip&quot;:&quot;212.24.43.44&quot;, \t\t&quot;payment_system_data&quot;:null, \t\t&quot;discount&quot;:null, \t\t&quot;success_url&quot;:&quot;&quot;, \t\t&quot;failure_url&quot;:&quot;&quot;, \t\t&quot;return_url&quot;:&quot;&quot;, \t\t&quot;created&quot;:1356448317, \t\t&quot;updated&quot;:1356448317 \t}, \t&quot;livemode&quot;:false, \t&quot;created&quot;:1356444717 } <\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u043d \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430, \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434,   <\/p>\n<table>\n<tr>\n<td><b>PHP<\/b>  <\/p>\n<pre><code class=\"php\">$key = 'HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK'; \\Paysio\\Api::setKey($key);  $data = file_get_contents('php:\/\/input'); $event = new \\Paysio\\Event(json_decode($data)); <\/code><\/pre>\n<\/td>\n<td><b>Python<\/b>  <\/p>\n<pre><code class=\"python\">key = &quot;HZClZur5OW3BYimWSydQNsArbph2L7IRo0ql8HK&quot; paysio.api_key=key  import json event = json.loads(HttpRequest.body) <\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c JSON-\u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0438\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f. \u0422\u0435\u043f\u0435\u0440\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043e\u043f\u043b\u0430\u0442\u044b, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0435\u0433\u043e \u0442\u0438\u043f\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430.  <\/p>\n<table>\n<tr>\n<td><b>PHP<\/b>  <\/p>\n<pre><code class=\"php\">if ($event-&gt;data instanceof \\Paysio\\Charge) {     if ($event-&gt;type == 'charge.success') {         \/\/ success logic     } elseif ($event-&gt;type == 'charge.failure') {         \/\/ failure logic     } elseif ($event-&gt;type == 'charge.refund') {         \/\/ refund logic     } } <\/code><\/pre>\n<\/td>\n<td><b>Python<\/b>  <\/p>\n<pre><code class=\"python\">if event.data['object'] == 'charge':     if event.type == 'charge.success':         pass #logic for charge success     elif event.type == 'charge.failure':         pass #logic for charge failure     elif event.type == 'charge.refund':         pass #logic for charge refund <\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<p>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u043b\u0430\u0442\u0435\u0436 \u043f\u0440\u0438\u043d\u044f\u0442! \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0433\u043e \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/5b8\/4af\/46c\/5b84af46c118e1c94b9e6f762f79d197.png\"\/><\/p>\n<p>  \u0412\u0430\u0448\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 100 \u0440\u0443\u0431\u043b\u0435\u0439 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u043d\u0430 \u0441\u0447\u0435\u0442.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/a4e\/719\/e21\/a4e719e21b90fc74729fd36e460ad29a.png\"\/><\/p>\n<p>  \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0443 \u043d\u0430\u0441 \u0432 <a href=\"https:\/\/paysio.com\/docs\/tutorial\/form\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u041d\u0430\u0448\u0430 \u0446\u0435\u043b\u044c \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u0435\u043c \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u0434\u0435\u0438 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0441 \u043d\u0430\u043c\u0438.    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/company\/paysio\/blog\/163935\/\"> http:\/\/habrahabr.ru\/company\/paysio\/blog\/163935\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/77a\/1c8\/97d\/77a1c897d1e6401220df05beb8dc1aa0.png\" alt=\"Pays.IO\" align=\"left\"\/><br \/>  \u041f\u0440\u0438\u0435\u043c \u043e\u043d\u043b\u0430\u0439\u043d \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u2014 \u0432\u0430\u0436\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0431\u0438\u0437\u043d\u0435\u0441\u0430. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c \u043f\u043e \u0441\u0431\u043e\u0440\u0443 \u0431\u0443\u043c\u0430\u0433 \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0440\u044b \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0443 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c, \u0434\u0430\u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0435\u043a\u0442\u0440 \u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u043e\u043c, \u043d\u043e \u043d\u0430 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0447 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u044d\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u043e. \u0417\u0430\u0447\u0430\u0441\u0442\u0443\u044e, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044f\u0441\u044c \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043e\u043f\u043b\u0430\u0442\u044b, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0443\u0441\u043b\u0443\u0433 \u00ab\u043f\u0430\u0440\u0442\u044f\u043d\u043a\u0443\u00bb \u043a\u043e\u0434\u0430 \u043e\u0434\u043d\u0438\u043c \u0444\u0430\u0439\u043b\u043e\u043c \u0441 \u043a\u0440\u0438\u0432\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0435\u043c\u0443 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043d\u0430 \u0432\u043e\u043b\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0430\u043c\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e.<\/p>\n<p>  \u041c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 Pays.IO, \u043a\u0430\u043a <a href=\"https:\/\/paysio.com\">\u043f\u043b\u0430\u0442\u0435\u0436\u043d\u044b\u0439 \u0448\u043b\u044e\u0437<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0432 \u0438 \u0443\u0447\u0442\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-163935","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/163935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=163935"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/163935\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}