Running a basic get query via the PHP SDK and getting a "false" as a response

Just running a simple booking request query and it does not seem to respond with the bookings listing. What am I doing wrong:

define('API_SECRET','<api secret here>');
define('API_KEY','<api key here>');


$Checkfront = new CheckfrontAPI(
        'consumer_key'  => API_KEY,
        'consumer_secret' => API_SECRET,

$data = array(
        'status_id' => 'PAID'
$response = $Checkfront->get('booking/index',$data);


What we get is "bool(false)" - should this not be a json response of some sort? We definitely have one booking with the status paid. Even if I remove the $data element we have the same response.

Sign In or Register to comment.