Delete a check

delete

{basePath}/checks/{checkRef}

{basePath}/checks/929aacee2c6d42c78ae877e824c28eed00000431

API cancels the requested check from the specified revenue center if present and in a state where cancelation is allowed.

Request uses the checkRef that can be found in the check header once a check has been created at the POS.

Request

Supported Media Types
Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

204 Response

The check has been successfully voided.

400 Response

400 Bad Request
Body ()
Root Schema : ChecksApiProblemDetailsDeleteChecks
Type: object
Problem details is used as standard model for reporting details when HTTP error status code is returned. This definition is defined by [RFC7807](https://tools.ietf.org/html/rfc7807). **Extensions** * posDetails
Show Source
  • A human-readable explanation specific to this occurrence of the problem.
    Example: The POS system is unable to process the request.
  • A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
    Example: error:pos-error
  • posDetails
    (Problem Details Extension) Contains a list of the problem details from the POS System processing the request.
  • A HTTP response status code.
    Example: 400
  • A short, human-readable summary of the problem type.
    Example: POS Error
Example:
{
    "title":"POS Error",
    "status":400,
    "detail":"The POS system is unable to process the request.",
    "instance":"error:pos-error",
    "posDetails":[
        {
            "code":"general_pos_error",
            "message":"Check opened on system"
        }
    ]
}
Nested Schema : posDetails
Type: array
(Problem Details Extension) Contains a list of the problem details from the POS System processing the request.
Show Source
Nested Schema : items
Type: object
Show Source
  • Short, unique identifier for the type of error
    Example: general_pos_error
  • A human-readable explanation specific to this occurrence of the problem.
    Example: Check opened on system

401 Response

401 Unauthorized

403 Response

403 Forbidden

404 Response

404 Requested resource not found

521 Response

521 Service Timeout
Back to Top