public function generateAppCredentials($apiKey, $apiSecret)
    {
        $apiKey = urlencode($apiKey);
        $apiSecret = urlencode($apiSecret);
        $credentials = base64_encode("{$apiKey}:{$apiSecret}");

        return $credentials;
    }