{"id":2,"date":"2026-06-29T07:04:15","date_gmt":"2026-06-29T07:04:15","guid":{"rendered":"https:\/\/pay-by-link.co.uk\/?page_id=2"},"modified":"2026-07-06T10:24:56","modified_gmt":"2026-07-06T10:24:56","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/pay-by-link.co.uk\/","title":{"rendered":"Sample Page"},"content":{"rendered":"<div class=\"exp-payment\">\t\t<form class=\"exp-payment__form\" action=\"https:\/\/pay-by-link.co.uk\/index.php?rest_route=wpv2pages2\" method=\"post\" onsubmit=\"return EXPValidatePayment(this)\">\n\t\t\t<fieldset>\n\t\t\t\t<legend>Invoice Payment<\/legend>\n\t\t\t\t\t\t\t\t<p class=\"exp-payment__intro\">You are able to pay your invoices securely online. Simply type in your invoice number and amount below. We accept all major credit and debit cards.<\/p>\n\t\t\t\t\n\t\t\t\t<label for=\"exp_invoice\">Invoice Number<\/label>\n\t\t\t\t<input id=\"exp_invoice\" name=\"exp_invoice\" type=\"text\" value=\"\" required>\n\n\t\t\t\t<label for=\"exp_amount\">Invoice Amount (&pound;)<\/label>\n\t\t\t\t<input id=\"exp_amount\" name=\"exp_amount\" type=\"text\" inputmode=\"decimal\" value=\"\" required>\n\n\t\t\t\t<label for=\"exp_postcode\">Postcode<\/label>\n\t\t\t\t<input id=\"exp_postcode\" name=\"exp_postcode\" type=\"text\" value=\"\" required>\n\n\t\t\t\t\t\t\t\t<label for=\"exp_name\">Name <span class=\"exp-optional\">(optional)<\/span><\/label>\n\t\t\t\t<input id=\"exp_name\" name=\"exp_name\" type=\"text\" value=\"\">\n\n\t\t\t\t<label for=\"exp_email\">Email address<\/label>\n\t\t\t\t<input id=\"exp_email\" name=\"exp_email\" type=\"email\" value=\"\" required>\n\t\t\t\t<p class=\"exp-hint\">We will email your receipt to this address.<\/p>\n\t\t\t\t\n\t\t\t\t<input type=\"hidden\" name=\"exp_step\" value=\"details\">\n\t\t\t\t<input type=\"hidden\" name=\"exp_nonce\" value=\"93c6803994\">\n\n\t\t\t\t<button type=\"submit\" class=\"exp-payment__button\">Continue<\/button>\n\t\t\t<\/fieldset>\n\t\t<\/form>\n\t\t<script>\n\t\tfunction EXPValidatePayment(form) {\n\t\t\tvar amount = form.exp_amount.value.trim();\n\t\t\tvar postcode = form.exp_postcode.value.trim();\n\t\t\tif (!amount) { alert('Amount is required'); return false; }\n\t\t\tif (!\/^[0-9]\\d*((,\\d{3})?(\\.\\d{0,2})?)$\/.test(amount)) { alert('Invalid amount'); return false; }\n\t\t\tif (!postcode) { alert('Postcode is required'); return false; }\n\t\t\tif (!\/^[A-Z]{1,2}\\d[A-Z\\d]? ?\\d[A-Z]{2}$\/i.test(postcode)) { alert('Invalid postcode'); return false; }\n\t\t\tif (form.exp_email) {\n\t\t\t\tvar email = form.exp_email.value.trim();\n\t\t\t\tif (!email) { alert('Email address is required'); return false; }\n\t\t\t\tif (!\/^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$\/.test(email)) { alert('Please enter a valid email address'); return false; }\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\t<\/script>\n\t\t<div class=\"exp-accepted-cards\"><div class=\"exp-scheme-cap\">Cards accepted<\/div><div class=\"exp-scheme-row\"><img loading=\"lazy\" decoding=\"async\" class=\"exp-scheme\" src=\"https:\/\/pay-by-link.co.uk\/wp-content\/plugins\/encoded-payment-gateway\/assets\/img\/schemes\/visa.png\" alt=\"Visa\" width=\"40\" height=\"26\"><img loading=\"lazy\" decoding=\"async\" class=\"exp-scheme\" src=\"https:\/\/pay-by-link.co.uk\/wp-content\/plugins\/encoded-payment-gateway\/assets\/img\/schemes\/mastercard.png\" alt=\"Mastercard\" width=\"40\" height=\"26\"><img loading=\"lazy\" decoding=\"async\" class=\"exp-scheme\" src=\"https:\/\/pay-by-link.co.uk\/wp-content\/plugins\/encoded-payment-gateway\/assets\/img\/schemes\/maestro.png\" alt=\"Maestro\" width=\"40\" height=\"26\"><\/div><div class=\"exp-scheme-note\">Sorry, we do not accept American Express.<\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":3,"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/pay-by-link.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}