{"id":2570,"date":"2022-03-01T12:39:16","date_gmt":"2022-03-01T12:39:16","guid":{"rendered":"https:\/\/www.reloadly.com\/blog\/?p=2570"},"modified":"2022-03-01T08:39:52","modified_gmt":"2022-03-01T08:39:52","slug":"test-recipient-number-valid-before-calling-topup","status":"publish","type":"post","link":"https:\/\/reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/","title":{"rendered":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint"},"content":{"rendered":"\n<p>Before we jump into the specifics it makes sense to get a few definitions clear.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a TopUp<\/h2>\n\n\n\n<p>Let&#8217;s start by revisiting the concept of a TopUp.<\/p>\n\n\n\n<p>A TopUp operation is a means to send credit from your <a href=\"https:\/\/www.reloadly.com\/my-wallet\" target=\"_blank\" rel=\"noreferrer noopener\">Reloadly Wallet<\/a> to a phone around the world.<\/p>\n\n\n\n<p>TopUps can be Local or International depending on your specific needs.<\/p>\n\n\n\n<p>Also, TopUp operations can be made in two modes:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Synchronous<\/li><li>Asynchronous<\/li><\/ul>\n\n\n\n<p>To learn more about Top Up operations please refer to <a href=\"https:\/\/docs.reloadly.com\/airtime\/top-ups\/top-up\" target=\"_blank\" rel=\"noreferrer noopener\">this document<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why you need a valid number to make a TopUp<\/h2>\n\n\n\n<p>In order for a Top Up operation to be successful the information you provide in the parameters <code>operatorId<\/code>, <code>recipientPhone<\/code> (Or <code>recipientEmail<\/code> in the case of Cuba) and <code>countryCode<\/code> must correspond to an <strong>active and pre-paid<\/strong> phone.<\/p>\n\n\n\n<p>If any of these conditions is not met your Top Up will fail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What end point can be used to test the validity of a phone number<\/h2>\n\n\n\n<p>At the moment what you can do to test the validity of a phone number is to use the paid endpoint <a href=\"https:\/\/docs.reloadly.com\/numberlookup\/\">Number Lookup<\/a>.<\/p>\n\n\n\n<p>With this API you can get detailed information about a phone number anywhere in the world.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example test of a phone number&#8217;s validity<\/h2>\n\n\n\n<p>As with all the other API calls, the first step is to get an access token. Read <a href=\"https:\/\/auth.reloadly.com\/oauth\/token\" target=\"_blank\" rel=\"noreferrer noopener\">this article<\/a> if you need further instructions on how to get one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sending the request<\/h3>\n\n\n\n<p>Once you have an access token, issuing a request such as:<\/p>\n\n\n\n<p><code>curl --location --request GET 'https:\/\/topups.reloadly.com\/operators\/mnp-lookup\/phone\/<strong>PHONE_NUMBER<\/strong>\/countries\/<strong>COUNTRY_ISO_CODE<\/strong>?suggestedAmountsMap=true&amp;SuggestedAmounts=true' \\<br>--header 'Authorization: Bearer <strong>YOUR_TOKEN<\/strong>' \\<br>--header 'Accept: application\/com.reloadly.topups-v1+json'<\/code><\/p>\n\n\n\n<p>Will return a response like:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n\t\"id\": 17,\n\t\"operatorId\": 17,\n\t\"name\": \"Personal Argentina\",\n\t\"bundle\": false,\n\t\"data\": false,\n\t\"pin\": false,\n\t\"supportsLocalAmounts\": false,\n\t\"supportsGeographicalRechargePlans\": false,\n\t\"denominationType\": \"RANGE\",\n\t\"senderCurrencyCode\": \"EUR\",\n\t\"senderCurrencySymbol\": \"\u20ac\",\n\t\"destinationCurrencyCode\": \"ARS\",\n\t\"destinationCurrencySymbol\": \"$\",\n\t\"commission\": 8.0,\n\t\"internationalDiscount\": 8.0,\n\t\"localDiscount\": 0.0,\n\t\"mostPopularAmount\": 8,\n\t\"mostPopularLocalAmount\": null,\n\t\"minAmount\": 0.05,\n\t\"maxAmount\": 10,\n\t\"localMinAmount\": null,\n\t\"localMaxAmount\": null,\n\t\"country\": {\n\t\t\"isoName\": \"AR\",\n\t\t\"name\": \"Argentina\"\n\t},\n\t\"fx\": {\n\t\t\"rate\": 96.82926,\n\t\t\"currencyCode\": \"ARS\"\n\t},\n\t\"logoUrls\": [\"https:\/\/s3.amazonaws.com\/rld-operator\/51fb6a28-9274-4118-baaa-180297d9a0fc-size-1.png\", \"https:\/\/s3.amazonaws.com\/rld-operator\/51fb6a28-9274-4118-baaa-180297d9a0fc-size-3.png\", \"https:\/\/s3.amazonaws.com\/rld-operator\/51fb6a28-9274-4118-baaa-180297d9a0fc-size-2.png\"],\n\t\"fixedAmounts\": [],\n\t\"fixedAmountsDescriptions\": {},\n\t\"localFixedAmounts\": [],\n\t\"localFixedAmountsDescriptions\": {},\n\t\"suggestedAmounts\": [1, 4, 8],\n\t\"suggestedAmountsMap\": {\n\t\t\"1\": 96.83,\n\t\t\"4\": 387.32,\n\t\t\"8\": 774.64\n\t},\n\t\"geographicalRechargePlans\": [],\n\t\"promotions\": []\n}<\/pre>\n\n\n\n<p>If the parameters correspond to a valid phone number, otherwise the response will look something like:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n\t\"timeStamp\": \"2022-02-25 11:12:58\",\n\t\"message\": \"MNP Lookup for given phone number failed\",\n\t\"path\": \"\/operators\/mnp-lookup\/phone\/549115497368\/countries\/AR\",\n\t\"errorCode\": \"COULD_NOT_AUTO_DETECT_OPERATOR\",\n\t\"infoLink\": null,\n\t\"details\": []\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Analyzing the response<\/h3>\n\n\n\n<p>In this particular case where all you need is to determine whether the number is valid or not you can simply examine the HTTP response code: a <code>200<\/code> means the number is in fact valid while a <code>404<\/code> signals the opposite.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Additional notes<\/h2>\n\n\n\n<p>Bear in mind that this is a paid service so each request will be charged to your account.<\/p>\n\n\n\n<p>In fact, before you can make any of the requests discussed in this article you&#8217;ll need to enable the endpoint for the specific country or countries you&#8217;ll be looking numbers up.<\/p>\n\n\n\n<p>You can do that from your Reloadly Dashboard, right <a href=\"https:\/\/www.reloadly.com\/carrier-lookup\/pricing\">here<\/a>. In this screen you&#8217;ll have all the information you need, including the price for API usage so you can enable only those queries that are important for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Endpoints mentioned in this article<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/docs.reloadly.com\/numberlookup\/number-lookup\/mobile-number-lookup-get\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/topups.reloadly.com\/operators\/mnp-lookup\/<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you want to prevent your top up calls from failing you need to make sure the phone number you&#8217;re providing is valid. Learn how to do that here.<\/p>\n","protected":false},"author":22,"featured_media":2592,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[274],"tags":[345,14],"ppma_author":[361],"class_list":["post-2570","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-blog","tag-number-validation","tag-top-up-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog<\/title>\n<meta name=\"description\" content=\"Are your top up calls failing? Prevent that by making sure the phone number you&#039;re providing is valid. Learn how to do that here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog\" \/>\n<meta property=\"og:description\" content=\"Are your top up calls failing? Prevent that by making sure the phone number you&#039;re providing is valid. Learn how to do that here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/\" \/>\n<meta property=\"og:site_name\" content=\"Reloadly Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-01T12:39:16+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/54.167.47.128\/wp-content\/uploads\/2022\/02\/blog_image43-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"641\" \/>\n\t<meta property=\"og:image:height\" content=\"334\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mauro Chojrin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mauro Chojrin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/\"},\"author\":{\"name\":\"Mauro Chojrin\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#\\\/schema\\\/person\\\/2dd23f6de63ee3ef6002e1303f690b0d\"},\"headline\":\"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint\",\"datePublished\":\"2022-03-01T12:39:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/\"},\"wordCount\":423,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/blog_image43-01.png\",\"keywords\":[\"number validation\",\"top up api\"],\"articleSection\":[\"Developer Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/\",\"url\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/\",\"name\":\"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/blog_image43-01.png\",\"datePublished\":\"2022-03-01T12:39:16+00:00\",\"description\":\"Are your top up calls failing? Prevent that by making sure the phone number you're providing is valid. Learn how to do that here.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/blog_image43-01.png\",\"contentUrl\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/blog_image43-01.png\",\"width\":641,\"height\":334},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/test-recipient-number-valid-before-calling-topup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/\",\"name\":\"Reloadly Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#organization\",\"name\":\"Reloadly\",\"url\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/logo-1.svg\",\"contentUrl\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/logo-1.svg\",\"width\":100,\"height\":100,\"caption\":\"Reloadly\"},\"image\":{\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.reloadly.com\\\/blog\\\/#\\\/schema\\\/person\\\/2dd23f6de63ee3ef6002e1303f690b0d\",\"name\":\"Mauro Chojrin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g20f6f8ad33a47f3e29be1daa6bc5835a\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g\",\"caption\":\"Mauro Chojrin\"},\"url\":\"https:\\\/\\\/reloadly.com\\\/blog\\\/author\\\/mauro-chojrin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog","description":"Are your top up calls failing? Prevent that by making sure the phone number you're providing is valid. Learn how to do that here.","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:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/","og_locale":"en_US","og_type":"article","og_title":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog","og_description":"Are your top up calls failing? Prevent that by making sure the phone number you're providing is valid. Learn how to do that here.","og_url":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/","og_site_name":"Reloadly Blog","article_published_time":"2022-03-01T12:39:16+00:00","og_image":[{"width":641,"height":334,"url":"http:\/\/54.167.47.128\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","type":"image\/png"}],"author":"Mauro Chojrin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mauro Chojrin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#article","isPartOf":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/"},"author":{"name":"Mauro Chojrin","@id":"https:\/\/www.reloadly.com\/blog\/#\/schema\/person\/2dd23f6de63ee3ef6002e1303f690b0d"},"headline":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint","datePublished":"2022-03-01T12:39:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/"},"wordCount":423,"commentCount":1,"publisher":{"@id":"https:\/\/www.reloadly.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","keywords":["number validation","top up api"],"articleSection":["Developer Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/","url":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/","name":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint - Reloadly Blog","isPartOf":{"@id":"https:\/\/www.reloadly.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#primaryimage"},"image":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","datePublished":"2022-03-01T12:39:16+00:00","description":"Are your top up calls failing? Prevent that by making sure the phone number you're providing is valid. Learn how to do that here.","breadcrumb":{"@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#primaryimage","url":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","contentUrl":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","width":641,"height":334},{"@type":"BreadcrumbList","@id":"https:\/\/www.reloadly.com\/blog\/test-recipient-number-valid-before-calling-topup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.reloadly.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to test if a recipient phone number is valid before calling Reloadly\u2019s TopUp endpoint"}]},{"@type":"WebSite","@id":"https:\/\/www.reloadly.com\/blog\/#website","url":"https:\/\/www.reloadly.com\/blog\/","name":"Reloadly Blog","description":"","publisher":{"@id":"https:\/\/www.reloadly.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.reloadly.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.reloadly.com\/blog\/#organization","name":"Reloadly","url":"https:\/\/www.reloadly.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.reloadly.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2020\/11\/logo-1.svg","contentUrl":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2020\/11\/logo-1.svg","width":100,"height":100,"caption":"Reloadly"},"image":{"@id":"https:\/\/www.reloadly.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.reloadly.com\/blog\/#\/schema\/person\/2dd23f6de63ee3ef6002e1303f690b0d","name":"Mauro Chojrin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g20f6f8ad33a47f3e29be1daa6bc5835a","url":"https:\/\/secure.gravatar.com\/avatar\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g","caption":"Mauro Chojrin"},"url":"https:\/\/reloadly.com\/blog\/author\/mauro-chojrin\/"}]}},"jetpack_featured_media_url":"https:\/\/www.reloadly.com\/blog\/wp-content\/uploads\/2022\/02\/blog_image43-01.png","authors":[{"term_id":361,"user_id":22,"is_guest":0,"slug":"mauro-chojrin","display_name":"Mauro Chojrin","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/7ebf4f71751034b32e4747bbc3b7e42723e1320b8c45cda722eb794bb356890d?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/comments?post=2570"}],"version-history":[{"count":4,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2570\/revisions"}],"predecessor-version":[{"id":2593,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/posts\/2570\/revisions\/2593"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/media\/2592"}],"wp:attachment":[{"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/media?parent=2570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/categories?post=2570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/tags?post=2570"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/reloadly.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}