Data must be sent in JSON format as a HTTP POST. The following example shows how to use this option. NOTE that you
                        MUST append the 'remote=yes' query string to the cube url?
                        
                        <?php
                        $data = array(
                            'apiKey' => 'AO2CN4UJGW3PR08YIVKB',
                            'product' => 8,
                            'timezone' => '',
                            'restrictions' => array(
                                'domain' => 'example.com',
                                'ip' => '',
                                'mac' => ''
                          );
                          $ch   = curl_init();
                          curl_setopt($ch, CURLOPT_URL, 'https://www.example.com/cube/index.php?remote=yes');
                          curl_setopt($ch, CURLOPT_POST, 1);
                          curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
                          curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
                          curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
                          curl_setopt($ch, CURLOPT_TIMEOUT, 120);
                          $r = curl_exec($ch);
                          curl_close($ch);
                          echo $r;
                          ?>
                        
                        For the restrictions, specify values that are applicable to your products value for "
Allowed Server Encoding String".