Create a payment
Mints a Hyperswitch payment_intent and returns the client_secret the browser SDK confirms with the card.
Trust model (ADR-010): the organization is resolved from a VERIFIED context, never the body. On a tenant host (acme.mvspay.io) the public checkout path is used with no API key; off a tenant host, the x-api-key path (transactions:write) applies. A metadata.organization_id that disagrees with the verified org is rejected (403). Public promotion of this endpoint is gated on the §6 anti-automation controls in the platform plan.
Authentication
A scoped MvsPayApiKey, e.g. mvspay_live_…. Mint and scope keys from the dashboard (Settings → API Keys).
Request
Minor units (cents).
false → intent only (browser confirms); true → server confirm.
A saved payment-method id (saved-card flow).
Tokenized fresh-card data, e.g. { token }.
A metadata.organization_id, if present, must match the verified tenant org.
Response
The created payment_intent (loosely typed; extra Hyperswitch fields pass through).
e.g. requires_payment_method, requires_confirmation, succeeded, processing, cancelled.
Minor units (cents).
Connector chosen by Hyperswitch (may be null).
Includes server-stamped mvs_org_id / mvs_org_slug.