| API URL | https://subpro.vn/api/v2 |
| API Key | Vui lòng đăng nhập để lấy API Token! |
| HTTP Method | POST |
| Content-Type | application/x-www-form-urlencoded |
| Response | JSON |
| Parameters | Description |
| key | API Key |
| action | "services" |
[
{
"service": 1,
"name": "Facebook views",
"type": "Default",
"category": "Facebook",
"rate": "2.5",
"min": "200",
"max": "10000",
"refill": true
},
{
"service": 2,
"name": "Tiktok views",
"type": "Default",
"category": "Tiktok",
"rate": "4",
"min": "10",
"max": "1500",
"refill": false
}
]
| Parameters | Description |
| key | API Key |
| action | "add" |
| service | Service ID |
| link | Link |
| quantity | Needed quantity |
{
"order": 99999
}
| Parameters | Description |
| key | API Key |
| action | "status" |
| order | Order ID |
{
"charge": "2.5",
"start_count": "168",
"status": "Completed",
"remains": "-2"
}
Status: Pending, Processing, In progress, Completed, Partial, Canceled
| Parameters | Description |
| key | API Key |
| action | "status" |
| orders | Order IDs separated by comma (E.g: 123,456,789) (Limit 100) |
{
"123": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157"
},
"456": {
"error": "Incorrect order ID"
},
"789": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10"
}
}
| Parameters | Description |
| key | API Key |
| action | "balance" |
{
"balance": "343423",
"currency": "VND"
}
| Parameters | Description |
| key | API Key |
| action | "refill" |
| order | Order ID |
{
"refill": "1"
}
| Parameters | Description |
| key | API Key |
| action | "refill" |
| orders | Order IDs separated by comma (E.g: 123,456,789) (Limit 100) |
{
"refill": "1"
}
| Parameters | Description |
| key | API Key |
| action | "refill_status" |
| refill | Refill ID |
{
"status": "Completed"
}
| Parameters | Description |
| key | API Key |
| action | "refill_status" |
| refills | Refill IDs separated by comma (E.g: 123,456,789) (Limit 100) |
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Incorrect refill ID"
}
}
]