Onboard a merchant
Creates a merchant, auto-provisions an NMI connector + single→NMI routing (best-effort), and completes a deferred Plaid bank vault if supplied. Idempotent on idempotencyKey.
Authentication
x-api-keystring
A scoped MvsPayApiKey, e.g. mvspay_live_…. Mint and scope keys from the dashboard (Settings → API Keys).
Headers
Idempotency-Key
Request
This endpoint expects an object.
idempotencyKey
merchantId
Caller-supplied Hyperswitch merchant id; minted if omitted.
merchantName
displayName
business
owner
bankAccount
If it carries a payoutMethodId, the deferred Plaid bank vault is completed against the new merchant.
identityDocs
metadata
Response
The onboarded merchant.
mvs_extension
remediation
connectorProvisioned
bankVaulted
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error
502
Bad Gateway Error