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

# refunds_create

> Refund a charge. Provide either `charge` or `payment_intent`. Omit `amount` to refund the full sum.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.stripe.com/v1/refunds"}</code></div>

```python stripe_refunds_create.py theme={null}
from charter.packs import stripe

result = await stripe.refunds_create.ainvoke({})
```

## Body

<div className="reference-table">
  | Field           | Type                                                                | Description                                                                                                                                                                                                                                                          |
  | --------------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `charge`        | `string`                                                            | The identifier of the charge to refund.                                                                                                                                                                                                                              |
  | `paymentIntent` | `string`                                                            | The identifier of the PaymentIntent to refund.                                                                                                                                                                                                                       |
  | `amount`        | `integer`                                                           | A positive integer in the smallest currency unit representing how much to refund. Defaults to the entire charge. Cents, not dollars: \$15.00 is 1500, and 15 refunds fifteen cents. Multiply a decimal amount by 100. <span className="field-constraints">≥ 1</span> |
  | `reason`        | [RefundReason](/charter/charter/packs/stripe/payments/objects#refundreason) | The reason for the refund. If set to 'fraudulent', the associated payment is marked as fraudulent.                                                                                                                                                                   |
  | `metadata`      | map of `string`                                                     | Set of key-value pairs attached to the refund.                                                                                                                                                                                                                       |
</div>
