Authorization kısmında basic'ten sonra base64_encode($this->apiUsername . ':' . $this->apiPassword) olarak göndermeniz gerekli.