?
Loading...
-
// SALDO_KREDIT
0
credits tersedia
// PREMIUM
-
// API_KEY
-
Mulai jualan premium di website kamu sendiri — pakai kredit + API key.
// TOP_UP_KREDIT
Bayar via QRIS — GoPay, OVO, DANA, ShopeePay. Kredit otomatis masuk.
// API_KEY
Loading...
// CARA_PAKAI
Panduan Integrasi
Setelah punya API key, kamu bisa aktifkan premium ke email customer kapan saja — otomatis dari website kamu sendiri.
- Top Up KreditBuka tab KREDIT, pilih paket, bayar via QRIS. Kredit langsung masuk.PILIH PAKET→SCAN QRIS→KREDIT MASUK
- Generate API KeyKlik GENERATE di atas. Key hanya tampil SEKALI — simpan baik-baik.pz_live_••••••••••
- Simpan Key di ServerTaruh key di file
.envbackend kamu, jangan di kode yang tampil di browser.PANZO_API_KEY=pz_live_xxxxxxxxxxxxxxxx
- IntegrasikanPilih salah satu: copy prompt di bawah ke AI favoritmu supaya kodenya dibuatkan, atau pakai contoh kode manual di bawahnya. Intinya kirim POST ke
/api/v1/activatedengan email customer. - Test DuluCoba aktivasi ke email kamu sendiri sebelum jualan ke customer.PREMIUM AKTIF
// PROMPT_UNTUK_AI
Integrasi lewat AI
Males ngoding sendiri? Pilih stack website kamu, copy prompt di bawah, lalu tempel ke AI favoritmu (ChatGPT, Claude, Cursor, dll). Hasilnya kode integrasi yang tinggal dipakai.
1. Stack website kamu
2. Kapan premium diaktifkan?
3. Copy prompt
⚠️ Jangan tempel API key asli ke chat AI. Prompt ini sudah menyuruh AI memakai variabel
PANZO_API_KEY; isi key-nya sendiri di file .env server kamu.// ENDPOINT
POST
/api/v1/activateAktifkan premiumGET
/api/v1/balanceCek saldoGET
/api/v1/activationsRiwayatGET
/api/v1/catalogKatalog produkmuHeader auth:
X-API-Key: pz_live_xxxx// CONTOH_CODE
curl -X POST https://panzodigital.site/api/v1/activate \
-H "X-API-Key: pz_live_GANTI_DENGAN_KEY_KAMU" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"tier": "entry",
"duration_days": 30
}'const res = await fetch('https://panzodigital.site/api/v1/activate', {
method: 'POST',
headers: {
'X-API-Key': 'pz_live_GANTI_DENGAN_KEY_KAMU',
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: '[email protected]',
tier: 'entry',
duration_days: 30
})
});
const data = await res.json();
console.log(data);<?php
$ch = curl_init('https://panzodigital.site/api/v1/activate');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'X-API-Key: pz_live_GANTI_DENGAN_KEY_KAMU',
'Content-Type: application/json'
],
CURLOPT_POSTFIELDS => json_encode([
'email' => '[email protected]',
'tier' => 'entry',
'duration_days' => 30
])
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);import requests
res = requests.post(
'https://panzodigital.site/api/v1/activate',
headers={
'X-API-Key': 'pz_live_GANTI_DENGAN_KEY_KAMU',
'Content-Type': 'application/json'
},
json={
'email': '[email protected]',
'tier': 'entry',
'duration_days': 30
}
)
print(res.json())// HARGA_PER_LICENSE
LITE25credits / 30 hari
ENTRY55credits / 30 hari
ESSENTIAL120credits / 30 hari
Durasi custom:
ceil(cost_30d × days / 30)// KATALOG_TERKUNCI
Beli kredit dulu
Fitur katalog hanya untuk user yang sudah pernah top up kredit. Kredit dipakai untuk aktivasi lisensi ke customer lewat API key.
// PRODUK
Loading...
// PREVIEW_LIVE
Beginilah yang dilihat customer di website kamu.
Loading...
// API_CATALOG
Endpoint untuk website kamu
Website kamu panggil endpoint ini (dari backend) untuk ambil daftar produkmu. Render sendiri sesuai desain website kamu. Tiap user punya katalog terpisah — customer kamu tidak bisa lihat katalog user lain.
GET
/api/v1/catalogDaftar produk milikmuHeader:
X-API-Key: pz_live_xxxxx⚠️ Panggil dari backend website kamu. Jangan taruh API key di kode frontend/browser — orang bisa curi key dan habiskan kreditmu.
Contoh response
Contoh cURL
Contoh fetch (Node.js backend)
// RIWAYAT_TRANSAKSI
Loading...
// AKUN
Nama tampilanMuncul di email lisensi.
EmailLogin via Firebase · tidak bisa diubah.
User IDPakai saat hubungi CS.
// KEAMANAN
Ganti passwordLink reset dikirim ke email.
Logout semua deviceSemua sesi lain dipaksa login ulang.
// PREFERENSI
Notif pembayaranEmail + push saat topup berhasil.
Notif premium hampir habisPengingat 3 hari sebelum expired.
Promo & update produkInfo voucher dan versi terbaru.
BahasaBahasa tampilan website.
// LANGGANAN
Paket aktif-
// DANGER_ZONE
Hapus akunSemua data (premium, kredit, API key) dihapus permanen.
