Cancel payment intent
documentedCancel a PaymentIntent.
POST /v1/payment_intents/{id}/cancelPayment Intentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.stripe.com/v1/payment_intents/{{$payment_intent_id}}/cancel" \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-u "{{STRIPE_API_KEY}}:" \
-d 'cancellation_reason={{$cancellation_reason}}'