A Payment could can be cancelled when it is in one of these statuses: succeeded
, partially_captured
, partially_captured_and_capturable
.
Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
The identifier for payment
Request to cancel a payment when the payment is already captured
Payment canceled post capture