Request
GET https://cekid.fazonedigital.com/api/v1/check/myrepublic?customer_id=customer_id
Parameter
| Key | Label | Type | Required |
|---|---|---|---|
customer_id | ID Pelanggan | text | Yes |
Output
| Key | Label | Visibility |
|---|---|---|
customer_name | Nama Pelanggan | member |
status | Status | member |
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);