Cancel Payment Intent
cancel_payment_intentCancel an unpaid PaymentIntent to prevent processing. Use idempotency key for safe retries.
Instructions
Cancel a PaymentIntent. Can only cancel intents that are not already succeeded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_intent_id | Yes | PaymentIntent ID (pi_...) | |
| cancellation_reason | No | Reason for cancellation | |
| idempotency_key | No | Optional idempotency key for safe retries |