Capture an authorization
Captures a manual-capture authorization, optionally for a partial amount_to_capture (cents). Pass an Idempotency-Key header to make the capture safe to retry.
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
Client-supplied idempotency key; a deterministic one is derived if omitted.
Request
This endpoint expects an object.
amount_to_capture
Positive integer (cents). Omit to capture the full authorized amount.
Response
The captured 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