HTTP Method: POST
API URL: https://roicmedya.com/api/v2
Response format: JSON
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | services |
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"description": "example description",
"refill_time": "30"
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true,
"description": "example description",
"refill_time": "365"
}
]
action: status
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | status |
| order | Sipariş ID |
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
action: add
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | add |
| service | Servis ID |
| link | Sayfanın bağlantısı |
| quantity | Gerekli miktar |
| runs (isteğe bağlı) | Dağıtılacak çalışma sayısı |
| interval (isteğe bağlı) | Dakika cinsinden aralık |
| order_style | Sipariş tipi seçimi |
{
"key": "your-api-key",
"action": "add",
"service": 1,
"link": "http://example.com",
"quantity": 100
}
action: refill_status
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill_status |
| refill | Refill ID |
{
"status": "Completed"
}
action: cancel
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | cancel |
| orders | Sipariş ID'leri (virgülle ayrılmış, 100 ID'ye kadar) |
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]
action: refill
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill |
| order | Sipariş ID |
{
"refill": "1"
}
action: refill
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill |
| orders | Sipariş ID'leri (virgülle ayrılmış, 100 ID'ye kadar) |
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
action: refill_status
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill_status |
| refills | Refill ID'leri (virgülle ayrılmış, 100 ID'ye kadar) |
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]
action: status
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | status |
| orders | Sipariş ID'leri (virgülle ayrılmış, 100 ID'ye kadar) |
{
"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"
}
}
action: balance
Parametreler:
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | balance |
{
"balance": "100.84292",
"currency": "USD"
}