Developer Docs

Table of contents

Retrieving the Viber price table

GET /viber/prices/{tariff}

The optional parameter tariff indicates the number of the rate scale. By default (if absent) it is assumed to be 0 (Global tariff).

Example of the correct response:

    "error": "0",
    "prices": [
            "type": "viber",
            "country": " AE",
            "country_name": "United Arab Emirates",
            "mcc": " 424",
            "price": "0.01",
            "currency": "EUR"

The response will list all countries for which it is possible to send SMS messages, together with prices.

In case if the request contains an error:

"error":"6","errorDescription":"Invalid tariff code"

We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Website Data Collection Policy.