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

# 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.

# 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": {
      "AdditionalChargeAmount": {
        "properties": {
          "amount": {
            "description": "Amount of the additional charge\n",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "description": "Additional charge id\n",
            "maxLength": 13,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/AdditionalChargeType"
          }
        },
        "title": "AdditionalChargeAmount",
        "type": "object"
      },
      "AdditionalChargeType": {
        "enum": [
          "INTERAC",
          "CREDIT_SURCHARGE",
          "CONVENIENCE_FEE",
          "INTERAC_V2"
        ],
        "title": "AdditionalChargeType",
        "type": "string"
      },
      "AvsResult": {
        "enum": [
          "SUCCESS",
          "ZIP_CODE_MATCH",
          "ZIP_CODE_MATCH_ADDRESS_NOT_CHECKED",
          "ADDRESS_MATCH",
          "ADDRESS_MATCH_ZIP_NOT_CHECKED",
          "NEITHER_MATCH",
          "SERVICE_FAILURE",
          "SERVICE_UNAVAILABLE",
          "NOT_CHECKED",
          "ZIP_CODE_NOT_MATCHED_ADDRESS_NOT_CHECKED",
          "ADDRESS_NOT_MATCHED_ZIP_CODE_NOT_CHECKED"
        ],
        "title": "AvsResult",
        "type": "string"
      },
      "CardEntryMethod": {
        "description": "`DEFAULT` is an alias for `MAG_STRIPE`, `EMV`, and `NFC`.\n",
        "enum": [
          "MAG_STRIPE",
          "EMV",
          "NFC",
          "MANUAL",
          "DEFAULT"
        ],
        "title": "CardEntryMethod",
        "type": "string",
        "x-complex-enum": [
          "MAG_STRIPE(33025)",
          "EMV(33282)",
          "NFC(33796)",
          "MANUAL(34824)",
          "DEFAULT(34567)"
        ]
      },
      "CardEntryType": {
        "enum": [
          "SWIPED",
          "KEYED",
          "VOICE",
          "VAULTED",
          "OFFLINE_SWIPED",
          "OFFLINE_KEYED",
          "EMV_CONTACT",
          "EMV_CONTACTLESS",
          "MSD_CONTACTLESS",
          "PINPAD_MANUAL_ENTRY",
          "QR_CODE",
          "SCANNED"
        ],
        "title": "CardEntryType",
        "type": "string"
      },
      "CardExpirationDate": {
        "description": "A four-digit number representing the expiraction month (first two digits) and year (last two digits)\n",
        "format": "####",
        "pattern": "^\\d{4}$",
        "title": "CardExpirationDate",
        "type": "string"
      },
      "CardFirst6": {
        "description": "The first 6 digits",
        "example": 123456,
        "format": "######",
        "maxLength": 6,
        "minLength": 6,
        "pattern": "^\\d{6}$",
        "title": "CardFirst6",
        "type": "string"
      },
      "CardLast4": {
        "description": "The last 4 digits",
        "example": "1234",
        "format": "####",
        "maxLength": 4,
        "minLength": 4,
        "pattern": "^\\d{4}$",
        "title": "CardLast4",
        "type": "string"
      },
      "CardToken": {
        "description": "A string representing a token which may be used in a future payment operation\n",
        "maxLength": 72,
        "title": "CardToken",
        "type": "string"
      },
      "CardTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CommonCard"
          }
        ],
        "properties": {
          "authCode": {
            "description": "Authorization code (if successful)\n",
            "maxLength": 255,
            "type": "string"
          },
          "avsResult": {
            "$ref": "#/components/schemas/AvsResult"
          },
          "begBalance": {
            "format": "int64",
            "type": "integer"
          },
          "captured": {
            "description": "-> For an auth or pre-auth (type PREAUTH) true  - the payment has been captured through the Gateway false - the payment is ready to be captured, but hasn't been captured yet. null  - the payment is not ready to be captured, or has been voided.\nFor a sale (type AUTH) false  - default state. null   - the payment has been voided.",
            "type": "boolean"
          },
          "cardType": {
            "$ref": "#/components/schemas/CardType"
          },
          "currency": {
            "description": "Currency code\n",
            "maxLength": 3,
            "type": "string"
          },
          "endBalance": {
            "format": "int64",
            "type": "integer"
          },
          "entryType": {
            "$ref": "#/components/schemas/CardEntryType"
          },
          "extra": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Extra info to be stored as part of gateway/card transaction\n",
            "type": "object"
          },
          "referenceId": {
            "maxLength": 32,
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/CardTransactionState"
          },
          "token": {
            "$ref": "#/components/schemas/CardToken"
          },
          "transactionNo": {
            "maxLength": 255,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/CardTransactionType"
          },
          "vaultedCard": {
            "$ref": "#/components/schemas/VaultedCard"
          }
        },
        "title": "CardTransaction",
        "type": "object"
      },
      "CardTransactionState": {
        "description": "-> CLOSED if the payment is a sale (type AUTH) or auth/pre-auth (type PREAUTH) with captured=true. PENDING if the payment is a auth/pre-auth (type PREAUTH) with captured=false/null.",
        "enum": [
          "PENDING",
          "CLOSED"
        ],
        "title": "CardTransactionState",
        "type": "string"
      },
      "CardTransactionType": {
        "description": "-> A sale will have a type of AUTH An auth or pre-auth will have a type of PREAUTH",
        "enum": [
          "AUTH",
          "PREAUTH",
          "PREAUTHCAPTURE",
          "ADJUST",
          "VOID",
          "VOIDRETURN",
          "RETURN",
          "REFUND",
          "NAKEDREFUND",
          "GETBALANCE",
          "BATCHCLOSE",
          "ACTIVATE",
          "BALANCE_LOCK",
          "LOAD",
          "CASHOUT",
          "CASHOUT_ACTIVE_STATUS",
          "REDEMPTION",
          "REDEMPTION_UNLOCK",
          "RELOAD",
          "CASH_ADVANCE",
          "VOID_CREDIT",
          "REFUND_CREDIT",
          "INTERNET_ACTIVATE",
          "TOKEN_REQUEST",
          "VERIFICATION"
        ],
        "title": "CardTransactionType",
        "type": "string"
      },
      "CardType": {
        "enum": [
          "VISA",
          "MC",
          "AMEX",
          "DISCOVER",
          "DINERS_CLUB",
          "JCB",
          "MAESTRO",
          "SOLO",
          "LASER",
          "CHINA_UNION_PAY",
          "CARTE_BLANCHE",
          "UNKNOWN",
          "GIFT_CARD",
          "EBT",
          "GIROCARD",
          "INTERAC",
          "OTHER"
        ],
        "title": "CardType",
        "type": "string"
      },
      "CommonCard": {
        "properties": {
          "cardholderName": {
            "maxLength": 26,
            "type": "string"
          },
          "first6": {
            "$ref": "#/components/schemas/CardFirst6"
          },
          "last4": {
            "$ref": "#/components/schemas/CardLast4"
          }
        },
        "title": "CommonCard",
        "type": "object"
      },
      "DCCInfo": {
        "properties": {
          "baseAmount": {
            "format": "int64",
            "type": "integer"
          },
          "baseCurrencyCode": {
            "type": "string"
          },
          "dccApplied": {
            "type": "boolean"
          },
          "dccEligible": {
            "type": "boolean"
          },
          "exchangeRate": {
            "format": "double",
            "type": "number"
          },
          "exchangeRateId": {
            "type": "string"
          },
          "exchangeRateSourceName": {
            "type": "string"
          },
          "exchangeRateSourceTimeStamp": {
            "type": "string"
          },
          "foreignAmount": {
            "format": "int64",
            "type": "integer"
          },
          "foreignCurrencyCode": {
            "type": "string"
          },
          "inquiryRateId": {
            "format": "int64",
            "type": "integer"
          },
          "marginRatePercentage": {
            "type": "string"
          },
          "rateRequestId": {
            "type": "string"
          }
        },
        "title": "DccInfo",
        "type": "object"
      },
      "DeviceOptions": {
        "description": "Common (applies to payments and credits) device options.",
        "properties": {
          "cardEntryMethods": {
            "default": [
              "MAG_STRIPE",
              "EMV",
              "NFC"
            ],
            "description": "The card entry methods/payment options that will be presented to the customer (for example, NFC and MAG_STRIPE).",
            "items": {
              "$ref": "#/components/schemas/CardEntryMethod"
            },
            "type": "array"
          },
          "cardNotPresent": {
            "default": false,
            "description": "If true, the secure payments application will skip the CVM entry screen when manual card entry is used.  The cardEntryMethods must contain the `MANUAL` value for this flag to be significant.  This indicates that the customer was not present to (for example) sign for the transaction.",
            "type": "boolean"
          },
          "disableRestartTransactionOnFail": {
            "description": "If the transaction times out or fails because of decline, do not restart it",
            "type": "boolean"
          }
        },
        "title": "DeviceOptions",
        "type": "object"
      },
      "DevicePaymentOptions": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DeviceOptions"
          }
        ],
        "properties": {
          "disableCashback": {
            "default": false,
            "description": "If true, cashback selection is disabled for DEBIT.",
            "type": "boolean"
          },
          "offlineOptions": {
            "$ref": "#/components/schemas/OfflineOptions"
          }
        },
        "title": "DevicePaymentOptions",
        "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"
      },
      "ExternalPaymentId": {
        "description": "A unique id assigned by the POS to identify this transaction. Critical for reconciliation and recovery.\n",
        "maxLength": 32,
        "title": "ExternalPaymentId",
        "type": "string"
      },
      "Issue": {
        "properties": {
          "description": {
            "type": "string"
          }
        },
        "title": "Issue",
        "type": "object"
      },
      "OfflineOptions": {
        "properties": {
          "allowOfflinePayment": {
            "default": false,
            "description": "If true then offline payments are allowed.",
            "type": "boolean"
          },
          "approveOfflinePaymentWithoutPrompt": {
            "default": false,
            "description": "If true then offline payments will be approved without a prompt.",
            "type": "boolean"
          },
          "forceOfflinePayment": {
            "default": false,
            "description": "If true then the payment will be taken offline.",
            "type": "boolean"
          }
        },
        "title": "OfflineOptions",
        "type": "object"
      },
      "PayRequest": {
        "properties": {
          "amount": {
            "description": "The amount of the payment, in cents.",
            "format": "int64",
            "maximum": 999999999,
            "minimum": 1,
            "type": "integer"
          },
          "capture": {
            "default": true,
            "description": "If set to `true` (auth), the payment is automatically and immediately captured, but it may be adjustable until closeout runs at which time it will be settled/closed. If set to `false` (pre-auth), the payment will not be automatically captured, and a subsequent call to capture is required. Once captured, the payment will be settled/closed the next time closeout runs. NOTE:  This value is ignored if the `final` field is set to true.",
            "type": "boolean"
          },
          "deviceOptions": {
            "$ref": "#/components/schemas/DevicePaymentOptions"
          },
          "externalPaymentId": {
            "$ref": "#/components/schemas/ExternalPaymentId"
          },
          "externalReferenceId": {
            "description": "An ID that can be passed to the merchant's gateway and ultimately appears in settlement records.",
            "maxLength": 12,
            "type": "string"
          },
          "final": {
            "default": false,
            "description": "If set to `true`, the payment will run as a closed, non-adjustable transaction (sale), the `capture` field will be ignored, and the tip will be set to the amount in the `tipAmount` field, or 0 if the `tipAmount` is not specified.  If set to `false` then the `capture` flag is evaluated to determine if the payment will be automatically captured or if a subsequent call to capture is required.  In addition, if set to `false` setting the `tipAmount` field will result in a validation error.",
            "type": "boolean"
          },
          "taxAmount": {
            "description": "The tax amount, in cents.",
            "format": "int64",
            "maximum": 999999999,
            "minimum": 0,
            "type": "integer"
          },
          "tipAmount": {
            "description": "The tip amount, in cents.  NOTE:  If the `final` field is set to `false`, setting this field will result in a validation error.",
            "format": "int64",
            "maximum": 999999999,
            "minimum": 0,
            "type": "integer"
          },
          "vaultedCard": {
            "$ref": "#/components/schemas/VaultedCard"
          }
        },
        "required": [
          "amount, externalPaymentId"
        ],
        "title": "PayRequest",
        "type": "object"
      },
      "PayResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaymentProperty"
          },
          {
            "$ref": "#/components/schemas/PaymentIssuesProperty"
          }
        ],
        "title": "PayResponse",
        "type": "object"
      },
      "Payment": {
        "properties": {
          "additionalCharges": {
            "items": {
              "$ref": "#/components/schemas/AdditionalChargeAmount"
            },
            "type": "array"
          },
          "amount": {
            "format": "int64",
            "maximum": 999999999,
            "minimum": 1,
            "type": "integer"
          },
          "cardTransaction": {
            "$ref": "#/components/schemas/CardTransaction"
          },
          "cashbackAmount": {
            "description": "Amount given back in a cash back transaction\n",
            "format": "int64",
            "type": "integer"
          },
          "createdTime": {
            "description": "Time payment was recorded on server\n",
            "format": "int64",
            "type": "integer"
          },
          "dccInfo": {
            "$ref": "#/components/schemas/DCCInfo"
          },
          "device": {
            "$ref": "#/components/schemas/Reference"
          },
          "employee": {
            "$ref": "#/components/schemas/Reference"
          },
          "externalPaymentId": {
            "$ref": "#/components/schemas/ExternalPaymentId"
          },
          "externalReferenceId": {
            "description": "The external reference id if associated with the payment\n",
            "maxLength": 12,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier\n",
            "maxLength": 13,
            "minLength": 13,
            "type": "string"
          },
          "modifiedTime": {
            "description": "Last modified time of the payment\n",
            "format": "int64",
            "type": "integer"
          },
          "note": {
            "maxLength": 255,
            "type": "string"
          },
          "offline": {
            "type": "boolean"
          },
          "order": {
            "$ref": "#/components/schemas/Reference"
          },
          "refunds": {
            "items": {
              "$ref": "#/components/schemas/Refund"
            },
            "type": "array"
          },
          "result": {
            "$ref": "#/components/schemas/Result"
          },
          "taxAmount": {
            "description": "Amount paid in tax\n",
            "format": "int64",
            "type": "integer"
          },
          "tipAmount": {
            "description": "Amount paid in tips\n",
            "format": "int64",
            "type": "integer"
          },
          "voidPaymentRef": {
            "$ref": "#/components/schemas/Reference"
          },
          "voidReason": {
            "$ref": "#/components/schemas/VoidReason"
          }
        },
        "title": "Payment",
        "type": "object"
      },
      "PaymentIssueDuplicate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Issue"
          }
        ],
        "description": "Present if the payment was flagged as a duplicate.\n",
        "title": "PaymentIssueDuplicate"
      },
      "PaymentIssueOffline": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Issue"
          }
        ],
        "description": "Present if the payment was flagged as being taken offline.\n",
        "title": "PaymentIssueOffline"
      },
      "PaymentIssuePartialPayment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Issue"
          }
        ],
        "description": "Present if the payment was flagged as a partial payment.\n",
        "properties": {
          "actualAmount": {
            "format": "int64",
            "maximum": 999999999,
            "minimum": 0,
            "type": "integer"
          },
          "requestedAmount": {
            "format": "int64",
            "maximum": 999999999,
            "minimum": 1,
            "type": "integer"
          }
        },
        "title": "PaymentIssuePartialPayment",
        "type": "object"
      },
      "PaymentIssueSignature": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Issue"
          }
        ],
        "description": "-> Present if a signature was taken with the payment. If the signature was taken on the device it will be provided in the signature property. If the signature was taken on the receipt, the signature property will be null.",
        "properties": {
          "signature": {
            "$ref": "#/components/schemas/Signature"
          }
        },
        "title": "PaymentIssueSignature",
        "type": "object"
      },
      "PaymentIssues": {
        "properties": {
          "duplicate": {
            "$ref": "#/components/schemas/PaymentIssueDuplicate"
          },
          "offline": {
            "$ref": "#/components/schemas/PaymentIssueOffline"
          },
          "partialPayment": {
            "$ref": "#/components/schemas/PaymentIssuePartialPayment"
          },
          "signature": {
            "$ref": "#/components/schemas/PaymentIssueSignature"
          }
        },
        "title": "PaymentIssues",
        "type": "object"
      },
      "PaymentIssuesProperty": {
        "description": "-> A collection of issues found while processing the payment. In some cases these issues may require verification by the merchant (verification of the signature, notifying the merchant of a potential duplicate). If the merchant decides the payment is invalid due to the issues found, you must void the payment.",
        "properties": {
          "issues": {
            "$ref": "#/components/schemas/PaymentIssues"
          }
        },
        "title": "PaymentIssuesProperty",
        "type": "object"
      },
      "PaymentProperty": {
        "properties": {
          "payment": {
            "$ref": "#/components/schemas/Payment"
          }
        },
        "title": "PaymentProperty",
        "type": "object"
      },
      "Reference": {
        "properties": {
          "id": {
            "description": "Unique identifier\n",
            "maxLength": 13,
            "type": "string"
          }
        },
        "title": "Reference",
        "type": "object"
      },
      "Refund": {
        "properties": {
          "additionalCharges": {
            "items": {
              "$ref": "#/components/schemas/AdditionalChargeAmount"
            },
            "type": "array"
          },
          "amount": {
            "description": "Total amount refunded, including tax and tip\n",
            "format": "int64",
            "type": "integer"
          },
          "cardTransaction": {
            "$ref": "#/components/schemas/CardTransaction"
          },
          "createdTime": {
            "description": "The time when the refund was recorded on the server\n",
            "format": "int64",
            "type": "integer"
          },
          "device": {
            "$ref": "#/components/schemas/Reference"
          },
          "employee": {
            "$ref": "#/components/schemas/Reference"
          },
          "externalReferenceId": {
            "description": "The external reference id if associated with the refund\n",
            "maxLength": 12,
            "type": "string"
          },
          "id": {
            "description": "Unique identifier\n",
            "type": "string"
          },
          "orderRef": {
            "$ref": "#/components/schemas/Reference"
          },
          "payment": {
            "$ref": "#/components/schemas/Reference"
          },
          "taxAmount": {
            "description": "Tax amount refunded\n",
            "format": "int64",
            "type": "integer"
          },
          "tipAmount": {
            "description": "Tip amount refunded\n",
            "format": "int64",
            "type": "integer"
          },
          "voidReason": {
            "$ref": "#/components/schemas/VoidReason"
          },
          "voided": {
            "type": "boolean"
          }
        },
        "title": "Refund"
      },
      "Result": {
        "enum": [
          "SUCCESS",
          "FAIL",
          "INITIATED",
          "VOIDED",
          "VOIDING",
          "VOID_FAILED",
          "AUTH",
          "AUTH_COMPLETED",
          "DISCOUNT"
        ],
        "title": "Result",
        "type": "string"
      },
      "Signature": {
        "description": "The signature",
        "example": {
          "format": "BMP",
          "gzip": true,
          "response": "<base64-encoded, gzipped data>"
        },
        "properties": {
          "data": {
            "description": "base64-encoded, optionally gzipped data",
            "type": "string"
          },
          "format": {
            "$ref": "#/components/schemas/SignatureFormat"
          },
          "gzip": {
            "description": "A flag that indicates true if the data was gzipped before performing the base64 encoding",
            "type": "boolean"
          }
        },
        "required": [
          "gzip"
        ],
        "title": "Signature",
        "type": "object"
      },
      "SignatureFormat": {
        "description": "* `PNG` - The image data will be a PNG image in base-64 format.\nExample: \"RXhhbXBsZSBpbWFnZQ==\"\n\n* `JPG` - The image data will be a Jpeg image in base-64 format.\nExample: \"RXhhbXBsZSBpbWFnZQ==\"\n\n* `BMP` - The image data will be a Bitmap image in base-64 format.\nExample: \"RXhhbXBsZSBpbWFnZQ==\"\n\n* `SVG` - The image data will be the HTML representation of an SVG element.\nExample: \"<svg>...</svg>\"\n\n* `RAW` - The image data will be an array of array of points in JSON format.\nExample: \"[[[10,0],[20,20],[0,20],[10,0]],[[20,0],[30,20],[40,0],[20,0]]]\"",
        "enum": [
          "PNG",
          "JPG",
          "BMP",
          "SVG",
          "RAW"
        ],
        "title": "SignatureFormat",
        "type": "string"
      },
      "VaultedCard": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CommonCard"
          }
        ],
        "properties": {
          "expirationDate": {
            "$ref": "#/components/schemas/CardExpirationDate"
          },
          "token": {
            "$ref": "#/components/schemas/CardToken"
          }
        },
        "title": "VaultedCard",
        "type": "object"
      },
      "VoidReason": {
        "enum": [
          "USER_CANCEL",
          "TRANSPORT_ERROR",
          "REJECT_SIGNATURE",
          "REJECT_PARTIAL_AUTH",
          "NOT_APPROVED",
          "FAILED",
          "AUTH_CLOSED_NEW_CARD",
          "DEVELOPER_PAY_PARTIAL_AUTH",
          "REJECT_DUPLICATE",
          "REJECT_OFFLINE",
          "GIFTCARD_LOAD_FAILED",
          "USER_GIFTCARD_LOAD_CANCEL",
          "DEVELOPER_PAY_TIP_ADJUST_FAILED",
          "USER_CUSTOMER_CANCEL",
          "FRAUD"
        ],
        "title": "VoidReason",
        "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": {
      "post": {
        "description": "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.",
        "operationId": "PAY",
        "parameters": [
          {
            "$ref": "#/components/parameters/UserAgentHeader"
          },
          {
            "$ref": "#/components/parameters/DeviceId"
          },
          {
            "$ref": "#/components/parameters/PosId"
          },
          {
            "$ref": "#/components/parameters/Timeout"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PayResponse"
                }
              }
            },
            "description": "A valid PayResponse"
          },
          "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": "Send a payment request to a Clover device",
        "tags": [
          "PAYMENTS"
        ],
        "x-clover-authorization": [
          {
            "auth": "PREAUTH",
            "fields": [
              {
                "name": "capture",
                "test": "EQ",
                "value": false
              },
              {
                "name": "final",
                "test": "EQ",
                "value": false
              }
            ],
            "operator": "AND"
          },
          {
            "auth": "OFFLINE",
            "fields": [
              {
                "name": "deviceOptions.offlineOptions.allowOfflinePayment",
                "test": "EQ",
                "value": true
              }
            ]
          },
          {
            "auth": "FORCE_OFFLINE",
            "fields": [
              {
                "name": "deviceOptions.offlineOptions.forceOfflinePayment",
                "test": "EQ",
                "value": true
              }
            ]
          }
        ],
        "x-clover-idempotent": [
          "externalPaymentId",
          "capture",
          "final",
          "amount",
          "tipAmount",
          "vaultedCard.token"
        ],
        "x-clover-operation-type": "FOREGROUND",
        "x-clover-timeout": 135
      }
    }
  },
  "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
  }
}
```