# Retrieve checkout session refund

Use this endpoint to:

* Confirm whether a refund has been successfully processed.
* Check the current status of a pending refund.
* View refund details such as metadata, reason, amount, and creation time.

<mark style="color:blue;">**`GET`**</mark> `https://{provided url}/v1/refunds/:id`

{% tabs %}
{% tab title="CURL" %}

```
curl https://{provided url}/v1/refunds/kLcRRC5P8U68CYe0kVA \
  -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \
```

{% endtab %}
{% endtabs %}

## Example JSON Response

```
{
	"id": "kLcRRC5P8U68CYe0kVA",
	"amount": 1000,
	"status": "pending",
	"reason": "requested_by_customer",
	"created_at": 1534255857,
	"livemode": false
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.convergegate.com/legacy/retrieve-checkout-session-refund.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
