Cutiezy • API Docs
PLN Prabayar
Kategori tagihan • Service code pln_prabayar
Informasi Endpoint
Method
GET
Kategori
tagihan
Endpoint Dasar
https://api.cutiezy.id/api/check/tagihan/pln_prabayar
Service
pln_prabayar
Deskripsi
Cek data pelanggan PLN prabayar.
Parameter
| Nama | Label | Type | Required | Min | Max |
|---|---|---|---|---|---|
| service | Kode Service | text | Ya | - | - |
| customer_id | Nomor Meter / ID Pelanggan | digits | Ya | 5 | 30 |
| apikey | API Key | text | Ya* | - | - |
* API key disarankan lewat header X-API-Key, tetapi bisa juga lewat query apikey.
Contoh Test Link
https://api.cutiezy.id/api/check/tagihan/pln_prabayar?customer_id=45058572400&apikey=YOUR_API_KEY
Contoh Request cURL
curl -X GET "https://api.cutiezy.id/api/check/tagihan/pln_prabayar?customer_id=45058572400" \
-H "X-API-Key: czw_xxxxxxxxxxxxxxxxx"
Contoh Response
{
"success": true,
"message": "Berhasil",
"data": {}
}
Autentikasi
Semua endpoint mendukung header:
X-API-Key: czw_xxxxxxxxxxxxxxxxx
Atau query fallback:
apikey=czw_xxxxxxxxxxxxxxxxx
Catatan
- • 1 API key hanya untuk 1 IP aktif.
- • Parameter wajib harus dikirim lengkap.
- • Jika IP berbeda dari IP yang terkunci, request akan ditolak.
- • Query fallback untuk API key adalah apikey.