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

# Capture a pre-auth payment

Finish a pre-auth transaction by capturing the final amount.

# 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"
        }
      },
      "IdempotencyKey": {
        "description": "The idempotency key transmitted during the request, if any.",
        "in": "header",
        "name": "Idempotency-Key",
        "required": true,
        "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": {
      "CaptureRequest": {
        "properties": {
          "amount": {
            "description": "The amount to capture, in cents.",
            "format": "int64",
            "maximum": 999999999,
            "minimum": 0,
            "type": "integer"
          },
          "tipAmount": {
            "description": "The tip amount, in cents.",
            "format": "int64",
            "maximum": 999999999,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "amount"
        ],
        "title": "CaptureRequest",
        "type": "object"
      },
      "CaptureResponse": {
        "properties": {
          "amount": {
            "description": "The amount, in cents.",
            "format": "int64",
            "type": "integer"
          },
          "paymentId": {
            "$ref": "#/components/schemas/PaymentId"
          },
          "tipAmount": {
            "description": "The tip amount, in cents.",
            "format": "int64",
            "type": "integer"
          }
        },
        "title": "CaptureResponse",
        "type": "object"
      },
      "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"
      },
      "PaymentId": {
        "description": "A Clover payment UUID",
        "maxLength": 13,
        "minLength": 13,
        "title": "PaymentId",
        "type": "string"
      }
    },
    "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}/capture": {
      "post": {
        "description": "Finish a pre-auth transaction by capturing the final amount.",
        "operationId": "CAPTURE",
        "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/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CaptureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaptureResponse"
                }
              }
            },
            "description": "A valid CaptureResponse"
          },
          "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": "Capture a pre-auth payment",
        "tags": [
          "PAYMENTS"
        ],
        "x-clover-idempotent": [
          "amount",
          "paymentId"
        ],
        "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": "PAYMENTS"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```