{"id":7,"date":"2026-08-22T17:57:23","date_gmt":"2026-08-22T17:57:23","guid":{"rendered":"https:\/\/royalcapitals.in\/?page_id=7"},"modified":"2026-08-22T17:57:23","modified_gmt":"2026-08-22T17:57:23","slug":"get-cibil-report","status":"publish","type":"page","link":"https:\/\/royalcapitals.in\/?page_id=7","title":{"rendered":"Get CIBIL Report"},"content":{"rendered":"    <script src=\"https:\/\/checkout.razorpay.com\/v1\/checkout.js\"><\/script>\n    <div id=\"rc-cibil-wrapper\" style=\"max-width:550px; margin:20px auto; padding:25px; background:#fff; border-radius:12px; box-shadow:0 4px 15px rgba(0,0,0,0.1); border-top: 5px solid #0B2265;\">\n        <h3 style=\"color:#0B2265; text-align:center; margin-bottom:5px;\">Instant CIBIL Report Generator<\/h3>\n        <p style=\"text-align:center; font-size:14px; color:#666;\">Get your official credit score in 2 minutes<\/p>\n\n        <form id=\"rc-cibil-form\">\n            <p>\n                <label><strong>Full Name (As per PAN):<\/strong><\/label><br\/>\n                <input type=\"text\" id=\"rc_name\" required style=\"width:100%; padding:10px; border:1px solid #ccc; border-radius:6px;\" placeholder=\"Full Legal Name\">\n            <\/p>\n            <div style=\"display:flex; gap:10px;\">\n                <p style=\"flex:1;\">\n                    <label><strong>Mobile:<\/strong><\/label><br\/>\n                    <input type=\"tel\" id=\"rc_mobile\" maxlength=\"10\" required style=\"width:100%; padding:10px; border:1px solid #ccc; border-radius:6px;\">\n                <\/p>\n                <p style=\"flex:1;\">\n                    <label><strong>Email:<\/strong><\/label><br\/>\n                    <input type=\"email\" id=\"rc_email\" required style=\"width:100%; padding:10px; border:1px solid #ccc; border-radius:6px;\">\n                <\/p>\n            <\/div>\n            <div style=\"display:flex; gap:10px;\">\n                <p style=\"flex:1;\">\n                    <label><strong>PAN Card Number:<\/strong><\/label><br\/>\n                    <input type=\"text\" id=\"rc_pan\" maxlength=\"10\" required style=\"width:100%; padding:10px; border:1px solid #ccc; border-radius:6px; text-transform:uppercase;\">\n                <\/p>\n                <p style=\"flex:1;\">\n                    <label><strong>Date of Birth:<\/strong><\/label><br\/>\n                    <input type=\"date\" id=\"rc_dob\" required style=\"width:100%; padding:10px; border:1px solid #ccc; border-radius:6px;\">\n                <\/p>\n            <\/div>\n\n            <div style=\"background:#f8f9fa; padding:15px; border-radius:6px; margin:15px 0;\">\n                <div style=\"display:flex; justify-content:space-between;\"><span>Base Fee:<\/span><span>\u20b9250.00<\/span><\/div>\n                <div style=\"display:flex; justify-content:space-between;\"><span>GST (18%):<\/span><span>\u20b945.00<\/span><\/div>\n                <hr style=\"margin:8px 0; border:0; border-top:1px solid #ddd;\">\n                <div style=\"display:flex; justify-content:space-between; font-weight:bold; color:#E51B24;\"><span>Total Amount:<\/span><span>\u20b9295.00<\/span><\/div>\n            <\/div>\n\n            <button type=\"submit\" id=\"rc-submit-btn\" style=\"width:100%; background:#E51B24; color:#fff; padding:12px; border:none; border-radius:6px; font-weight:bold; cursor:pointer;\">Pay \u20b9295 & Download CIBIL<\/button>\n            <div id=\"rc-status-msg\" style=\"margin-top:15px; text-align:center; font-weight:bold;\"><\/div>\n        <\/form>\n    <\/div>\n\n    <script>\n    document.getElementById('rc-cibil-form').addEventListener('submit', function(e) {\n        e.preventDefault();\n        var submitBtn = document.getElementById('rc-submit-btn');\n        submitBtn.disabled = true;\n        submitBtn.innerText = 'Initializing Payment...';\n\n        \/\/ 1. Create Razorpay Order\n        var data = new FormData();\n        data.append('action', 'rc_create_order');\n\n        fetch('https:\/\/royalcapitals.in\/wp-admin\/admin-ajax.php', {\n            method: 'POST',\n            body: data\n        })\n        .then(res => res.json())\n        .then(res => {\n            if(!res.success) {\n                alert('Order Error: ' + res.data);\n                submitBtn.disabled = false;\n                submitBtn.innerText = 'Pay \u20b9295 & Download CIBIL';\n                return;\n            }\n\n            var options = {\n                \"key\": \"rzp_live_TNDmFMXLshe1Sh\",\n                \"amount\": res.data.amount,\n                \"currency\": \"INR\",\n                \"name\": \"Royal Capital Financial Services\",\n                \"description\": \"CIBIL Report & Tax Invoice\",\n                \"order_id\": res.data.id,\n                \"handler\": function (response){\n                    document.getElementById('rc-status-msg').innerHTML = '<span style=\"color:blue;\">Payment Received! Fetching CIBIL Score from API...<\/span>';\n\n                    \/\/ 2. Fetch CIBIL via API\n                    var processData = new FormData();\n                    processData.append('action', 'rc_process_cibil');\n                    processData.append('payment_id', response.razorpay_payment_id);\n                    processData.append('name', document.getElementById('rc_name').value);\n                    processData.append('mobile', document.getElementById('rc_mobile').value);\n                    processData.append('email', document.getElementById('rc_email').value);\n                    processData.append('pan', document.getElementById('rc_pan').value);\n                    processData.append('dob', document.getElementById('rc_dob').value);\n\n                    fetch('https:\/\/royalcapitals.in\/wp-admin\/admin-ajax.php', {\n                        method: 'POST',\n                        body: processData\n                    })\n                    .then(r => r.json())\n                    .then(r => {\n                        if(r.success) {\n                            document.getElementById('rc-status-msg').innerHTML = '<span style=\"color:green;\">Success! Score: ' + r.data.score + '. Sent to Email. <a href=\"' + r.data.report_url + '\" target=\"_blank\">Download Report<\/a><\/span>';\n                        } else {\n                            document.getElementById('rc-status-msg').innerHTML = '<span style=\"color:red;\">Error fetching report. Support contacted.<\/span>';\n                        }\n                    });\n                },\n                \"prefill\": {\n                    \"name\": document.getElementById('rc_name').value,\n                    \"email\": document.getElementById('rc_email').value,\n                    \"contact\": document.getElementById('rc_mobile').value\n                },\n                \"theme\": { \"color\": \"#0B2265\" }\n            };\n            var rzp1 = new Razorpay(options);\n            rzp1.open();\n        });\n    });\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-7","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/pages\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/royalcapitals.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":1,"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/pages\/7\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/royalcapitals.in\/index.php?rest_route=\/wp\/v2\/pages\/7\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/royalcapitals.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}