---
agentTools:
  projectIndex: https://docs.eupago.pt/llms.txt
---

# Refund Information

Use this request to obtain informations regarding a refund.

[block:api-header]
{}
[/block]

refundId value for Path Param is received on the response of the [Refund request](https://eupago.readme.io/reference/refund).

[block:callout]
{
  "type": "warning",
  "body": "This request uses OAuth authentication on its header. Please **[go this page](https://eupago.readme.io/reference/generate-bearer-token)** to know how to create your Bearer Token."
}
[/block]

[block:html]
{
  "html": "<div class=example>\n  <p>To test this request please fill the params below or load a complete example on the right clicking in <strong>Examples</strong> dropdown on the right.</p>\n</div>\n\n<style>\n  .example\n  {\n  color:#C41E3A;\n  }\n</style>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "REST API - OAuth",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.eupago.pt/api/management/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1.02/refund/{refundId}": {
      "get": {
        "summary": "Refund Information",
        "description": "Use this request to obtain informations regarding a refund.",
        "operationId": "refund-information",
        "parameters": [
          {
            "name": "refundId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "value": "{\n    \"transactionStatus\": \"Success\",\n    \"refundList\": {\n        \"trid\": \"10409153\",\n        \"entity\": \"00000\",\n        \"identifier\": \"Exemplo\",\n        \"reference\": \"8870231\",\n        \"status\": \"reembolsado\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactionStatus": {
                      "type": "string",
                      "example": "Success"
                    },
                    "refundList": {
                      "type": "object",
                      "properties": {
                        "trid": {
                          "type": "string",
                          "example": "10409153"
                        },
                        "entity": {
                          "type": "string",
                          "example": "00000"
                        },
                        "identifier": {
                          "type": "string",
                          "example": "Exemplo"
                        },
                        "reference": {
                          "type": "string",
                          "example": "8870231"
                        },
                        "status": {
                          "type": "string",
                          "example": "reembolsado"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Bad Request": {
                    "value": "{\n    \"transactionStatus\": \"Rejected\",\n    \"code\": \"REFUND_INVALID\",\n    \"text\": \"Refund is invalid\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactionStatus": {
                      "type": "string",
                      "example": "Rejected"
                    },
                    "code": {
                      "type": "string",
                      "example": "REFUND_INVALID"
                    },
                    "text": {
                      "type": "string",
                      "example": "Refund is invalid"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Bearer Token Invalid": {
                    "value": "{\n  \"transactionStatus\": \"Rejected\",\n  \"code\": \"TOKEN_INVALID\",\n  \"text\": \"Token is invalid\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "transactionStatus": {
                      "type": "string",
                      "example": "Rejected"
                    },
                    "code": {
                      "type": "string",
                      "example": "TOKEN_INVALID"
                    },
                    "text": {
                      "type": "string",
                      "example": "Token is invalid"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Page Not Found"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61d5694e1c1df30075ab1cb3:61d712789d667802f79b08cb"
}
```