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

# Retrieve an order

Retrieve information about an existing refund order.

Refunds can include an `order_refund_id` which is the ID of the refund given by the merchant in their system.

Merchants can retrieve refunds based on this ID.<br /><br />

<Callout icon="📘" theme="info">
  Please ensure that the order ID specified is for the refund transaction and not the payment.
</Callout>

# 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": {
    "/orders/refunds/{order_refund_id}": {
      "get": {
        "tags": [
          "Refunds"
        ],
        "summary": "Retrieve an order",
        "description": "Retrieve information about an existing refund order.",
        "operationId": "retrieve-order-refund",
        "parameters": [
          {
            "name": "order_refund_id",
            "in": "path",
            "description": "ID given by the merchant in their system.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": \"LDMYZ5mtmsRef\",\n  \"payment_id\": \"D-4-f77392b1-4ff0-477c-749ac9a237b5\",\n  \"status\": \"SUCCESS\",\n  \"currency\": \"BRL\",\n  \"created_date\": \"2018-09-06T22:03:03.000+0000\",\n  \"amount\": 803.04,\n  \"description\": \"refund description\",\n  \"status_code\": 200,\n  \"status_detail\": \"The refund was paid.\",\n  \"notification_url\": \"http://merchantsite.com/notification/new\",\n  \"amount_refunded\": 803.04,\n  \"refund_id\": \"REF-4-8b885de9-5cbc-436f-9d67-5d97315bd230\"\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "LDMYZ5mtmsRef"
                    },
                    "payment_id": {
                      "type": "string",
                      "example": "D-4-f77392b1-4ff0-477c-749ac9a237b5"
                    },
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "currency": {
                      "type": "string",
                      "example": "BRL"
                    },
                    "created_date": {
                      "type": "string",
                      "example": "2018-09-06T22:03:03.000+0000"
                    },
                    "amount": {
                      "type": "number",
                      "example": 803.04,
                      "default": 0
                    },
                    "description": {
                      "type": "string",
                      "example": "refund description"
                    },
                    "status_code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "status_detail": {
                      "type": "string",
                      "example": "The refund was paid."
                    },
                    "notification_url": {
                      "type": "string",
                      "example": "http://merchantsite.com/notification/new"
                    },
                    "amount_refunded": {
                      "type": "number",
                      "example": 803.04,
                      "default": 0
                    },
                    "refund_id": {
                      "type": "string",
                      "example": "REF-4-8b885de9-5cbc-436f-9d67-5d97315bd230"
                    }
                  }
                }
              }
            }
          }
        },
        "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/orders/refunds/LDMYZ5mtmsRef"
            }
          ],
          "samples-languages": [
            "shell"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```