# Refund a payment (Subscription Payment)

## Instruction

To refund a charge you will need the <mark style="color:yellow;background-color:yellow;">charge ID</mark> and the <mark style="color:blue;background-color:blue;">Account ID</mark> for the connected account. You can retrieve the <mark style="color:yellow;background-color:yellow;">charge ID</mark> by performing the 'Stripe - List Invoices For A Subscription' data call (more about that [here](/stipe-checkout-connect-bubble-plugin-by-thimo/marketplace-subscriptions/how-to-list-invoices-for-a-subscription.md)). Next we will perform the 'Stripe - Refund Charge' workflow action to make a full or partly refund.&#x20;

**Note:** as a subscription can has multiple charges (multiple payments for 1 subscription by a customer) make sure to select the right charge. You can for example display the charges in a repeating group to have a better picture (for simplicity in the image below we use the first charge of the list).

![](/files/FaM6S0WKWcDtdPE5aZgC)


---

# 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://thimoo.gitbook.io/stipe-checkout-connect-bubble-plugin-by-thimo/marketplace-subscriptions/refund-a-payment-subscription-payment.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.
