> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Unreferenced Refund by ID

> Retrieve an existing unreferenced refund.

This request enables you to retrieve details of an unreferenced refund based on its `id`, which needs to be provided in the request path.

<ParamField header="public-api-key" type="string" required>
  The unique public API key for your account.
</ParamField>

<ParamField header="private-secret-key" type="string" required>
  The unique private secret key for your account.
</ParamField>

<ParamField path="unreferenced_refund_id" type="string" required>
  Yuno-generated unique identifier of the unreferenced refund.
</ParamField>

<ParamField query="include_raw_responses" type="boolean" default="false">
  When `true`, the `provider` object in the response payload will include `raw_response_code` and `raw_response_message`.
</ParamField>

<ParamField query="include_transaction_responses" type="boolean" default="false">
  When `true`, returns the full list of attempts and intermediate network responses if the refund triggered multiple internal retries.
</ParamField>

<RequestExample>
  ```bash Example request theme={"theme":{"light":"github-dark","dark":"github-dark"}}
  curl --request GET \
    --url 'https://api.y.uno/v1/unreferenced-refunds/d290f1ee-6c54-4b01-90e6-d701748f0851?include_raw_responses=true' \
    --header 'public-api-key: YOUR_PUBLIC_API_KEY' \
    --header 'private-secret-key: YOUR_PRIVATE_SECRET_KEY' \
    --header 'Accept: application/json'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - Refund found theme={"theme":{"light":"github-dark","dark":"github-dark"}}
  {
    "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "account_id": "9f6e0a4c-1d2b-4e3f-8a9b-1c2d3e4f5a6b",
    "merchant_order_id": "REFUND-2026-05-14-001",
    "country": "US",
    "amount": { "value": 25.00, "currency": "USD" },
    "status": "SUCCEEDED",
    "sub_status": "SUCCEEDED",
    "payment_method": {
      "vaulted_token": "550e8400-e29b-41d4-a716-446655440000",
      "detail": {
        "card": {
          "card_data": { "brand": "VISA", "last_four": "1111", "type": "CREDIT" }
        }
      }
    },
    "customer_payer": {
      "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
    },
    "provider": {
      "name": "STRIPE",
      "type": "PSP",
      "reference": "re_3OqQz92eZvKYlo2C0g6XK1Yj",
      "category": "APPROVED",
      "raw_response_code": "succeeded",
      "raw_response_message": "Refund settled"
    },
    "created_at": "2026-05-14T11:47:13.482Z",
    "updated_at": "2026-05-14T11:47:18.030Z"
  }
  ```

  ```json 404 - Refund not found theme={"theme":{"light":"github-dark","dark":"github-dark"}}
  {
    "code": "UNREFERENCED_REFUND_NOT_FOUND",
    "messages": [
      "No unreferenced refund with the provided id exists on this account."
    ]
  }
  ```
</ResponseExample>
