v1
latestOpenAPI 3.0.12026-07-242871595.3 MBVoid a payment
Cancels the specified payment before it is settled. The payment will be recorded as a void, but Clover may convert the void into a refund at the payment gateway under certain conditions. For final payments (where the final flag is set to true), a void cannot be processed outside of the settlement window (more than 25 minutes after the payment). When a void is not possible, Clover performs a refund instead of a void.
Path parameters
Clover payment UUID
Headers
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>
The Clover device to route the request to.
An identifier for the POS making the request.
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.
The idempotency key transmitted during the request, if any.
Request body
Response
A valid VoidResponse
Example response
{
"payment": {
"cardTransaction": {
"last4": "1234"
},
"refunds": [
{
"cardTransaction": {
"last4": "1234"
}
}
]
}
}