List manual refund requests (admin)
curl --request GET \
--url https://api-global.fastpaybrasil.com/v1/manual-refund-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-global.fastpaybrasil.com/v1/manual-refund-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-global.fastpaybrasil.com/v1/manual-refund-requests', 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-global.fastpaybrasil.com/v1/manual-refund-requests",
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-global.fastpaybrasil.com/v1/manual-refund-requests"
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-global.fastpaybrasil.com/v1/manual-refund-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-global.fastpaybrasil.com/v1/manual-refund-requests")
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": [
{
"id": "2RhQg9M7ZCg3X3nMb9W1kX8Q",
"merchantId": "<string>",
"merchantLegalName": "<string>",
"merchantEmail": "<string>",
"chargeId": "<string>",
"refundId": "<string>",
"amount": 199.9,
"currency": "BRL",
"status": "pending",
"reason": "<string>",
"resolvedByUserId": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"page": 123,
"pages": 123,
"total": 123,
"size": 123,
"pendingCount": 123
}{
"statusCode": 422,
"message": "SubMerchant is not active",
"error": "Unprocessable Entity"
}{
"statusCode": 422,
"message": "SubMerchant is not active",
"error": "Unprocessable Entity"
}Chargeback Alerts
List manual refund requests (admin)
Lists pending and historical entries from the manual refund queue.
Entries are created automatically when POST /v1/charges/:id/chargeback-alert
falls back to a manual refund (the PSP does not support API refunds or
the call failed). The balance has already been refunded to the
cardholder’s account at the FastPay ledger level — the queue tracks the
out-of-band action the finance team still needs to perform.
Requires the admin.manual_refund_requests.read permission.
GET
/
v1
/
manual-refund-requests
List manual refund requests (admin)
curl --request GET \
--url https://api-global.fastpaybrasil.com/v1/manual-refund-requests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-global.fastpaybrasil.com/v1/manual-refund-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-global.fastpaybrasil.com/v1/manual-refund-requests', 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-global.fastpaybrasil.com/v1/manual-refund-requests",
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-global.fastpaybrasil.com/v1/manual-refund-requests"
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-global.fastpaybrasil.com/v1/manual-refund-requests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-global.fastpaybrasil.com/v1/manual-refund-requests")
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": [
{
"id": "2RhQg9M7ZCg3X3nMb9W1kX8Q",
"merchantId": "<string>",
"merchantLegalName": "<string>",
"merchantEmail": "<string>",
"chargeId": "<string>",
"refundId": "<string>",
"amount": 199.9,
"currency": "BRL",
"status": "pending",
"reason": "<string>",
"resolvedByUserId": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"page": 123,
"pages": 123,
"total": 123,
"size": 123,
"pendingCount": 123
}{
"statusCode": 422,
"message": "SubMerchant is not active",
"error": "Unprocessable Entity"
}{
"statusCode": 422,
"message": "SubMerchant is not active",
"error": "Unprocessable Entity"
}Authorizations
JWT Bearer token authentication. Use the JWT token obtained from the login endpoint in the Authorization header as 'Bearer {token}'.
Query Parameters
Filter by request status.
Available options:
pending, completed, failed Filter by merchant ID.
Example:
"2vorkDcXyvzifL63YX09S9VqcnI"
Page number (starts at 1)
Number of items per page