BSG offers an API for retrieving price information regarding your account.
Available HTTP methods:
GET /rest/hlr/prices/{tariff}
GET /rest/sms/prices/{tariff}
GET /rest/viber/prices/{tariff}
Response:
{ "error":0,
"errorDescription":"No errors",
"prices":[
{
"type":"viber",
"country":"UA",
"country_name":"Ukraine",
"mcc":"255",
"price":"0.3300000",
"currency":"EUR"
}
]
}
In case of error:
{ "error":"6",
"errorDescription":"Invalid tariff code"
}
Comments
0 comments
Article is closed for comments.