diff --git a/src/Entities/Transaction.php b/src/Entities/Transaction.php index ffae75b6..793b8714 100644 --- a/src/Entities/Transaction.php +++ b/src/Entities/Transaction.php @@ -319,13 +319,15 @@ public function hold() * Refunds/returns the original transaction. * * @param string|float $amount The amount to refund/return + * @param string $currency The currency to refund/return * * @return ManagementBuilder */ - public function refund($amount = null) + public function refund($amount = null, $currency = null) { return (new ManagementBuilder(TransactionType::REFUND)) ->withPaymentMethod($this->transactionReference) + ->withCurrency($currency) ->withAmount($amount); }