CancelPaymentIntent
Cancels a payment intent. The status of the payment intent to cancel must 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 Id of the payment intent to cancel. |
| CancellationReason | String | The reason for canceling this payment intent. Possible values are: duplicate, fraudulent, requested_by_customer, or abandoned. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns the execution status of the stored procedure. |