lib/AktiveMerchant/Billing/Gateways/Realex.php
public function credit($money, $authorization, $options = array())
    {
        $this->required_options('pasref, order_id', $options);
        $this->buildCreditRequest($money, $authorization, $options);

        return $this->commit();
    }
public function credit($money, $authorization, $options = array())
    {
        $this->required_options('pasref, order_id', $options);
        $this->buildCreditRequest($money, $authorization, $options);

        return $this->commit();
    }
public function credit ( $ money , $ authorization , $ options = array ( ) ) { $ this -> required_options ( 'pasref, order_id' , $ options ) ; $ this -> buildCreditRequest ( $ money , $ authorization , $ options ) ; return $ this -> commit ( ) ; }
Credit an account.

This transaction is also referred to as a Refund (or Rebate) and indicates to the gateway that
money should flow from the merchant to the customer.

@param string $money The amount to be rebated. Either an Integer value in cents or a Money object.
@param string $authorization The authorization returned from the previous authorize request.
@param array $options Optional parameters.
`
@return Response
Credit an account .