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


$refunds = $MK->getTransactionRefunds($_GET['since'], $_GET['until'], $_GET['status'], $_GET['page'], $_GET['per_page']);


Fatal error: Uncaught Httpful\Exception\ConnectionErrorException: Unable to connect to "/v1/refunds": 3 in /data02/virt45740/domeenid/ Stack trace: #0 /data02/virt45740/domeenid/ Httpful\Request->buildResponse(false) #1 /data02/virt45740/domeenid/ Httpful\Request->send() #2 /data02/virt45740/domeenid/ Maksekeskus->makeApiRequest('GET', '/v1/refunds', NULL) #3 /data02/virt45740/domeenid/ Maksekeskus->makeGetRequest('/v1/refunds') #4 /data02/virt45740/domeenid/ Maksekeskus->getTransactionRefunds('2021-10-20', '2021-10-20', NULL, NULL, NULL) #5 {main} thrown in /data02/virt45740/domeenid/ on line 1028