API Hujjatlar
HTTP So‘rovi | POST |
API Manzil | https://reseen.uz/api/v2 |
Javob formati | JSON |
Xizmatlar ro‘yxati
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | services |
Misol javob
[ { "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 } ]
Yangi buyurtma
Parameters | Description |
---|---|
key | Sizning API kalit |
action | add |
service | Xizmat ID |
link | Sahifa manzili |
quantity | Buyurtma miqdori |
runs (optional) | Runs to deliver |
interval (optional) | Interval in minutes |
Misol javob
{ "order": 23501 }
Buyurtma xolati
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | status |
order | Buyurtma ID |
Misol javob
{ "charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "USD" }
Birnechta buyurtma xolati
Patameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | status |
orders | Buyurtma IDlari (, bilan ajratilgan 1,2,3) |
Misol javob
{ "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" } }
To‘ldirish yaratish
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | refill |
order | Buyurtma ID |
Misol javob
{ "refill": "1" }
Birqancha to‘ldirish yaratish
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | refill |
orders | Buyurtma IDlari (, bilan ajratilgan 1,2,3) |
Misol javob
[ { "order": 1, "refill": 1 }, { "order": 2, "refill": 2 }, { "order": 3, "refill": { "error": "Incorrect order ID" } } ]
To'ldirish xolati
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | refill_status |
refill | To'ldirish ID |
Misol javob
{ "status": "Completed" }
Birnechta to'ldirish xolati
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | refill_status |
refills | To‘ldirish IDlari (, bilan ajratilgan 1,2,3) |
Misol javob
[ { "refill": 1, "status": "Completed" }, { "refill": 2, "status": "Rejected" }, { "refill": 3, "status": { "error": "Refill not found" } } ]
Bekor qilish yaratish
Parameterlar | Tavsif |
---|---|
key | Siznig API kalit |
action | cancel |
orders | Buyurtma IDlari (, bilan ajratilgan 1,2,3) |
Misol javob
[ { "order": 9, "cancel": { "error": "Incorrect order ID" } }, { "order": 2, "cancel": 1 } ]
Foydalanuvchi hisobi
Parameterlar | Tavsif |
---|---|
key | Sizning API kalit |
action | balance |
Misol javob
{ "balance": "100.84292", "currency": "USD" }