code: public function cancel() {
  
      $endpoint = self::$endpoint . '/' . $this->id . '/cancel';
  
      return new self($this->client, $this->client->request('put', $endpoint));
  
    }
docs: Cancel a pre-authorisation
  
  @return object The result of the cancel query