How are country calling codes and rates mapped for customers?

How are country calling codes and rates mapped for customers?

WhatsApp applies country calling codes and network prefixes to decide which per-minute rate applies for outbound voice calls. This ensures accurate and transparent billing across regions.


📥 DOWNLOAD THE MAPPING FILE

👉 Download country-code-to-rate-mapping.csv
(Updated weekly. Format: Country Code, Network Prefix, Region, Rate Per Minute)


🧭 WHAT’S IN THE FILE?

The CSV contains:

  • Country Code → e.g., 91 (India)
  • Network Prefix → e.g., 981 (India mobile)
  • Region Name → e.g., South Asia – India
  • Rate per Minute (USD) → e.g., 0.0075
Example row:
91, 981, South Asia – India, 0.0075

🔎 HOW RATES ARE APPLIED

Step

What Happens

Example

1

WhatsApp reads the country code from the number

+91-9812345678 → Country Code 91

2

It checks the longest matching prefix

981 matches over 98

3

Rate is applied from the mapping file

$0.0075/min for South Asia – India

📌 Longest Prefix Rule: If multiple prefixes match, the most specific (longest) prefix is always used.


🛠️ DEVELOPER USE CASES

You can programmatically:

  • Parse the CSV and map rates to numbers in your app
  • Run a startsWith(country code + prefix) check to find the correct rate
  • Integrate with Session Initiation APIs or internal billing estimators
  • Build dashboards to compare expected vs. actual costs

⚠️ LIMITATIONS TO NOTE

  • File covers voice call rates only (not SMS or templates)
  • Mappings may change weekly — always download the latest CSV
  • Carrier overrides or VoIP blocks can cause differences between mapped vs. real-world outcomes

âś… VERIFYING RATES

  • Use the mapping file to calculate expected cost per call
  • Cross-check with your Meta Business Suite invoice
  • If discrepancies arise, open a ticket with WhatsApp Business Support [https://app.getguru.com/card/#]

đź’ˇ PRO TIP

Maintain a local cache of the mapping file but refresh it weekly. For critical billing workflows, automate the CSV fetch and validation to avoid relying on stale rate data.

    • Related Articles

    • How are country calling codes and rates mapped for customers?

      WhatsApp uses the customer’s country calling code and network prefix to determine the applicable rates. A CSV file containing the mapping of country codes to regions and rates is available for download.
    • How do I know which country or region my customer belongs to?

      WhatsApp determines the country/region based on the customer’s phone number, including the country calling code and network prefix. A full list of mapped country codes is available.
    • What are authentication-international rates?

      Authentication-international rates refer to WhatsApp’s special pricing for authentication messages sent to certain countries or regions. These rates apply only to authentication conversations—a specific type of message category used for user ...
    • What do the Region Codes in the Dashboard Stand For?

      Quick answer: Region codes are two‑letter abbreviations that the Dashboard uses to group customer traffic, billing accounts, and analytics by geographic area (Indian telecom circles, U.S. states/territories, and Canadian provinces/territories). ...
    • How do I know which country or region my customer belongs to?

      WhatsApp determines a customer’s country or region based on the country calling code and network prefix embedded in their phone number (MSISDN). This is important for regional billing, compliance, and analytics. ? How Country Detection Works When a ...