Developer Docs
Table of contents

Getting the SMS price table

GET /sms/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). 

An example of the correct answer:

{
    "error": "0",
    "prices": [
        {
            "type": "sms",
            "country": " AE",
            "country_name": "United Arab Emirates",
            "mcc": " 424",
            "price": "0.02",
            "currency": "EUR"
        }
    ]
}

The response will list all countries for which sending the SMS messages is possible, together with the prices.

In case if the request contains an error:

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