Void an authorization
Voids/cancels an authorization. cancellation_reason must be one of the connector-accepted values; defaults to user_cancel.
Authentication
x-api-keystring
A scoped MvsPayApiKey, e.g. mvspay_live_…. Mint and scope keys from the dashboard (Settings → API Keys).
Path parameters
id
The authorization (payment) id.
Headers
Idempotency-Key
Request
This endpoint expects an object.
cancellation_reason
Response
The voided payment.
payment
Hyperswitch payment_intent response. Loosely typed; extra Hyperswitch fields pass through.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error