POST
stripe_payment_intents_cancel.py
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cancel a payment, releasing any authorised funds back to the customer.
from charter.packs import stripe
result = await stripe.payment_intents_cancel.ainvoke({"intent": ...})
| Field | Type | Description |
|---|---|---|
intent * | string | The ID of the PaymentIntent. |
| Field | Type | Description |
|---|---|---|
cancellationReason | CancellationReason | Why the payment is being cancelled. Stripe records its own reasons for cancellations it makes; these four are the ones you may send. |
Was this page helpful?