original_string: public function token($paymentType, array $additional = [])
      {
          $this->integrityCheck();
  
          if ($paymentType !== 'CC') {
              die("The payment type '$paymentType' is not allowed! Currently allowed is only: 'CC'");
          }
  
          $tokenResult = $this->mpay24Sdk->createTokenPayment($paymentType, $additional);
  
          $this->recordedLastMessageExchange('CreatePaymentToken');
  
          return $tokenResult;
      }
code: public function token($paymentType, array $additional = [])
      {
          $this->integrityCheck();
  
          if ($paymentType !== 'CC') {
              die("The payment type '$paymentType' is not allowed! Currently allowed is only: 'CC'");
          }
  
          $tokenResult = $this->mpay24Sdk->createTokenPayment($paymentType, $additional);
  
          $this->recordedLastMessageExchange('CreatePaymentToken');
  
          return $tokenResult;
      }
code_tokens: public function token ( $ paymentType , array $ additional = [ ] ) { $ this -> integrityCheck ( ) ; if ( $ paymentType !== 'CC' ) { die ( "The payment type '$paymentType' is not allowed! Currently allowed is only: 'CC'" ) ; } $ tokenResult = $ this -> mpay24Sdk -> createTokenPayment ( $ paymentType , $ additional ) ; $ this -> recordedLastMessageExchange ( 'CreatePaymentToken' ) ; return $ tokenResult ; }
docstring: Return a redirect URL to include in your web page
  
  @param string $paymentType The payment type which will be used for the express checkout (CC)
  @param array  $additional  Additional parameters
  
  @return Responses\CreatePaymentTokenResponse
docstring_tokens: Return a redirect URL to include in your web page