List a wallet's PIX refunds
curl --request GET \
--url https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversalsimport requests
url = "https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals"
req, _ := http.NewRequest("GET", url, nil)
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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"_id": "6710d2e4b4d3e80012c9a1f7",
"environment": "LIVE",
"realmId": "f495ff0c-ab54-4f99-8e92-ca8682e4de9b",
"organizationId": "c4bd3f21-dfbd-44e8-8055-68ba15bed410",
"accountId": "66f2a1c7b4d3e80012c9a0b4",
"walletId": "66f2a3d1b4d3e80012c9a0d2",
"transactionId": "6710c9a1b4d3e80012c9a1e2",
"status": "CONFIRMED",
"originalEffectiveAt": "2026-10-16T18:40:11.000Z",
"originalAmount": 50000,
"originalCurrency": "986",
"reversalReason": "USER_REQUESTED",
"reversalDescription": "Pedido cancelado pelo cliente",
"reversalEffectiveAt": "2026-10-17T14:22:05.000Z",
"reversalAmount": 50000,
"reversalCurrency": "986",
"processingType": "INSTANT",
"createdAt": "2026-10-17T14:21:40.000Z",
"updatedAt": "2026-10-17T14:22:05.000Z",
"requestedAt": "2026-10-17T14:22:03.000Z",
"originalPixId": "6710c9a0b4d3e80012c9a1e0",
"originalPixBillingId": "6710c5f2b4d3e80012c9a1d4",
"originalReceipt": {
"endToEndId": "E18236120202611021310s0123456789"
},
"originalCreditParty": {
"_id": "6710d2e4b4d3e80012c9a1f8",
"bankIspb": "18236120",
"accountType": "CACC",
"document": "12345678000190",
"keyType": "EMAIL",
"key": "financeiro@cliente.com.br",
"name": "Cliente Exemplo Ltda",
"street": "Rua das Flores, 100",
"city": "Curitiba",
"state": "PR",
"postalCode": "80010000",
"branch": "0001",
"accountNumber": "123456"
},
"originalDebitParty": {
"_id": "6710d2e4b4d3e80012c9a1f8",
"bankIspb": "18236120",
"accountType": "CACC",
"document": "12345678000190",
"keyType": "EMAIL",
"key": "financeiro@cliente.com.br",
"name": "Cliente Exemplo Ltda",
"street": "Rua das Flores, 100",
"city": "Curitiba",
"state": "PR",
"postalCode": "80010000",
"branch": "0001",
"accountNumber": "123456"
},
"reversalAdditionalInformation": "Estorno referente ao pedido 4471",
"reversalReceipt": {
"endToEndId": "E18236120202611021310s0123456789"
},
"errorCode": "AM04",
"errorDescription": "Saldo insuficiente na conta do recebedor",
"external": {
"reversalId": "rev_6b8f0c2a9d1e4f3a"
},
"__v": 0
}
],
"next": "NjcxMGQyZTRiNGQzZTgwMDEyYzlhMWY3"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "FORBIDDEN_WALLET",
"origin": "BANKING",
"message": "You do not have permission to perform this action on this wallet"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "ACCOUNT_NOT_FOUND",
"origin": "BANKING",
"message": "Account not found"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "BAD_REQUEST",
"origin": "BANKING",
"message": "Bad Request: Your request is invalid or incomplete. Please make sure you are requesting with the right fields.",
"fields": [
{
"field": "limit",
"message": "Invalid input: expected integer, received string",
"code": "LIMIT_TYPE_ERROR"
}
]
}List a wallet's PIX refunds
Lists the refunds of PIX payments the wallet received, newest first.
GET
/
realms
/
{realmId}
/
organizations
/
{organizationId}
/
accounts
/
{accountId}
/
wallets
/
{walletId}
/
reversals
List a wallet's PIX refunds
curl --request GET \
--url https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversalsimport requests
url = "https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals"
req, _ := http.NewRequest("GET", url, nil)
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.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.banking.v2.portao3.com.br/realms/{realmId}/organizations/{organizationId}/accounts/{accountId}/wallets/{walletId}/reversals")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"_id": "6710d2e4b4d3e80012c9a1f7",
"environment": "LIVE",
"realmId": "f495ff0c-ab54-4f99-8e92-ca8682e4de9b",
"organizationId": "c4bd3f21-dfbd-44e8-8055-68ba15bed410",
"accountId": "66f2a1c7b4d3e80012c9a0b4",
"walletId": "66f2a3d1b4d3e80012c9a0d2",
"transactionId": "6710c9a1b4d3e80012c9a1e2",
"status": "CONFIRMED",
"originalEffectiveAt": "2026-10-16T18:40:11.000Z",
"originalAmount": 50000,
"originalCurrency": "986",
"reversalReason": "USER_REQUESTED",
"reversalDescription": "Pedido cancelado pelo cliente",
"reversalEffectiveAt": "2026-10-17T14:22:05.000Z",
"reversalAmount": 50000,
"reversalCurrency": "986",
"processingType": "INSTANT",
"createdAt": "2026-10-17T14:21:40.000Z",
"updatedAt": "2026-10-17T14:22:05.000Z",
"requestedAt": "2026-10-17T14:22:03.000Z",
"originalPixId": "6710c9a0b4d3e80012c9a1e0",
"originalPixBillingId": "6710c5f2b4d3e80012c9a1d4",
"originalReceipt": {
"endToEndId": "E18236120202611021310s0123456789"
},
"originalCreditParty": {
"_id": "6710d2e4b4d3e80012c9a1f8",
"bankIspb": "18236120",
"accountType": "CACC",
"document": "12345678000190",
"keyType": "EMAIL",
"key": "financeiro@cliente.com.br",
"name": "Cliente Exemplo Ltda",
"street": "Rua das Flores, 100",
"city": "Curitiba",
"state": "PR",
"postalCode": "80010000",
"branch": "0001",
"accountNumber": "123456"
},
"originalDebitParty": {
"_id": "6710d2e4b4d3e80012c9a1f8",
"bankIspb": "18236120",
"accountType": "CACC",
"document": "12345678000190",
"keyType": "EMAIL",
"key": "financeiro@cliente.com.br",
"name": "Cliente Exemplo Ltda",
"street": "Rua das Flores, 100",
"city": "Curitiba",
"state": "PR",
"postalCode": "80010000",
"branch": "0001",
"accountNumber": "123456"
},
"reversalAdditionalInformation": "Estorno referente ao pedido 4471",
"reversalReceipt": {
"endToEndId": "E18236120202611021310s0123456789"
},
"errorCode": "AM04",
"errorDescription": "Saldo insuficiente na conta do recebedor",
"external": {
"reversalId": "rev_6b8f0c2a9d1e4f3a"
},
"__v": 0
}
],
"next": "NjcxMGQyZTRiNGQzZTgwMDEyYzlhMWY3"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "FORBIDDEN_WALLET",
"origin": "BANKING",
"message": "You do not have permission to perform this action on this wallet"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "ACCOUNT_NOT_FOUND",
"origin": "BANKING",
"message": "Account not found"
}{
"traceId": "1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b",
"code": "BAD_REQUEST",
"origin": "BANKING",
"message": "Bad Request: Your request is invalid or incomplete. Please make sure you are requesting with the right fields.",
"fields": [
{
"field": "limit",
"message": "Invalid input: expected integer, received string",
"code": "LIMIT_TYPE_ERROR"
}
]
}Each refund sends a received PIX payment back to whoever sent it, in full or in part. Page with
limit + next. Use default as walletId for the organization’s main wallet, and send x-environment: LIVE for production wallets.
Organization admins can list every wallet’s refunds; other users only those of the wallets shared with them, in any role.Headers
Environment of the wallet: LIVE (production) or TEST (sandbox). When you omit it, you get the TEST reversals; any other value is rejected.
Available options:
LIVE, TEST Path Parameters
ID of your realm.
Format: UUID
ID of the organization the wallet belongs to.
Format: UUID
ID of the organization's account (24 hexadecimal characters).
Pattern:
^[0-9a-fA-F]{24}$ID of the wallet (24 hexadecimal characters), or default for the organization's main wallet.
Pattern:
^([0-9a-fA-F]{24}|default)$Query Parameters
Cursor returned as next by the previous page. Omit it for the first page.
Page size. Defaults to 15.
Required range:
x > 0