original_string: public function refund($mpayTid, $amount)
      {
          $this->integrityCheck();
  
          $this->validateAmount($amount);
  
          $creditAmountResult = $this->mpay24Sdk->manualCredit($mpayTid, $amount);
  
          $this->recordedLastMessageExchange('RefundAmount');
  
          return $creditAmountResult;
      }
code: public function refund($mpayTid, $amount)
      {
          $this->integrityCheck();
  
          $this->validateAmount($amount);
  
          $creditAmountResult = $this->mpay24Sdk->manualCredit($mpayTid, $amount);
  
          $this->recordedLastMessageExchange('RefundAmount');
  
          return $creditAmountResult;
      }
code_tokens: public function refund ( $ mpayTid , $ amount ) { $ this -> integrityCheck ( ) ; $ this -> validateAmount ( $ amount ) ; $ creditAmountResult = $ this -> mpay24Sdk -> manualCredit ( $ mpayTid , $ amount ) ; $ this -> recordedLastMessageExchange ( 'RefundAmount' ) ; return $ creditAmountResult ; }
docstring: Refund an amount of a captured transaction
  
  @param string $mpayTid The transaction ID, for the transaction you want to credit
  @param int    $amount  The amount you want to credit multiply by 100
  
  @return Responses\ManualCreditResponse
docstring_tokens: Refund an amount of a captured transaction