CancelPaymentIntent
Cancels a PaymentIntent. The Status of PaymentIntent that you want to cancel should be one of the following: requires_payment_method, requires_capture, requires_confirmation, requires_action, processing.
Stored Procedure-Specific Information
To run this procedure, enter:EXEC CancelPaymentIntent PaymentIntentId = 'pi_3MRW9VSC4snQ4WkO1WLN77z2', CancellationReason = 'fraudulent'
Input
| Name | Type | Description |
| PaymentIntentId | String | The PaymentIntent Id. |
| CancellationReason | String | The reason for canceling this PaymentIntent. Possible values are: duplicate, fraudulent, requested_by_customer, or abandoned. |
Result Set Columns
| Name | Type | Description |
| Success | String | The execution status of the stored procedure. |