{"id":12430,"date":"2020-11-06T16:35:00","date_gmt":"2020-11-06T11:05:00","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=12430"},"modified":"2020-12-04T11:37:22","modified_gmt":"2020-12-04T06:07:22","slug":"razorpay-integration-in-ruby-on-rails","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/","title":{"rendered":"Razorpay Integration in Ruby on Rails"},"content":{"rendered":"\n<p>These days online payments are very common in web applications. There are a lot of payment gateways available in the market. <a rel=\"noreferrer noopener\" href=\"https:\/\/www.google.com\/aclk?sa=l&amp;ai=DChcSEwis2tqAkcPsAhUUBGAKHeoLCb8YABAAGgJ0bQ&amp;ae=2&amp;sig=AOD64_1Ch5V_jutNAkS-Dhwn0pLOLz5CAA&amp;q&amp;adurl&amp;ved=2ahUKEwiQ2dKAkcPsAhXT4zgGHRnZAM8Q0Qx6BAg3EAE\" target=\"_blank\">Razorpay<\/a> is one of them.&nbsp;    <\/p>\n\n\n\n<p>In this blog, we will learn how to integrate razorpay with your Ruby on Rails application. We will use \u2018<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/razorpay\/razorpay-ruby\" target=\"_blank\">razorpay<\/a>\u2019 gem Rails for using this payment gateway.<\/p>\n\n\n\n<p><strong>Let\u2019s start with the setup!<\/strong><\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Generate API key for razorpay gem Rails integration. If you have already generated an API key, you will get it <a rel=\"noreferrer noopener\" href=\"https:\/\/dashboard.razorpay.com\/app\/keys\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Let\u2019s generate a new rails application for razorpay integration.<\/p>\n\n\n<p><code>$ rails new RazorPayDemo<\/code><\/p>\n\n\n<p><strong>Step 3:<\/strong> Add the following gems in your gemfile:<\/p>\n\n\n<p><code>gem 'razorpay'<\/code><\/p>\n\n\n<p><strong>Step 4:<\/strong> Add api key to <code>'credentials.yml'<\/code> file. As this is a demo application we are adding credentials as shown below. If you are having different keys for different environments you can place this block as per environment.<\/p>\n\n\n<p><code>razorpay:<br>&nbsp; Key_id: RAZORPAY_KEY_ID<br>&nbsp; secret_key: RAZORPAY_SECRET_KEY<\/code><\/p>\n\n\n<p><strong>Step 5:<\/strong> For setting razorpay keys add <code>'razorpay.rb'<\/code> file under <code>'config\/initializers'<\/code> folder.<\/p>\n\n\n<p><code>key_id = Rails.application.credentials.dig(:razorpay, :key_id)<br>secret_key = Rails.application.credentials.dig(:razorpay, :secret_key)<br>Razorpay.setup(key_id, secret_key)<\/code><\/p>\n\n\n<p><strong>Hurray! We are done with the set up. Let\u2019s make payment!&nbsp;<\/strong><\/p>\n\n\n\n<p>We will make a payment of 100 Rs.&nbsp;<\/p>\n\n\n\n<p><strong>Note: <strong>Razorpay international payments gateway<\/strong> accepts amounts in currency subunits.<\/strong><\/p>\n\n\n\n<p>We are generating a payment of 100 Rs so we will pass 10000 as an amount.<\/p>\n\n\n<p><code>order = Razorpay::Order.create amount: 10000, currency: 'INR', receipt: 'TEST'<\/code><\/p>\n\n\n<p>For getting all orders:<\/p>\n\n\n<p><code>orders = Razorpay::Order.all<\/code><\/p>\n\n\n<p>For getting details of a particular order we will pass order_id as argument.&nbsp;<\/p>\n\n\n<p><code>order = Razorpay::Order.fetch(ORDER_ID)<\/code><\/p>\n\n\n<p>Let\u2019s fetch all the payments associated with this order.<\/p>\n\n\n<p><code>payments = order.payments<\/code><\/p>\n\n\n<p>For getting details of a particular payment and then capturing it.<\/p>\n\n\n<p><code>payment = Razorpay::Payment.fetch(\"PAYMENT_ID\")payment.capture!<\/code><\/p>\n\n\n<p>Here it will capture the whole amount associated with this payment. If you want to capture partial amount we can do this by:<\/p>\n\n\n<p><code>Razorpay::Payment.fetch(\"PAYMENT_ID\").capture({amount: PARTIAL_AMOUNT})<\/code><\/p>\n\n\n<p>Note that here we need to provide an amount in currency subunit.<\/p>\n\n\n\n<p><strong>Let\u2019s initiate a full refund!<\/strong><\/p>\n\n\n<p><code>payment = Razorpay::Payment.fetch(\"PAYMENT_ID\")payment.refund!<\/code><\/p>\n\n\n<p>We can use <code>\u2018Razorpay::Refund\u2019<\/code> class for generating refunds.<\/p>\n\n\n<p><code>refund = Razorpay::Refund.create(payment_id:\"PAYMENT_ID\")<\/code><\/p>\n\n\n<p>For generating partial refund, pass amount as argument.<\/p>\n\n\n<p><code>Razorpay::Payment.fetch(\"PAYMENT_ID\").refund({amount:PARTIAL_AMOUNT})<\/code><\/p>\n\n\n<p>Getting all refunds associated with a payment.<\/p>\n\n\n<p><code>payment = Razorpay::Payment.fetch(\"PAYMENT_ID\")<br>payment.refunds<\/code><\/p>\n\n\n<p>We can check the status of a payment by using the <code>'status'<\/code> method.<\/p>\n\n\n<p><code>payment = Razorpay::Payment.fetch(\"PAYMENT_ID\")<br>payment.status<\/code><\/p>\n\n\n<p>This was the final step for <strong><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\" target=\"_blank\" rel=\"noreferrer noopener\">razorpay integration in Ruby on Rails<\/a>. <\/strong>I hope you enjoyed this article. Keep following for more such articles.<\/p>\n\n\n\n<p><strong>Happy coding!<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Read Also: <a href=\"https:\/\/www.botreetechnologies.com\/blog\/integrate-payumoney-spree-commerce-store-with-ruby-on-rails\" target=\"_blank\" rel=\"noreferrer noopener\">How to Integrate PayUMoney in your Spree Commerce Store with Ruby on Rails<\/a><\/p><\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These days online payments are very common in web applications&#8230;.<\/p>\n","protected":false},"author":56,"featured_media":287,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-12430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Razorpay Integration in Ruby on Rails<\/title>\n<meta name=\"description\" content=\"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Razorpay Integration in Ruby on Rails\" \/>\n<meta property=\"og:description\" content=\"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-06T11:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-04T06:07:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hunny Jummani\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hunny Jummani\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\"},\"author\":{\"name\":\"Hunny Jummani\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\"},\"headline\":\"Razorpay Integration in Ruby on Rails\",\"datePublished\":\"2020-11-06T11:05:00+00:00\",\"dateModified\":\"2020-12-04T06:07:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\"},\"wordCount\":353,\"commentCount\":11,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\",\"name\":\"Razorpay Integration in Ruby on Rails\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg\",\"datePublished\":\"2020-11-06T11:05:00+00:00\",\"dateModified\":\"2020-12-04T06:07:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\"},\"description\":\"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg\",\"width\":1200,\"height\":675,\"caption\":\"razorpay international payments integration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Razorpay Integration in Ruby on Rails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e\",\"name\":\"Hunny Jummani\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png\",\"caption\":\"Hunny Jummani\"},\"description\":\"I am a Ruby On Rails Developer. I love JavaScript, logical problem solving in Ruby and exploration of new things. Apart from coding, I also like to travel, listen music and play guitar.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Razorpay Integration in Ruby on Rails","description":"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/","og_locale":"en_US","og_type":"article","og_title":"Razorpay Integration in Ruby on Rails","og_description":"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2020-11-06T11:05:00+00:00","article_modified_time":"2020-12-04T06:07:22+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg","type":"image\/jpeg"}],"author":"Hunny Jummani","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Hunny Jummani","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/"},"author":{"name":"Hunny Jummani","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e"},"headline":"Razorpay Integration in Ruby on Rails","datePublished":"2020-11-06T11:05:00+00:00","dateModified":"2020-12-04T06:07:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/"},"wordCount":353,"commentCount":11,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/","url":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/","name":"Razorpay Integration in Ruby on Rails","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg","datePublished":"2020-11-06T11:05:00+00:00","dateModified":"2020-12-04T06:07:22+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e"},"description":"Want to learn how to integrate Razorpay in your website using Ruby on Rails? Here\u2019s how to do the Razorpay payment gateway integration.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2016\/11\/razorpay-integration-in-ruby-on-rails.jpg","width":1200,"height":675,"caption":"razorpay international payments integration"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/razorpay-integration-in-ruby-on-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Razorpay Integration in Ruby on Rails"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/0d616df8a58c8145fae7ceb8d048e23e","name":"Hunny Jummani","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/hunny-jummani-150x150.png","caption":"Hunny Jummani"},"description":"I am a Ruby On Rails Developer. I love JavaScript, logical problem solving in Ruby and exploration of new things. Apart from coding, I also like to travel, listen music and play guitar."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=12430"}],"version-history":[{"count":1,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12430\/revisions"}],"predecessor-version":[{"id":13191,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/12430\/revisions\/13191"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/287"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=12430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=12430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=12430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}