{"id":413761,"date":"2026-12-01T20:05:51","date_gmt":"2026-12-01T20:05:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/betloy-booking-code-converter\/"},"modified":"2026-12-01T20:05:43","modified_gmt":"2026-12-01T20:05:43","slug":"betloy-booking-code-converter","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/betloy-booking-code-converter\/","author":23616248,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Betloy Booking Code Converter","header_author":"thankgod30","header_description":"Let visitors convert betting booking codes between bookmakers using the Betloy API.","last_updated":"2026-12-01 20:05:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/betloy.com\/api","header_author_uri":"https:\/\/profiles.wordpress.org\/thankgod30\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":300,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.4":{"tag":"1.0.4","author":"betloy","date":"2026-12-01 20:05:43","revision":3838561}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3838764,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3838764,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3838764,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500}},"assets_blueprints":{},"all_blocks":{"betloy\/converter":{"name":"betloy\/converter","title":"Betloy Converter"}},"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[296974,11927,296973,5520,80],"plugin_category":[43,59],"plugin_contributors":[296726,296975],"plugin_business_model":[],"class_list":["post-413761","plugin","type-plugin","status-publish","hentry","plugin_tags-betloy","plugin_tags-betting","plugin_tags-booking-code","plugin_tags-converter","plugin_tags-shortcode","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-betloy","plugin_contributors-thankgod30","plugin_committers-betloy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/betloy-booking-code-converter\/assets\/icon-128x128.png?rev=3838764","icon_2x":"https:\/\/ps.w.org\/betloy-booking-code-converter\/assets\/icon-256x256.png?rev=3838764","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Betloy Booking Code Converter adds a small, theme-friendly form that converts a\nbooking code from one bookmaker to another. It is powered by the Betloy\nbusiness API and is designed for tipping sites, betting blogs and community\nforums that already talk about booking codes.<\/p>\n\n<p>This plugin is developed and maintained by thankgod30 for use with the Betloy\nAPI. Betloy is a trademark of its respective owner.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Two bookmaker dropdowns and a single booking-code field.<\/li>\n<li>Works with a shortcode, a Gutenberg block, or a widget\/shortcode block.<\/li>\n<li>The Betloy API key stays on your server. Visitors only talk to your site.<\/li>\n<li>Server-side bookmaker cache to keep pages fast.<\/li>\n<li>Per-visitor and site-wide hourly limits to stop abuse.<\/li>\n<li>Accent colour, heading, intro text and attribution are configurable.<\/li>\n<li>Cache-friendly public REST endpoints with per-IP and site-wide hourly limits.<\/li>\n<li>Accessible markup with labelled fields, live feedback and a copy button.<\/li>\n<\/ul>\n\n<p>The plugin does not store booking codes. Each successful conversion is sent to\nBetloy, converted, and returned to the visitor.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the Betloy Business API, operated by Betloy\n(https:\/\/betloy.com). The connection is required for the plugin's core feature:\nconverting a booking code.<\/p>\n\n<p>Data sent:<\/p>\n\n<ul>\n<li>When a visitor submits the form: the booking code, the source bookmaker id,\nand the destination bookmaker id.<\/li>\n<li>When an administrator saves settings or clicks \"Refresh bookmaker list\": a\nrequest for the bookmaker catalogue. No personal data is sent.<\/li>\n<\/ul>\n\n<p>Endpoints:<\/p>\n\n<ul>\n<li>https:\/\/betloy.com\/api\/v1\/convert<\/li>\n<li>https:\/\/betloy.com\/api\/v1\/bookmakers<\/li>\n<\/ul>\n\n<p>The site's Betloy API key is added server-side. It is never sent to the\nbrowser. The plugin does not send site data, user accounts, email addresses, or\ntracking data.<\/p>\n\n<p>Terms: https:\/\/betloy.com\/terms-and-conditions\nPrivacy: https:\/\/betloy.com\/privacy-policy<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the ZIP through <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>. You can also\ncopy the plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to <strong>Settings \u2192 Betloy Converter<\/strong>.<\/li>\n<li>Paste a business API key from https:\/\/betloy.com\/business\/api-keys.<\/li>\n<li>Add <code>[betloy_converter]<\/code> to a page, post or widget, or insert the\n<strong>Betloy Converter<\/strong> block.<\/li>\n<\/ol>\n\n<p>You can also define the key in <code>wp-config.php<\/code> instead of the database:<\/p>\n\n<pre><code>define( 'BETLOY_CONVERTER_API_KEY', 'btly_your_key_here' );\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20expose%20my%20api%20key%3F\"><h3>Does the plugin expose my API key?<\/h3><\/dt>\n<dd><p>No. The browser calls the plugin's own REST endpoint, and the plugin adds the\nkey to the server-to-server request. The key is never printed in HTML or\nJavaScript.<\/p><\/dd>\n<dt id=\"why%20does%20a%20conversion%20fail%20with%20%22run%20out%20of%20conversion%20credits%22%3F\"><h3>Why does a conversion fail with \"run out of conversion credits\"?<\/h3><\/dt>\n<dd><p>Every successful conversion spends one credit on your Betloy business account.\nCheck your balance at https:\/\/betloy.com\/business\/api-keys. Failed conversions\nare not charged by Betloy.<\/p><\/dd>\n<dt id=\"can%20i%20use%20it%20on%20a%20cached%20site%3F\"><h3>Can I use it on a cached site?<\/h3><\/dt>\n<dd><p>Yes. The REST endpoints are public by design, so full-page caches and CDNs do\nnot break the form. Abuse is limited to 30 conversions per IP per hour and\n1,000 per site per hour. The API key is only used server-side.<\/p><\/dd>\n<dt id=\"how%20do%20i%20change%20the%20heading%20or%20colours%3F\"><h3>How do I change the heading or colours?<\/h3><\/dt>\n<dd><p>Use <strong>Settings \u2192 Betloy Converter<\/strong>, or override per shortcode:<\/p>\n\n<pre><code>[betloy_converter title=\"Swap your slip\" from=\"betika\" to=\"sportpesa\"]\n<\/code><\/pre><\/dd>\n<dt id=\"which%20bookmakers%20are%20listed%3F\"><h3>Which bookmakers are listed?<\/h3><\/dt>\n<dd><p>The list comes from <code>GET \/api\/v1\/bookmakers<\/code> on the Betloy API and is cached\nfor 60 minutes by default. Use the <strong>Refresh bookmaker list<\/strong> button after\nBetloy adds a bookmaker.<\/p><\/dd>\n<dt id=\"is%20the%20booking%20code%20stored%3F\"><h3>Is the booking code stored?<\/h3><\/dt>\n<dd><p>The plugin does not store codes. Betloy processes the conversion and returns\nthe result. Standard Betloy API usage and retention rules apply.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Aligned the text domain and plugin folder with the WordPress.org slug\n  betloy-booking-code-converter so Plugin Check reports no mismatch.<\/li>\n<li>Kept the public plugin name <code>Betloy Booking Code Converter<\/code>.<\/li>\n<li>Clarified the readme short description to satisfy the readme language check.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Restored the Betloy Booking Code Converter display name.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Updated the plugin name and text domain for a review naming request.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Removed the manual textdomain loader; WordPress loads translations automatically.<\/li>\n<li>Sanitized and unslashed the visitor IP before rate limiting.<\/li>\n<li>Replaced the refresh query flag with a short-lived transient.<\/li>\n<li>Limited readme tags to five and corrected contributor and link metadata.<\/li>\n<li>Added external-service and privacy disclosure.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: shortcode, block, settings screen, REST proxy, caching and\nrate limits.<\/li>\n<\/ul>","raw_excerpt":"Let visitors convert betting booking codes between bookmakers directly on your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/413761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=413761"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/betloy"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=413761"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=413761"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=413761"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=413761"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=413761"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=413761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}