From f90f155b12780268cd463dbb2f4f5504268dcc38 Mon Sep 17 00:00:00 2001 From: Krystian Bajno Date: Tue, 9 Apr 2019 12:10:28 +0200 Subject: [PATCH] Refunds support --- src/DotpayApi/Requests/CreateRefund.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DotpayApi/Requests/CreateRefund.php b/src/DotpayApi/Requests/CreateRefund.php index 23f60b9..1675785 100644 --- a/src/DotpayApi/Requests/CreateRefund.php +++ b/src/DotpayApi/Requests/CreateRefund.php @@ -66,6 +66,6 @@ public function method() */ public function path() { - return 'api/v3/payments/'.$this->operation_number.'/refund/'; + return 'api/v1/payments/'.$this->operation_number.'/refund/'; } }