public function refund($mpayTid, $amount)
    {
        $this->integrityCheck();

        $this->validateAmount($amount);

        $creditAmountResult = $this->mpay24Sdk->manualCredit($mpayTid, $amount);

        $this->recordedLastMessageExchange('RefundAmount');

        return $creditAmountResult;
    }
public function refund($mpayTid, $amount)
    {
        $this->integrityCheck();

        $this->validateAmount($amount);

        $creditAmountResult = $this->mpay24Sdk->manualCredit($mpayTid, $amount);

        $this->recordedLastMessageExchange('RefundAmount');

        return $creditAmountResult;
    }
public function refund ( $ mpayTid , $ amount ) { $ this -> integrityCheck ( ) ; $ this -> validateAmount ( $ amount ) ; $ creditAmountResult = $ this -> mpay24Sdk -> manualCredit ( $ mpayTid , $ amount ) ; $ this -> recordedLastMessageExchange ( 'RefundAmount' ) ; return $ creditAmountResult ; }
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
Refund an amount of a captured transaction