#Get current prices by country
https://sms-online.pro/stubs/handler_api.php?action=getPrices&api_key=$api_key
#Parameters:
| Parameter |
Type |
Required |
Description |
| $api_key |
string |
☑️ |
API key |
| $country |
string |
|
Country code (see table) |
| $service |
string |
|
Service for ordering (see table) |
#Response:
| Response |
Description |
| {“Country”:{“Service”:{“cost”:Cost,“count”:Count}}} |
JSON-object |
#Possible errors:
| Error |
Description |
| BAD_KEY |
Wrong API key |
| WRONG_COUNTRY |
Incorrect country |
| BAD_SERVICE |
Incorrect service name |