Get Refund
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}"
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/{refund_id}', 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/{refund_id}",
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/{refund_id}"
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/{refund_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}")
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
Get Refund
Get details of a specific refund
GET
/
refunds
/
{refund_id}
Get Refund
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}"
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/{refund_id}', 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/{refund_id}",
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/{refund_id}"
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/{refund_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}")
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 the full details of a specific refund.
Success Response
Error Response
Endpoint
GET https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}
Path Parameters
string
required
The refund ID (e.g.
RF-20240115-X7Y8Z9).Example Request
curl https://quickei.io/pay/sandbox/api/v1/refunds/RF-20240115-X7Y8Z9 \
-H "Authorization: Basic {base64_credentials}"
Success Response 200
{
"message": {
"success": ["Refund details retrieved"]
},
"data": {
"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"
}
}
Response Fields
| Field | Description |
|---|---|
refund_id | Unique refund identifier (RF prefix) |
transaction_id | Original payment transaction ID |
amount | Formatted refund amount with currency |
raw_amount | Numeric refund amount |
currency | ISO 4217 currency code |
status | pending, completed, or failed |
reason | Refund reason (if provided) |
reference | Your internal reference (if provided) |
created_at | ISO 8601 timestamp |
Error Response 404
{
"message": {
"error": ["Refund not found"]
}
}

