Private Email Rental
SMSPVA / DOCUMENTATION
错误与响应代码
SMSPVA API
检查请求结果
HTTP 200 本身不代表成功。请检查 status:1 成功,0 错误,创建时 2 表示暂无邮箱。解析 JSON 的示例会同时检查 HTTP 和 status,cURL 则输出 JSON 供你检查。
错误原因可能在 msg、errormsg 或 errorid 中。有些错误只有 msg;只要 status=0 就表示失败,不必等待数字错误码。
错误代码
errorid | 含义 |
|---|---|
| 2 | 服务不存在或不可用 |
| 7 | 请求参数不正确 |
| 9 | 供应商不存在或已停用 |
| 10 | 有效订单数量已达上限 |
| 16 | 创建订单请求过于频繁 |
遇到 errorid=9 时,刷新供应商。创建时若 status=2,请刷新邮箱余量。
可能收到的错误信息
Incorrect apikey 表示密钥缺失或格式错误,Unknown apikey 表示找不到账户。User is not owner of order 表示需要订单所属账户的密钥。余额错误包括 Balance is not enough 和 Balance is lower than zero(余额非正数)。
其他可能的信息如下。报告问题时,请保留原始信息、status 及其他错误字段。
Order not foundAliases are only available for GmailIncorrect service codeIncorrect duration typeIncorrect duration countIncorrect order idIncorrect email idEmail service temporarily unavailableIncorrect method