Get a refund
curl --request GET \
--url https://uat-secure.choosefloat.com/api/refunds/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://uat-secure.choosefloat.com/api/refunds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://uat-secure.choosefloat.com/api/refunds/{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_body{
"data.attributes.status": "<string>"
}Refunds
Get a refund
GET /api/refunds/:id — track a refund request’s status.
GET
/
api
/
refunds
/
{id}
Get a refund
curl --request GET \
--url https://uat-secure.choosefloat.com/api/refunds/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://uat-secure.choosefloat.com/api/refunds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{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://uat-secure.choosefloat.com/api/refunds/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://uat-secure.choosefloat.com/api/refunds/{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_body{
"data.attributes.status": "<string>"
}Fetches one refund request. Poll this (respecting the rate limit) after creating a refund to confirm it reaches
complete.
Rate limited to 5 requests per minute.
Request
The refund request ID returned by create refund.
curl https://uat-secure.choosefloat.com/api/refunds/5d1a7c9e-2222-4444-8888-aa11bb22cc33 \
-H "Authorization: Bearer $FLOAT_CLIENT_SECRET"
Response
200
{
"data": {
"id": "5d1a7c9e-2222-4444-8888-aa11bb22cc33",
"type": "refund_requests",
"attributes": {
"amount": 100000,
"currency": "GBP",
"status": "complete",
"created_at": "2026-07-17T11:00:00Z"
}
}
}
| Value | Meaning |
|---|---|
requested | Awaiting review |
pending | Approved, processing |
complete | Refund processed |
failed | Processing failed — contact support |
Errors
| HTTP | When |
|---|---|
401 | Bad Bearer token |
404 | No refund request with that ID belongs to your merchant |
429 | More than 5 requests per minute |
⌘I