Create a card-not-present (keyed) sale
Create a card-not-present (keyed) sale
Processes a keyed / card-not-present sale as a confirmed payment_intent. Supply either a one-time token (fresh keyed card) or a saved paymentInstrumentId. Pass idempotencyId to make retries safe; one is generated server-side if omitted.
Authentication
x-api-keystring
A scoped MvsPayApiKey, e.g. mvspay_live_…. Mint and scope keys from the dashboard (Settings → API Keys).
Request
This endpoint expects an object.
amount
Minor units (cents); minimum 50 ($0.50).
currency
token
One-time token for a freshly keyed card.
paymentInstrumentId
A saved payment-method id.
customerId
customerName
description
invoiceReference
merchantId
Override the resolved merchant.
locationId
idempotencyId
Client-supplied idempotency id; generated server-side if omitted.
Response
The confirmed sale.
success
payment
Hyperswitch payment_intent response. Loosely typed; extra Hyperswitch fields pass through.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
502
Bad Gateway Error