List reversals
curl --request GET \
--url https://api.stablepay.ai/v1/reversals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stablepay.ai/v1/reversals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stablepay.ai/v1/reversals', 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://api.stablepay.ai/v1/reversals",
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://api.stablepay.ai/v1/reversals"
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://api.stablepay.ai/v1/reversals")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stablepay.ai/v1/reversals")
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": [
{
"reversalId": "ISS_RV01K5D3W8ZQ4FZXQJHBVYFT9K3F",
"paymentId": "ISS_KE01K5D3W8ZQ4FZXQJHBVYFT9K3E",
"stablepayReference": "ISS_KE01K5D3W8ZQ4FZXQJHBVYFT9K3E",
"reversalReference": "QGR7X8T2PL",
"blockchain": "SOLANA",
"status": "pending_review",
"reversalAmountUsdc": "10.500000",
"toAddress": "4Nd1mXKqRtPvYbGfJhAeZwQsUcTnVpLgDkRyXmWtB9Cq",
"reversalTxHash": null,
"failureReason": null,
"reason": "customer requested reversal",
"createdAt": "2026-10-14T09:12:04.000Z",
"reviewedAt": null,
"sentAt": null,
"confirmedAt": null
}
]
}Reversals
List Reversals
Returns your reversals, newest first.
GET
/
v1
/
reversals
List reversals
curl --request GET \
--url https://api.stablepay.ai/v1/reversals \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stablepay.ai/v1/reversals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stablepay.ai/v1/reversals', 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://api.stablepay.ai/v1/reversals",
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://api.stablepay.ai/v1/reversals"
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://api.stablepay.ai/v1/reversals")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stablepay.ai/v1/reversals")
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": [
{
"reversalId": "ISS_RV01K5D3W8ZQ4FZXQJHBVYFT9K3F",
"paymentId": "ISS_KE01K5D3W8ZQ4FZXQJHBVYFT9K3E",
"stablepayReference": "ISS_KE01K5D3W8ZQ4FZXQJHBVYFT9K3E",
"reversalReference": "QGR7X8T2PL",
"blockchain": "SOLANA",
"status": "pending_review",
"reversalAmountUsdc": "10.500000",
"toAddress": "4Nd1mXKqRtPvYbGfJhAeZwQsUcTnVpLgDkRyXmWtB9Cq",
"reversalTxHash": null,
"failureReason": null,
"reason": "customer requested reversal",
"createdAt": "2026-10-14T09:12:04.000Z",
"reviewedAt": null,
"sentAt": null,
"confirmedAt": null
}
]
}Authorizations
Stablepay API key. Include as Authorization: Bearer <key>.
Query Parameters
Filter by reversal status.
Available options:
pending_review, approved, sending, confirmed, rejected, failed Number of reversals to return. Values above 200 are capped at 200.
Required range:
x <= 200Only reversals created at or after this time.
Only reversals created before this time.
Response
Your reversals, newest first.
Show child attributes
Show child attributes

