---
updatedAt: 2026-09-17T16:31:23.000Z
agentTools:
  projectIndex: https://docs.dlocal.com/llms.txt
---

# Retrieve a refund

Retrieve information about a refund.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Payins",
    "version": "2.1"
  },
  "servers": [
    {
      "url": "https://api.dlocal.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Date",
        "in": "header",
        "x-default": ""
      },
      "sec1": {
        "type": "apiKey",
        "name": "X-Login",
        "in": "header",
        "x-default": ""
      },
      "sec2": {
        "type": "apiKey",
        "name": "X-Trans-Key",
        "in": "header",
        "x-default": ""
      },
      "sec3": {
        "type": "apiKey",
        "name": "Content-Type",
        "in": "header",
        "x-default": "application/json"
      },
      "sec4": {
        "type": "apiKey",
        "name": "X-Version",
        "in": "header",
        "x-default": "2.1"
      },
      "sec5": {
        "type": "apiKey",
        "name": "User-Agent",
        "in": "header",
        "x-default": ""
      },
      "sec6": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": [],
      "sec2": [],
      "sec3": [],
      "sec4": [],
      "sec5": [],
      "sec6": []
    }
  ],
  "paths": {
    "/refunds/{refund_id}": {
      "get": {
        "tags": [
          "Refunds"
        ],
        "summary": "Retrieve a refund",
        "description": "Retrieve information about a refund.",
        "operationId": "retrieve-a-refund",
        "parameters": [
          {
            "name": "refund_id",
            "in": "path",
            "description": "The refund ID.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n   \"id\" : \"REF42342\",\n   \"payment_id\" : \"PAY4334346343\",\n   \"notification_url\" : \"http://some.url\",\n   \"amount\" : 803.04,\n   \"currency\" : \"BRL\",\n   \"status\" : \"SUCCESS\",\n   \"status_code\" : 200,\n   \"status_detail\" : \"The refund was paid\",\n   \"created_date\" : \"2018-09-06T22:03:03.000+0000\",\n   \"amount_refunded\" : 803.04 //Deprecated\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "REF42342"
                    },
                    "payment_id": {
                      "type": "string",
                      "example": "PAY4334346343"
                    },
                    "notification_url": {
                      "type": "string",
                      "example": "http://some.url"
                    },
                    "amount": {
                      "type": "number",
                      "example": 803.04,
                      "default": 0
                    },
                    "currency": {
                      "type": "string",
                      "example": "BRL"
                    },
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "status_code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "status_detail": {
                      "type": "string",
                      "example": "The refund was paid"
                    },
                    "created_date": {
                      "type": "string",
                      "example": "2018-09-06T22:03:03.000+0000"
                    },
                    "amount_refunded": {
                      "type": "number",
                      "example": 803.04,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "shell",
              "code": "curl -X GET \\\n   -H 'X-Date: {X-Date}' \\\n   -H 'X-Login: {X-Login}' \\\n   -H 'X-Trans-Key: {X-Trans-Key}' \\\n   -H 'X-Version: 2.1' \\\n   -H 'User-Agent: MerchantTest / 1.0 ' \\\n   -H 'Authorization: V2-HMAC-SHA256, Signature: {Signature}' \\\n    https://api.dlocal.com/refunds/REF42342"
            }
          ],
          "samples-languages": [
            "shell"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```