Untuk reseller & developer

API Reseller

Semua fitur panel bisa dipakai lewat API. Ambil API key Anda di halaman Akun.

Endpoint

https://tokodigitallzz.ai.id/api/v1

Kirim API key lewat header X-Api-Key atau Authorization: Bearer <key>. Jangan kirim key di URL — query param ?key= tidak lagi diterima (key di URL tercatat di log akses, histori browser, dan header Referer). Format standar panel SMM: POST form-urlencoded, atau GET dengan query string.

1. Daftar layanan

action=services

curl -s "https://tokodigitallzz.ai.id/api/v1?action=services" -H "X-Api-Key: APIKEY"

Respons: array {service, name, category, rate, min, max} — service dipakai untuk order.

2. Buat order

action=add · param: service, link (target), quantity

curl -s -X POST "https://tokodigitallzz.ai.id/api/v1" -H "X-Api-Key: APIKEY" \
  -d "action=add&service=3&link=https://instagram.com/username&quantity=1000"

Respons: {"order": 123} — 123 adalah ID order panel. Gagal: {"error": "..."}.

3. Cek status order

action=status · param: orders=1,2,3 (ID panel) atau order=1

curl -s "https://tokodigitallzz.ai.id/api/v1?action=status&orders=1,2" -H "X-Api-Key: APIKEY"

Respons: {"1": {"status":"Completed","charge":2500,"start_count":120,"remains":0}}

4. Saldo
curl -s "https://tokodigitallzz.ai.id/api/v1?action=balance" -H "X-Api-Key: APIKEY"

Respons: {"balance": 50000, "currency": "IDR"}

Saldo dipotong otomatis saat order dibuat. Order gagal diproses provider dikembalikan otomatis ke saldo.