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

NameDescription
api_keyPersonal API key from the client account.
actionMust be getPrices.
serviceOptional service code from getServicesList.
countryOptional country ID from getCountries.
minPriceOptional lower price boundary.
maxPriceOptional upper price boundary.

Response Examples

200 OK

{
  "tg": {
    "186": 0.22
  }
}

Error Responses

StatusServer responseDescription
401BAD_KEYThe API key is invalid.
400BAD_ACTIONThe action value is invalid.
500SERVER ERRORUnexpected internal server error.
403BANNEDThe account is disabled.
RUEN