public function refund($charge, array $options = []): StripeRefund
    {
        $options['charge'] = $charge;

        return StripeRefund::create($options, ['api_key' => $this->getStripeKey()]);
    }
public function refund($charge, array $options = []): StripeRefund
    {
        $options['charge'] = $charge;

        return StripeRefund::create($options, ['api_key' => $this->getStripeKey()]);
    }
public function refund ( $ charge , array $ options = [ ] ) : StripeRefund { $ options [ 'charge' ] = $ charge ; return StripeRefund :: create ( $ options , [ 'api_key' => $ this -> getStripeKey ( ) ] ) ; }
Refund a customer for a charge.

@param $charge
@param array $options

@return StripeRefund
Refund a customer for a charge .