v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
Terminal

CancelTerminalAction

Cancels a Terminal action request if the status of the request permits it.

post/v2/terminals/actions/{action_id}/cancel

Path parameters

action_idstring required

Unique ID for the desired TerminalAction.

Response

Success

Example response

{
  "action": {
    "app_id": "APP_ID",
    "cancel_reason": "SELLER_CANCELED",
    "created_at": "2021-07-28T23:22:07.476Z",
    "deadline_duration": "PT5M",
    "device_id": "DEVICE_ID",
    "id": "termapia:jveJIAkkAjILHkdCE",
    "location_id": "LOCATION_ID",
    "save_card_options": {
      "customer_id": "CUSTOMER_ID",
      "reference_id": "user-id-1"
    },
    "status": "CANCELED",
    "type": "SAVE_CARD",
    "updated_at": "2021-07-28T23:22:29.511Z"
  }
}