---
updatedAt: 2026-08-26T16:58:48.000Z
agentTools:
  projectIndex: https://developer.pagbank.com.br/llms.txt
---

# Consultar estorno

Utilize esse recurso para realizar o acompanhamento do status do estorno criado anteriormente. Utilize o `refund_id` recebido ao criar o estorno para identificar o elemento de interesse.

> 📘
>
> Acesse o guia do serviço de [Pagamentos Recorrentes](https://developer.pagbank.com.br/devpagbank/docs/pagamentos-recorrentes) para mais informações sobre seu funcionamento e funcionalidades disponíveis.
>
> Você também pode consultar o guia específico da funcionalidade de [pagamentos](https://developer.pagbank.com.br/devpagbank/docs/pagamentos).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "assinaturas-sandbox",
    "version": "4.1"
  },
  "servers": [
    {
      "url": "https://sandbox.api.assinaturas.pagseguro.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/refunds/{refund_id}": {
      "get": {
        "summary": "Consultar estorno",
        "description": "",
        "operationId": "consultar-estorno",
        "parameters": [
          {
            "name": "refund_id",
            "in": "path",
            "description": "Identificador únido do estorno que deseja consultar. Formato `REFU_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Token de autenticação. Deve ser enviado no formato `Bearer <token>`.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer <token>"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": \"REFU_F5B60BD0-508F-4DA1-B73E-87CFF76478F4\",\n    \"payment\": {\n        \"id\": \"PAYM_CONTRACT-TEST-TEST-TEST-CONTRACT0006\",\n        \"amount\": {\n            \"value\": 10,\n            \"currency\": \"BRL\"\n        }\n    },\n    \"amount\": {\n        \"value\": 10,\n        \"currency\": \"BRL\"\n    },\n    \"created_at\": \"2021-05-20T08:59:41.222846-03:00\",\n    \"status\": \"SUCCESS\",\n    \"type\": \"FULL\",\n    \"links\": [\n        {\n            \"rel\": \"SELF\",\n            \"href\": \"https://sandbox.api.assinaturas.pagseguro.com/refunds\",\n            \"media\": \"application/json\",\n            \"type\": \"GET\"\n        },\n        {\n            \"rel\": \"SELF\",\n            \"href\": \"https://sandbox.api.assinaturas.pagseguro.com/refunds/REFU_F5B60BD0-508F-4DA1-B73E-87CFF76478F4\",\n            \"media\": \"application/json\",\n            \"type\": \"GET\"\n        }\n    ]\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_messages\": [\n    {\n      \"error\": \"refund_not_found\",\n      \"parameter_name\": \"refund_id\",\n      \"description\": \"The refund id not exists.\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_messages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "error": {
                            "type": "string",
                            "example": "refund_not_found"
                          },
                          "parameter_name": {
                            "type": "string",
                            "example": "refund_id"
                          },
                          "description": {
                            "type": "string",
                            "example": "The refund id not exists."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```