Prices
Returns prices grouped by service code and country ID.
GET http://privatesms.vip/stubs/handler_api.php?api_key={apikey}&action=getPrices&service={service}&country={country}&minPrice={minPrice}&maxPrice={maxPrice}
Request Parameters
| Name | Description |
api_key | Personal API key from the client account. |
action | Must be getPrices. |
service | Optional service code from getServicesList. |
country | Optional country ID from getCountries. |
minPrice | Optional lower price boundary. |
maxPrice | Optional upper price boundary. |
Response Examples
200 OK
{
"tg": {
"186": 0.22
}
}
Error Responses
| Status | Server response | Description |
| 401 | BAD_KEY | The API key is invalid. |
| 400 | BAD_ACTION | The action value is invalid. |
| 500 | SERVER ERROR | Unexpected internal server error. |
| 403 | BANNED | The account is disabled. |