API - Order Submission & Status Tracking
| HTTP 方法 | POST |
| API 地址 | https://smmvex.com/api/v2 |
| 响应格式 | JSON |
服务列表
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | services |
响应示例
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
添加订单
响应示例
{
"order": 23501
}
订单状态
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | status |
| order | 订单 ID |
响应示例
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
多个订单状态
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | status |
| orders | 订单 ID(逗号分隔,最多 100 个) |
响应示例
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
创建补充
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | refill |
| order | 订单 ID |
响应示例
{
"refill": "1"
}
创建多个补充
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | refill |
| orders | 订单 ID(逗号分隔,最多 100 个) |
响应示例
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
查询补充状态
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | refill_status |
| refill | 补充 ID |
响应示例
{
"status": "Completed"
}
查询多个补充状态
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | refill_status |
| refills | 补充 ID(逗号分隔,最多 100 个) |
响应示例
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
创建取消
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | cancel |
| orders | 订单 ID(逗号分隔,最多 100 个) |
响应示例
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
用户余额
| 参数 | 描述 |
|---|---|
| key | 您的 API 密钥 |
| action | balance |
响应示例
{
"balance": "100.84292",
"currency": "USD"
}
PHP 代码示例