Internet & TV

API MyRepublic

Cek data pelanggan MyRepublic dari database internal.

Request

GET https://www.cekid.fazonedigital.com/api/v1/check/myrepublic?customer_id=customer_id 

Parameter

KeyLabelTypeRequired
customer_idID PelanggantextYes

Output

KeyLabelVisibility
customer_nameNama Pelangganmember
statusStatusmember

PHP Example

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