{"id":2766,"date":"2022-07-12T13:06:27","date_gmt":"2022-07-12T13:06:27","guid":{"rendered":"https:\/\/www.reloadly.com\/blog\/?p=2766"},"modified":"2022-08-22T10:35:39","modified_gmt":"2022-08-22T10:35:39","slug":"how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly","status":"publish","type":"post","link":"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/","title":{"rendered":"How to detect discounts for your mobile number\u2019s operator using Reloadly"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_46 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"ez-toc-toggle-icon-1\"><label for=\"item-69ed5ef9b6642\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input  type=\"checkbox\" id=\"item-69ed5ef9b6642\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-visibility-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#Types_of_discounts\" title=\"Types of discounts\">Types of discounts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#Getting_the_discount_details_of_your_mobile_number\" title=\"Getting the discount details of your mobile number\">Getting the discount details of your mobile number<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#Resources\" title=\"Resources\">Resources<\/a><\/li><\/ul><\/nav><\/div>\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>When making a top-up, you can access discounts for your mobile number based on your operator. In this guide, you will learn how to detect if discounts exist for your mobile number or the number you want to make a top-up for.<\/p>\n\n\n\n<p>The objective of this guide can be achieved with the following steps:<\/p>\n\n\n\n<ul><li>Getting your access token<\/li><li>Types of discounts<\/li><li>Getting the discount details of your mobile number<\/li><\/ul>\n\n\n\n<p><em>You can get your access token by following the steps in this <\/em><a href=\"https:\/\/developers.reloadly.com\/airtime\/quickstart\" target=\"_blank\" rel=\"noreferrer noopener\"><em>quickstart<\/em><\/a><em>.<\/em><\/p>\n\n\n\n<div style=\"height:42px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Types_of_discounts\"><\/span>Types of discounts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>Local discounts<\/strong>: These discounts are applicable to top-ups made to a mobile number that is registered in the same country of origin as your Reloadly account. For example, if your account\u2019s country is Spain and you want to make a top-up to a mobile number registered in Spain &#8211; only local discounts will apply to that mobile number.<\/p>\n\n\n\n<p><strong>International discounts<\/strong>: These are discounts applied when you are making a top-up to a mobile number registered in any country besides the country your account is registered in. For example, if your account\u2019s country is Ghana and you want to make a top-up to a mobile number registered in Colombia, international discounts will apply to that mobile number.<\/p>\n\n\n\n<p><em>Note that international discounts cannot be applied to local numbers and vice versa.<\/em><\/p>\n\n\n\n<div style=\"height:43px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Getting_the_discount_details_of_your_mobile_number\"><\/span>Getting the discount details of your mobile number<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Suppose you are located in Cape Verde and you want to identify if discounts exist for your local mobile number 2389321930. Using your mobile number and Cape Verde\u2019s ISO code, you can make a request to <a href=\"https:\/\/docs.reloadly.com\/airtime\/tag\/Operators#operation\/airtime\/auto-detect-an-operator\" target=\"_blank\" rel=\"noreferrer noopener\">an endpoint that automatically detects operator<\/a><a href=\"https:\/\/docs.reloadly.com\/tag\/Airtime#operation\/airtime\/auto-detect-an-operator\">s<\/a>. The cURL code sample below shows how this can be achieved<\/p>\n\n\n\n<div style=\"height:44px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -i -X GET \\\n  'https:\/\/topups-sandbox.reloadly.com\/operators\/auto-detect\/phone\/2389321930\/countries\/CV' \\\n  -H 'Authorization: Bearer &lt;YOUR_TOKEN_HERE&gt;'\n<\/code><\/pre>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If the above request was successful, you should get the following response:<\/p>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"id\": 943,\n  \"operatorId\": 943,\n  \"name\": \"Unitel Cape Verde\",\n  \"bundle\": false,\n  \"data\": false,\n  \"pin\": false,\n  \"supportsLocalAmounts\": true,\n  \"supportsGeographicalRechargePlans\": false,\n  \"denominationType\": \"RANGE\",\n  \"senderCurrencyCode\": \"CVE\",\n  \"senderCurrencySymbol\": \"CV$\",\n  \"destinationCurrencyCode\": \"CVE\",\n  \"destinationCurrencySymbol\": \"CV$\",\n  \"commission\": 6,\n  \"internationalDiscount\": 6,\n  \"localDiscount\": 3,\n  \"mostPopularAmount\": 6240,\n  \"mostPopularLocalAmount\": null,\n  \"minAmount\": 249.61,\n  \"maxAmount\": 454668,\n  \"localMinAmount\": 50,\n  \"localMaxAmount\": 100000,\n  \"country\": {\n    \"isoName\": \"CV\",\n    \"name\": \"Cape Verde\"\n  },\n  \"fx\": {\n    \"rate\": 1,\n    \"currencyCode\": \"CVE\"\n  },\n  \"logoUrls\": &#091;\n    \"https:\/\/s3.amazonaws.com\/rld-operator\/f375d995-f33f-4b6a-bd44-b080e5390dd1-size-3.png\",\n    \"https:\/\/s3.amazonaws.com\/rld-operator\/f375d995-f33f-4b6a-bd44-b080e5390dd1-size-2.png\",\n    \"https:\/\/s3.amazonaws.com\/rld-operator\/f375d995-f33f-4b6a-bd44-b080e5390dd1-size-1.png\"\n  ],\n  \"fixedAmounts\": &#091;],\n  \"fixedAmountsDescriptions\": {},\n  \"localFixedAmounts\": &#091;],\n  \"localFixedAmountsDescriptions\": {},\n  \"suggestedAmounts\": &#091;\n    416,\n    2080,\n    4160\n  ],\n  \"suggestedAmountsMap\": {},\n  \"geographicalRechargePlans\": &#091;],\n  \"promotions\": &#091;],\n  \"status\": \"ACTIVE\"\n}\n<\/code><\/pre>\n\n\n\n<div style=\"height:41px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The response above shows you every detail you need to know about your mobile number\u2019s operator. Let\u2019s highlight a few key details<\/p>\n\n\n\n<div style=\"height:42px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>  \"operatorId\": 943,\n  \"name\": \"Unitel Cape Verde\",\n  \"internationalDiscount\": 6,\n  \"localDiscount\": 3\n<\/code><\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The <code>localDiscount<\/code> property shows that for every top-up you send to your local Unitel Cape Verde mobile number, a discount of 3% will be applied.<\/p>\n\n\n\n<div style=\"height:42px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Resources\"><\/span>Resources<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><a href=\"https:\/\/docs.reloadly.com\/airtime\" target=\"_blank\" rel=\"noreferrer noopener\">Reloadly Airtime API<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/developers.reloadly.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Reloadly Developer Documentation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to identify discounts(commissions) related to your mobile number when making a top-up. This guide was written with code samples in test mode. Code samples in responses may be abbreviated.<\/p>\n","protected":false},"author":17,"featured_media":2756,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[274],"tags":[11,395,314,394,199],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to detect discounts for your mobile number\u2019s operator using Reloadly - Reloadly<\/title>\n<meta name=\"description\" content=\"Reloadly Resources. Insights, Info and Analysis For The Mobile Airtime API Community\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to detect discounts for your mobile number\u2019s operator using Reloadly - Reloadly\" \/>\n<meta property=\"og:description\" content=\"Reloadly Resources. Insights, Info and Analysis For The Mobile Airtime API Community\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\" \/>\n<meta property=\"og:site_name\" content=\"Reloadly\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-12T13:06:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-22T10:35:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.reloadly.com\/blog\/wp-content\/uploads\/2022\/07\/cover-image-blogs.png\" \/>\n\t<meta property=\"og:image:width\" content=\"641\" \/>\n\t<meta property=\"og:image:height\" content=\"334\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#organization\",\"name\":\"Reloadly\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/wp-content\/uploads\/2020\/11\/logo-1.svg\",\"width\":100,\"height\":100,\"caption\":\"Reloadly\"},\"image\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#website\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/\",\"name\":\"Reloadly\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/blog.reloadly.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/wp-content\/uploads\/2022\/07\/cover-image-blogs.png\",\"width\":641,\"height\":334},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#webpage\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\",\"name\":\"How to detect discounts for your mobile number\\u2019s operator using Reloadly - Reloadly\",\"isPartOf\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#primaryimage\"},\"datePublished\":\"2022-07-12T13:06:27+00:00\",\"dateModified\":\"2022-08-22T10:35:39+00:00\",\"description\":\"Reloadly Resources. Insights, Info and Analysis For The Mobile Airtime API Community\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\",\"url\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/\",\"name\":\"How to detect discounts for your mobile number\\u2019s operator using Reloadly\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#webpage\"},\"author\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#\/schema\/person\/2400042054e3b3009489e487224a6984\"},\"headline\":\"How to detect discounts for your mobile number\\u2019s operator using Reloadly\",\"datePublished\":\"2022-07-12T13:06:27+00:00\",\"dateModified\":\"2022-08-22T10:35:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#primaryimage\"},\"keywords\":\"airtime,commissions,developers,discounts,top-ups\",\"articleSection\":\"Developer Blog\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.reloadly.com\/blog\/how-to-detect-discounts-for-your-mobile-numbers-operator-using-reloadly\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#\/schema\/person\/2400042054e3b3009489e487224a6984\",\"name\":\"Raphael Ugwu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.reloadly.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/656844c0101d37e5695eee915ed3a49d?s=96&d=mm&r=g\",\"caption\":\"Raphael Ugwu\"},\"url\":\"https:\/\/blog.reloadly.com\/blog\/author\/fullstackmafia\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","authors":[{"term_id":359,"user_id":17,"is_guest":0,"slug":"fullstackmafia","display_name":"Raphael Ugwu"}],"_links":{"self":[{"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2766"}],"collection":[{"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/comments?post=2766"}],"version-history":[{"count":5,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2766\/revisions"}],"predecessor-version":[{"id":3454,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2766\/revisions\/3454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/media\/2756"}],"wp:attachment":[{"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/media?parent=2766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/categories?post=2766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.reloadly.com\/blog\/wp-json\/wp\/v2\/tags?post=2766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}