code: protected function doFunction_getTransactionDetails(array $fields)
      {
          if (!isset($fields['token'])) {
              throw new RuntimeException('The token must be set.');
          }
  
          $request = new FormRequest;
          $request->setFields($fields);
  
          $request->setField('function', 'GetTransactionDetail');
  
          $this->addVersionField($request);
          $this->addAuthorizeFields($request);
  
          return $this->doRequest($request);
      }
docs: Require: token
  
  @param array $fields
  
  @return array