Retrieve a refund

Fetch a single refund by id.

Authentication

x-api-keystring

A scoped MvsPayApiKey, e.g. mvspay_live_…. Mint and scope keys from the dashboard (Settings → API Keys).

Path parameters

idstringRequired

Response

The refund.
refundobject

A refund as modeled by the payments engine. Loosely typed; extra Hyperswitch fields pass through. All amount fields are minor units (cents).

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
502
Bad Gateway Error