# Confirm the result of receipt printing via POS for the current action Confirm the result of receipt printing via POS for the action that has been initiated and is currently waiting for a receipt to be printed on a specific terminal. This endpoint is required if the transaction's 'receiptPrintingSource' was set to 'PointOfSale' Endpoint: POST /in-person/terminals/{id}/confirm-receipt Version: 1.1.0 Security: secretApiKeyAuth ## Header parameters: - `Account` (string) The linked accountId (use this when you want to cancel the current action on an in person terminal under a linked account) Example: "ac_3fe8398f-8cdb-43a3-9be2-806c4f84c327" ## Path parameters: - `id` (string, required) the unique ID of the terminal Example: "tml_01FCTS1XMKH9FF43CAFA4CXT3P" ## Request fields (application/json): - `customerCopy` (object,null) - `customerCopy.status` (string, required) Whether the printing of the receipt succeeded or failed Enum: "Succeeded", "Failed" - `merchantCopy` (object,null) ## Response 200 fields (application/json): - `id` (string) The unique Id of the terminal Example: "tml_01FCTS1XMKH9FF43CAFA4CXT3P" - `name` (string) Your name for the terminal. This can be used for display purposes. Example: "Front of house" - `location` (object) The location where the terminal resides - `location.id` (string) The unique location ID Example: "iploc_01FCTS1XMKH9FF43CAFA4CXT3P" - `device` (object) - `device.type` (string) The type of the device Example: "PAX A920 Pro" - `device.serialNumber` (string) The serial number of the device Example: "25050808291100" - `action` (object,null) The most recent action initiated on the terminal. - `action.type` (string) The type of action in progress on the terminal. Enum: "Transaction" - `action.status` (string) The status of the action on the terminal Enum: "InProgress", "Cancelled", "Failed", "Succeeded" - `action.id` (string) The unique ID of the action Example: "tmlact_01K7HNYENCZF6A784V5T625108_01K7KHC9ESPB1VZ9APGF3R5X7W" - `action.error` (object,null) - `action.transaction` (object,null) - `action.createdTimestamp` (integer) The epoch timestamp (seconds) when the action was initiated on the terminal Example: 1470989538 - `action.completedTimestamp` (integer,null) The epoch timestamp (seconds) when the action was completed on the terminal. This field will be populated once the action reaches a status of Cancelled, Failed or Succeeded. Example: 1470989538 - `metadata` (object) Your own custom key-value data for this object. These will be sent with any associated events on your webhooks. You can have a maximum of 10 pieces of metadata. Keys must be between 1 and 30 characters in length. Values must be between 1 and 250 characters in length. Example: {"internalID":"1"} - `createdTimestamp` (integer) The epoch timestamp (seconds) when the object was created Example: 1470989538 - `lastUpdatedTimestamp` (integer) The epoch timestamp (seconds) when the object was last updated Example: 1470989538 ## Response 400 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON" ## Response 404 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON" ## Response 500 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON"