List Refunds
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/refunds \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/refunds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://quickei.io/pay/sandbox/api/v1/refunds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://quickei.io/pay/sandbox/api/v1/refunds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://quickei.io/pay/sandbox/api/v1/refunds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quickei.io/pay/sandbox/api/v1/refunds")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/refunds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyPOS API
List Refunds
Retrieve refunds for your merchant account
GET
/
refunds
List Refunds
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/refunds \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/refunds"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://quickei.io/pay/sandbox/api/v1/refunds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://quickei.io/pay/sandbox/api/v1/refunds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://quickei.io/pay/sandbox/api/v1/refunds"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quickei.io/pay/sandbox/api/v1/refunds")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/refunds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyRetrieve a paginated list of refunds for your merchant account, with optional filters.
Success Response
Endpoint
GET https://quickei.io/pay/sandbox/api/v1/refunds
Query Parameters
string
Filter by original payment transaction ID.
string
Filter by refund status:
pending, completed, failed.string
Start date filter (ISO 8601, e.g.
2024-01-01).string
End date filter (ISO 8601, e.g.
2024-01-31).integer
Page number (default: 1).
integer
Results per page (1–100, default: 20).
Example Request
curl -G https://quickei.io/pay/sandbox/api/v1/refunds \
-H "Authorization: Basic {base64_credentials}" \
-d "transaction_id=TRX-98765" \
-d "status=completed" \
-d "per_page=10"
Success Response 200
{
"message": {
"success": ["Refunds retrieved"]
},
"data": {
"refunds": [
{
"refund_id": "RF-20240115-X7Y8Z9",
"transaction_id": "TRX-98765",
"amount": "10.00 EUR",
"raw_amount": 10.00,
"currency": "EUR",
"status": "completed",
"reason": "Item returned",
"reference": "RFD-2024-001",
"created_at": "2024-01-15T16:30:00+00:00"
}
],
"pagination": {
"current_page": 1,
"per_page": 10,
"total": 1,
"last_page": 1
}
}
}

