Get refunds list

If transaction was partially paid by gift card the refund channel is "Mixed" and you can use GET refund to query for additional details.

Required fields are underlined.



Get refunds

<?php

$refunds = $MK->shopRefunds($_GET);

?>

Fatal error: Uncaught Httpful\Exception\ConnectionErrorException: Unable to connect to "/v1/refunds?since=2024-12-21&until=2024-12-21": 3 in /var/www/html/vendor/nategood/httpful/src/Httpful/Request.php:1028 Stack trace: #0 /var/www/html/vendor/nategood/httpful/src/Httpful/Request.php(204): Httpful\Request->buildResponse(false) #1 /var/www/html/Maksekeskus.php(566): Httpful\Request->send() #2 /var/www/html/Maksekeskus.php(511): Maksekeskus->makeApiRequest('GET', '/v1/refunds', Array) #3 /var/www/html/Maksekeskus.php(869): Maksekeskus->makeGetRequest('/v1/refunds', Array) #4 /var/www/html/refund.list.php(29): Maksekeskus->getShopRefunds(Array) #5 {main} thrown in /var/www/html/vendor/nategood/httpful/src/Httpful/Request.php on line 1028