code: public static function find($id) {
  
      $endpoint = self::$endpoint . '/' . $id;
  
      return new self(GoCardless::$client, GoCardless::$client->request('get',
        $endpoint));
  
    }
docs: Fetch a pre-authorisation object from the API
  
  @param string $id The id of the pre-authorisation to fetch
  
  @return object The pre-authorisation object