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

idstringRequired

The authorization (payment) id.

Headers

Idempotency-KeystringOptional

Request

This endpoint expects an object.
cancellation_reasonenumOptionalDefaults to user_cancel

Response

The voided payment.
paymentobject

Hyperswitch payment_intent response. Loosely typed; extra Hyperswitch fields pass through.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error