---
updatedAt: 2026-04-24T21:14:24.000Z
agentTools:
  projectIndex: https://docs.clover.com/dev/llms.txt
---

# Deliver a void receipt

Deliver a void receipt in the format specified in the request. `PRINT` is the only supported format at this time.

# OpenAPI definition

```json
{
  "components": {
    "parameters": {
      "DeviceId": {
        "description": "The Clover device to route the request to.",
        "in": "header",
        "name": "X-Clover-Device-Id",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "IdempotencyKeyOptional": {
        "description": "The idempotency key transmitted during the request, if any.",
        "in": "header",
        "name": "Idempotency-Key",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "PosId": {
        "description": "An identifier for the POS making the request.",
        "in": "header",
        "name": "X-POS-Id",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "Timeout": {
        "description": "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.",
        "in": "header",
        "name": "X-Clover-Timeout",
        "required": false,
        "schema": {
          "maximum": 300,
          "minimum": 0,
          "type": "integer"
        }
      },
      "UserAgentHeader": {
        "name": "User-Agent",
        "in": "header",
        "description": "Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: `<AppName>/<Version> <Comment>`",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "PostmanRuntime/7.44.1"
      }
    },
    "responses": {
      "209": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "Operation was canceled."
      },
      "400": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The request is invalid, and subsequent calls will continue to fail; do not repeat the call."
      },
      "401": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "An invalid bearer token has been provided. The call may be repeated if the provided bearer token is updated."
      },
      "415": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The request is invalid, and contains request data in an unsupported format. This call may be repeated if the content is changed to a supported format."
      },
      "500": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The request processing failed with an unknown error, and the processing state of the operation is indeterminate. Do not repeat the call without additional analysis."
      },
      "501": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The device does not have the ability to respond to the requested operation; do not repeat the call."
      },
      "503": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The device is not available because it is currently servicing another call. This can be repeated at a later time, or cancel may be called to end the current operation."
      },
      "504": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        },
        "description": "The Device did not respond in a timely manner. This can be repeated at a later time."
      }
    },
    "schemas": {
      "ErrorResponse": {
        "description": "An error object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "requestType": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "type"
        ],
        "title": "ErrorResponse",
        "type": "object"
      },
      "PaymentVoidReceiptDeliveryRequest": {
        "properties": {
          "deliveryOption": {
            "$ref": "#/components/schemas/ReceiptDeliveryOption"
          },
          "printJobId": {
            "type": "string"
          }
        },
        "title": "PaymentVoidReceiptDeliveryRequest",
        "type": "object"
      },
      "ReceiptDeliveryOption": {
        "properties": {
          "additionalData": {
            "description": "Additional data that can be passed in the request for certain delivery types. For method EMAIL the additionalData will pre-populate the email field\nin the customer facing UI. For method SMS the additionalData will pre-populate the phone number field in the customer facing UI.\n",
            "type": "string"
          },
          "method": {
            "enum": [
              "NO_RECEIPT",
              "PRINT",
              "EMAIL",
              "SMS"
            ],
            "type": "string"
          }
        },
        "title": "ReceiptDeliveryOption"
      },
      "ReceiptDeliveryResponse": {
        "properties": {
          "message": {
            "type": "string"
          },
          "printJobId": {
            "type": "string"
          },
          "printJobStatus": {
            "type": "string"
          }
        },
        "title": "ReceiptDeliveryResponse",
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Clover Card Present REST API",
    "version": "4.1.0",
    "x-clover-timeout": 120,
    "x-clover-timeout-wait": 5
  },
  "openapi": "3.0.1",
  "paths": {
    "/v1/payments/{paymentId}/void/receipt": {
      "post": {
        "description": "Deliver a void receipt in the format specified in the request. `PRINT` is the only supported format at this time.",
        "operationId": "DELIVER_VOID_RECEIPT",
        "parameters": [
          {
            "$ref": "#/components/parameters/UserAgentHeader"
          },
          {
            "description": "Clover payment UUID",
            "in": "path",
            "name": "paymentId",
            "required": true,
            "schema": {
              "maxLength": 13,
              "minLength": 13,
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/DeviceId"
          },
          {
            "$ref": "#/components/parameters/PosId"
          },
          {
            "$ref": "#/components/parameters/Timeout"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKeyOptional"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentVoidReceiptDeliveryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReceiptDeliveryResponse"
                }
              }
            },
            "description": "A valid ReceiptDeliveryResponse"
          },
          "209": {
            "$ref": "#/components/responses/209"
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "415": {
            "$ref": "#/components/responses/415"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "501": {
            "$ref": "#/components/responses/501"
          },
          "503": {
            "$ref": "#/components/responses/503"
          },
          "504": {
            "$ref": "#/components/responses/504"
          }
        },
        "summary": "Deliver a void receipt",
        "tags": [
          "RECEIPTS"
        ],
        "x-clover-operation-type": "FOREGROUND",
        "x-clover-timeout": 60
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "Secure URL for requests to REST Pay Display (local network)",
      "url": "https://deviceIpOrHost:12346/connect"
    },
    {
      "description": "Secure URL for requests to Cloud Pay Display (web-based POS systems)",
      "url": "https://apisandbox.dev.clover.com/connect"
    }
  ],
  "tags": [
    {
      "name": "RECEIPTS"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```