PLN

API PLN Pascabayar

Cek data pelanggan PLN pascabayar dari database internal.

Request

GET https://cekid.fazonedigital.com/api/v1/check/pln-pascabayar?customer_id=customer_id 

Parameter

KeyLabelTypeRequired
customer_idID PelanggantextYes

Output

KeyLabelVisibility
customer_nameNama Pelangganmember
tariffTarif / Dayamember
periodPeriodemember
statusStatusmember

PHP Example

$timestamp = time();
$query = http_build_query(['customer_id' => 'VALUE'], '', '&', PHP_QUERY_RFC3986);
$canonical = $timestamp."\nGET\n/api/v1/check/pln-pascabayar\n".$query;
$signature = hash_hmac('sha256', $canonical, $secret);