---
title: "Retrieve a refund"
method: GET
path: "/payment-intents/refunds/{refundId}"
tags: ["Refunds"]
---

# Retrieve a refund

`GET /payment-intents/refunds/{refundId}`

## Request

- Base URL: `https://api.dojo.tech`
- URL: `https://api.dojo.tech/payment-intents/refunds/{refundId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/dojo/apis/dojo-api/docs/payment-intents/refunds/:refundId/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the details of a refund that has previously been created.

## Path parameters

- `refundId` string, nullable, required

## Headers

- `version` string, date, required

## Response `200`

OK

- Refund: The refund response object.
  - `paymentIntentId` string, nullable: The unique identifier of the payment intent.
  - `refundId` string, nullable: A unique identifier for the refund. It will be used to reference this refund in all operations. It is recommended to use a UUID.
  - `refundReason` string, nullable: The reason for the refund.
  - `notes` string, nullable: A description for the refund, if applicable.

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/dojo/apis/dojo-api.md) - [All operations](https://skmtc.dev/dojo/apis/dojo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dojo/apis/dojo-api/revisions/29fc8900ba37?raw)
