POST
stripe_refunds_create.py
from charter.packs import stripe
result = await stripe.refunds_create.ainvoke({})
Body
| 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. ≥ 1 |
reason | 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. |