Checking access…

Skip to main content
Audience: CCG Platform Engineers

Cancel Payment Flow

Platform engineers implementing or troubleshooting the cancel endpoint, including which payment states are eligible for cancellation and the resulting Stripe void/reversal behavior. For the actual PATCH request/response, see How to Cancel a Payment. For the webhook payload and error scenarios, see Cancel Payment β€” Reference. For capturing instead of cancelling an authorized payment, see Pre-Auth & Capture.

Overview​

The cancel endpoint (PATCH /v2/payments/{paymentId}/cancel) allows merchants to void or cancel an in-progress or authorized payment. Cancellation triggers a Stripe void or reversal depending on the current payment state.

Cancellation Eligibility​

Payment StateCancel Allowed?Stripe Action
AUTHORIZEDβœ…Void the PaymentIntent
ACCEPTEDβœ…Reverse the ACH transaction
PENDINGβœ…Cancel before processing
INITIATEDβœ…Cancel before processing
PROCESSING❌Wait for terminal state
COMPLETED❌Use refund (POST /v2/refunds) instead
FAILED❌Already terminal
CANCELLED❌Already terminal

Cancellation Reasons​

ValueWhen to Use
DUPLICATEMerchant identified this as a duplicate payment
FRAUDULENTSuspected fraudulent activity
REQUESTED_BY_CUSTOMERCustomer asked to cancel
ABANDONEDCustomer did not complete (e.g., 3DS timeout)