API Dökümanları
HTTP Method
|
POST
|
API URL
|
https://medyamx.com/api/v2
|
Response Format
|
JSON
|
Servis Listesi
Parameters
|
Açıklama
|
key
|
YOUR API KEY
|
action
|
services
|
Örnek geri dönüş
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000"
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500"
}
]
Yeni Sipariş
Parameters
|
Açıklama
|
key
|
YOUR API KEY
|
action
|
add
|
service
|
Service ID
|
link
|
Link to Page
|
quantity
|
Need quantity
|
runs (optional)
|
runs to deliver
|
interval (optional)
|
Interval in minutes
|
Örnek geri dönüş
{
"order": 23501
}
Yeni Sipariş
Parameters
|
Açıklama
|
key
|
YOUR API KEY
|
action
|
status
|
service
|
Order ID
|
Sipariş Durumu
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple Orders Status
Parameters
|
Açıklama
|
key
|
YOUR API KEY
|
action
|
status
|
service
|
Order IDs separated by comma
|
Sipariş Durumu
{
"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"
}
}
Kullanıcı bakiyesi
Parameters
|
Açıklama
|
key
|
YOUR API KEY
|
action
|
balance
|
Örnek geri dönüş
{
"balance": "100.84292",
"currency": "USD"
}