ArthaVolt Reseller API
White-label REST API untuk menjual produk Script, Apps Premium, dan Panel di website kamu sendiri. Berbasis API Key — tanpa JWT, tanpa OAuth. Cukup satu key untuk semua endpoint.
Overview
Base URL:
Semua endpoint mengembalikan JSON. Response konsisten:
{
"success": true,
"data": { ... }
}Kalau gagal:
{
"success": false,
"message": "Invalid API Key"
}Authentication
Setiap request wajib menyertakan API Key kamu di salah satu header berikut:
Authorization: Bearer arv_live_xxxxxxxxxxxxxxxxxxx X-API-Key: arv_live_xxxxxxxxxxxxxxxxxxx
Ambil API Key di halaman Profile → Developer API. Key disimpan sebagai SHA-256 hash — plaintext hanya tampil sekali saat generate.
Rate Limit
| Endpoint | Limit |
|---|---|
/products, /categories | 100 req / menit |
/profile | 60 req / menit |
/balance | 20 req / menit |
/order (POST) | 30 req / menit |
/orders, /order/{id} | 60 req / menit |
Response header: X-RateLimit-Remaining, X-RateLimit-Reset
Error Codes
| HTTP | Arti |
|---|---|
400 | Input tidak valid |
401 | API key hilang / salah |
402 | Saldo tidak cukup |
403 | API key di-suspend |
404 | Produk / order tidak ditemukan |
409 | Stok tidak cukup |
429 | Rate limit terlampaui |
500 | Server error |
Products
/api/v1/products AuthResponse
{
"success": true,
"data": [
{
"id": "pterodactyl-theme",
"category": "Script",
"name": "Pterodactyl Theme",
"price": 50000,
"stock": 999,
"status": "active",
"updated_at": "2026-07-06T..."
}
]
}/api/v1/categories AuthMengembalikan daftar kategori: Script, Apps Premium, Panel.
Profile & Balance
/api/v1/profile Auth{
"success": true,
"data": {
"user_id": "uuid",
"username": "reseller01",
"email": "you@mail.com",
"balance": 250000,
"created_at": "..."
}
}/api/v1/balance Auth{ "success": true, "data": { "balance": 250000, "currency": "IDR" } }Order
/api/v1/order AuthBody
{ "product_id": "pterodactyl-theme", "quantity": 1 }Response
{
"success": true,
"data": {
"order_id": "API-1720261234-a1b2c3",
"product_id": "pterodactyl-theme",
"product_name": "Pterodactyl Theme",
"category": "Script",
"quantity": 1,
"price": 50000,
"total": 50000,
"status": "success",
"result": { "type": "script", "download_url": "https://..." }
}
}Server memakai harga dari database (bukan dari client). Saldo dipotong secara atomik. Kalau panel gagal dibuat, saldo di-refund otomatis.
/api/v1/order/{order_id} Auth/api/v1/orders?limit=50 AuthRiwayat order (maks 100 per request).
Example Code
curl -X POST https://YOUR-DOMAIN/api/v1/order \
-H "Authorization: Bearer arv_live_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"product_id":"pterodactyl-theme","quantity":1}'© ArthaVolt Reseller API v1 · Butuh bantuan? Hubungi admin.