Skip to content

Commit

Permalink
Refunds request method fix (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomekTraczyk authored Nov 10, 2022
1 parent c431b27 commit 54cb211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/RefundsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getData(): array
*/
public function sendData($data): ResponseInterface
{
$httpResponse = $this->sendRequest('GET', 'transaction/refund', $data);
$httpResponse = $this->sendRequest('POST', 'transaction/refund', $data);

$responseData = json_decode($httpResponse->getBody()->getContents(), true);

Expand Down

0 comments on commit 54cb211

Please sign in to comment.