Dokumentasi API
Autentikasi
Semua request API memerlukan API key yang dikirim sebagai header.
X-API-Key: {your_api_key}API key bisa didapatkan di halaman Akun setelah login.
Base URL
https://kuygas.my.id/api/resellerProfile
Mendapatkan informasi profile dan saldo.
GET
/api/reseller/profile{
"status": true,
"data": {
"full_name": "Jhon Delton",
"username": "jhondelton",
"balance": 10000
}
}Daftar Layanan
Mendapatkan semua layanan yang tersedia.
GET
/api/reseller/services{
"status": true,
"data": [
{
"id": 1,
"category": "Instagram Followers",
"name": "Instagram Followers Server 1",
"price": 10000,
"min": 100,
"max": 500,
"description": "Instan\nCepat",
"status": 1,
"refill_support": 1,
"type": ""
}
]
}Buat Pesanan
Membuat pesanan baru.
POST
/api/reseller/orderBody:
{
"service_id": 1,
"target": "https://instagram.com/username",
"quantity": 100
}Response:
{
"status": true,
"order_id": 123,
"quantity": 100,
"price": 1000
}Status Pesanan
Cek status pesanan.
POST
/api/reseller/statusBody:
{
"order_id": 123
}Response:
{
"status": true,
"data": {
"status": "SUCCESS",
"target": "https://instagram.com/username",
"quantity": 100,
"price": 1000,
"start_count": 50,
"remains": 50
}
}Refill
Membuat refill untuk pesanan yang sudah SUCCESS.
POST
/api/reseller/refillBody:
{
"order_id": 123,
"quantity": 100
}Response:
{
"status": true,
"refill_id": 456,
"order_id": 123,
"quantity": 100,
"price": 1000
}Status Refill
Cek status refill.
POST
/api/reseller/refill_statusBody:
{
"id": 456
}Response:
{
"status": true,
"data": {
"status": "PENDING"
}
}