{"id":377664,"date":"2023-04-21T11:46:02","date_gmt":"2023-04-21T11:46:02","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=377664"},"modified":"2024-03-11T12:52:57","modified_gmt":"2024-03-11T12:52:57","slug":"restrict-payment-on-checkout-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/","title":{"rendered":"Restrict Payment On Checkout in Magento 2"},"content":{"rendered":"\n<p>Hello Friends!!<\/p>\n\n\n\n<p>In today\u2019s blog, I will recommend a solution to restrict the active payments on the checkout page according to our requirements.<br>For example, we can<a href=\"https:\/\/experienceleague.adobe.com\/docs\/commerce-admin\/config\/sales\/payment-methods\/payment-methods.html?lang=en\"> restrict some active payment methods<\/a> for some particular product type or for some particular country, etc.<\/p>\n\n\n\n<p>We will create an observer to set <a href=\"https:\/\/store.webkul.com\/magento2-payment-shipping-restriction.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Payment Restrictions<\/a>.<\/p>\n\n\n\n<p>So firstly let us create an events.xml file inside the etc folder. You can simply use the below code in your events.xml file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:Event\/etc\/events.xsd&quot;&gt;\n    &lt;event name=&quot;payment_method_is_active&quot;&gt;\n        &lt;observer name=&quot;active_payment_methods&quot; instance=&quot;Webkul\\PaymentRestriction\\Observer\\RestrictActivePayment&quot;\/&gt;\n    &lt;\/event&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>Now let us create an observer.<br>You can simply use the below code in your observer file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\nnamespace Webkul\\PaymentRestriction\\Observer;\n\nuse Magento\\Framework\\Event\\ObserverInterface;\n\nclass RestrictActivePayment implements ObserverInterface\n{\n    \/**\n     * Restrict active payment method\n     *\n     * @param \\Magento\\Framework\\Event\\Observer $observer\n     *\/\n    public function execute(\\Magento\\Framework\\Event\\Observer $observer)\n    {\n\n        if($observer-&gt;getEvent()-&gt;getMethodInstance()-&gt;getCode() == &quot;cashondelivery&quot;){\n            $checkResult = $observer-&gt;getEvent()-&gt;getResult();\n            $checkResult-&gt;setData(&#039;is_available&#039;, false);\n        }\n    }\n}<\/pre>\n\n\n\n<p>Now, the observer will restrict the active payment method as we desired.<\/p>\n\n\n\n<p>Shown as in the below Image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"491\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png\" alt=\"restrict active payment methods\" class=\"wp-image-377824\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-300x123.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-250x102.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-768x314.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578.png 1254w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>That\u2019s all about on how to restrict active payment methods on the <a href=\"https:\/\/store.webkul.com\/magento2-one-step-checkout.html\" target=\"_blank\" rel=\"noreferrer noopener\">checkout<\/a> page.  Hope this will be helpful.<\/p>\n\n\n\n<p>This blog can be useful for various cart and payment-related operations including <a href=\"https:\/\/store.webkul.com\/magento2-partial-payment-emi.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 partial payment<\/a><\/p>\n\n\n\n<p>If you have any questions please comment below, and we will try to respond to you. Also, check our complete range of <a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Extensions<\/a>.<\/p>\n\n\n\n<p>Thanks for visiting the&nbsp;<a href=\"https:\/\/webkul.com\/\">Webkul<\/a>&nbsp;blog! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends!! In today\u2019s blog, I will recommend a solution to restrict the active payments on the checkout page according to our requirements.For example, we can restrict some active payment methods for some particular product type or for some particular country, etc. We will create an observer to set Magento 2 Payment Restrictions. So firstly <a href=\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":430,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[14045,2460,14046],"class_list":["post-377664","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-how-to-restrict-active-payment-methods-on-the-checkout-page-programmatically-in-magento-2","tag-magento-2","tag-restrict-payment-method-on-frontend-based-on-condition-in-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Restrict Payment On Checkout in Magento 2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Restrict Payment On Checkout in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-21T11:46:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-11T12:52:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png\" \/>\n<meta name=\"author\" content=\"Shweta Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shweta Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\"},\"author\":{\"name\":\"Shweta Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444\"},\"headline\":\"Restrict Payment On Checkout in Magento 2\",\"datePublished\":\"2023-04-21T11:46:02+00:00\",\"dateModified\":\"2024-03-11T12:52:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\"},\"wordCount\":187,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png\",\"keywords\":[\"How to restrict active payment methods on the checkout page programmatically in Magento 2\",\"Magento 2\",\"restrict payment method on frontend based on condition in magento 2\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\",\"name\":\"Restrict Payment On Checkout in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png\",\"datePublished\":\"2023-04-21T11:46:02+00:00\",\"dateModified\":\"2024-03-11T12:52:57+00:00\",\"description\":\"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578.png\",\"width\":1254,\"height\":513,\"caption\":\"Screenshot-2023-04-20T124127.578\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restrict Payment On Checkout in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444\",\"name\":\"Shweta Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Shweta Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/shweta-singh342\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Restrict Payment On Checkout in Magento 2 - Webkul Blog","description":"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions","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:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Restrict Payment On Checkout in Magento 2 - Webkul Blog","og_description":"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions","og_url":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-04-21T11:46:02+00:00","article_modified_time":"2024-03-11T12:52:57+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png","type":"","width":"","height":""}],"author":"Shweta Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shweta Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/"},"author":{"name":"Shweta Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444"},"headline":"Restrict Payment On Checkout in Magento 2","datePublished":"2023-04-21T11:46:02+00:00","dateModified":"2024-03-11T12:52:57+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/"},"wordCount":187,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png","keywords":["How to restrict active payment methods on the checkout page programmatically in Magento 2","Magento 2","restrict payment method on frontend based on condition in magento 2"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/","name":"Restrict Payment On Checkout in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578-1200x491.png","datePublished":"2023-04-21T11:46:02+00:00","dateModified":"2024-03-11T12:52:57+00:00","description":"How to restrict active payment methods on the checkout page programmatically in Magento 2 restrict active payments based on conditions","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20T124127.578.png","width":1254,"height":513,"caption":"Screenshot-2023-04-20T124127.578"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/restrict-payment-on-checkout-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Restrict Payment On Checkout in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444","name":"Shweta Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Shweta Singh"},"url":"https:\/\/webkul.com\/blog\/author\/shweta-singh342\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/377664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/430"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=377664"}],"version-history":[{"count":15,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/377664\/revisions"}],"predecessor-version":[{"id":426728,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/377664\/revisions\/426728"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=377664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=377664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=377664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}