#按国家获取当前价格
https://sms-online.pro/stubs/handler_api.php?action=getPrices&api_key=$api_key
#参数说明:
| 参数 |
类型 |
必填 |
描述 |
| $api_key |
string |
☑️ |
API密钥 |
| $country |
string |
|
国家代码 (查看国家表) |
| $service |
string |
|
订购服务 (查看服务表) |
#响应格式:
| 响应格式 |
说明 |
| {“Country”:{“Service”:{“cost”:Cost,“count”:Count}}} |
JSON对象 |
#可能错误:
| 错误码 |
描述 |
| BAD_KEY |
API密钥错误 |
| WRONG_COUNTRY |
国家代码无效 |
| BAD_SERVICE |
服务名称错误 |