<?php
$options = array('http' =>
[
'method' => 'GET',
'header' => "X-Auth-Token: <token>\r\n"
]
);
$context = stream_context_create($options);
$result = file_get_contents('https://kaspi.kz/shop/api/v2/orders?page[number]=0&page[size]=20&filter[orders][state]=NEW
&filter[orders][creationDate][$ge]=1478736000000&filter[orders][creationDate][$le]=1479945600000
&filter[orders][status]=APPROVED_BY_BANK&filter[orders][deliveryType]=PICKUP
&filter[orders][signatureRequired]=false&include[orders]=user', false, $context);
var_dump($result);