stripe_refunds_create
Refund a Stripe charge or payment intent fully or partially. Provide amount for partial refunds, omit for full, and add reason and metadata for tracking.
Instructions
Refund a charge. Provide either charge or payment_intent. Omit amount to refund the full sum.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | 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. | |
| charge | No | The identifier of the charge to refund. | |
| reason | No | The reason for the refund. If set to 'fraudulent', the associated payment is marked as fraudulent. | |
| metadata | No | Set of key-value pairs attached to the refund. | |
| paymentIntent | No | The identifier of the PaymentIntent to refund. |