v1
latestOpenAPI 3.0.12026-07-242871595.3 MBPAYMENTS
Send a payment request to a Clover device
Starts the payment flow for the transaction type specified in the request. Once the customer finishes their payment, a payment response is returned, and the device returns to the idle state.
post/v1/payments
Headers
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>
X-Clover-Device-Idstring required
The Clover device to route the request to.
X-POS-Idstring required
An identifier for the POS making the request.
X-Clover-Timeoutinteger
The amount of time, in seconds, that this operation will process before timing out. A value of 0 indicates no timeout will be enforced by Remote Pay, although protocol specified timeouts may still apply.
Idempotency-Keystring required
The idempotency key transmitted during the request, if any.
Request body
Example request
{
"vaultedCard": {
"last4": "1234"
}
}Response
A valid PayResponse
Example response
{
"payment": {
"cardTransaction": {
"last4": "1234"
},
"refunds": [
{
"cardTransaction": {
"last4": "1234"
}
}
]
}
}