# List checks for a business-date window, or recall a single check by id

List mode requires scope `checks:read`. Supply exactly one of `businessDate`, `businessDates`, or `businessDateStart`+`businessDateEnd`; a window is required and may span at most 1 days (query day by day for longer spans). Recall mode (pass `id`) requires either `checks:read` or `checks:write`, and ignores the date window.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "NX Public API",
    "version": "1.0.0",
    "description": "Public marketplace API. Authenticate via POST /oauth/token (client-credentials + venueId) to obtain a short-lived bearer token, then call resource endpoints. Tokens are venue-pinned: each is scoped to a single venue and the scopes granted to that integration."
  },
  "servers": [
    {
      "url": "https://prod.api.nxapp.net/public/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Bearer token from /oauth/token."
      }
    },
    "schemas": {
      "Meta": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string"
          },
          "cursor": {
            "type": "string",
            "description": "Opaque pagination cursor; present when more results exist."
          }
        },
        "required": [
          "requestId"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "description": "Stable, machine-readable error code (e.g. RESOURCE_NOT_FOUND)."
              },
              "message": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "requestId": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message",
              "requestId"
            ]
          }
        },
        "required": [
          "error"
        ]
      },
      "CheckItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "menuItemId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "seatId": {
            "type": "string"
          },
          "courseName": {
            "type": "string"
          },
          "voided": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "quantity",
          "price"
        ]
      },
      "CheckTotals": {
        "type": "object",
        "properties": {
          "subtotal": {
            "type": "number"
          },
          "tax": {
            "type": "number"
          },
          "tip": {
            "type": "number"
          },
          "gratuity": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "paid": {
            "type": "number"
          },
          "remainingBalance": {
            "type": "number"
          }
        },
        "required": [
          "subtotal",
          "tax",
          "total",
          "remainingBalance"
        ]
      },
      "Check": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "checkNumber": {
            "type": "number"
          },
          "shortCode": {
            "type": "string",
            "description": "Human-friendly recall handle — a convenience alongside `id`."
          },
          "businessDate": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "orderStatus": {
            "type": "string",
            "description": "The honest \"is this still pending staff acceptance?\" signal. Prefer this over `type`, which does not change when a QUEUED check goes live."
          },
          "source": {
            "type": "string"
          },
          "guestCount": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "closedAt": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Guest-facing check URL (mobilepay storefront link) — the same link sent on emailed/texted receipts."
          },
          "totals": {
            "$ref": "#/components/schemas/CheckTotals"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckItem"
            }
          }
        },
        "required": [
          "id",
          "businessDate",
          "totals",
          "items"
        ]
      }
    }
  },
  "paths": {
    "/checks": {
      "get": {
        "summary": "List checks for a business-date window, or recall a single check by id",
        "description": "List mode requires scope `checks:read`. Supply exactly one of `businessDate`, `businessDates`, or `businessDateStart`+`businessDateEnd`; a window is required and may span at most 1 days (query day by day for longer spans). Recall mode (pass `id`) requires either `checks:read` or `checks:write`, and ignores the date window.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Recall a single check by id instead of listing."
          },
          {
            "name": "businessDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "A single business date, YYYY-MM-DD."
          },
          {
            "name": "businessDates",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated business dates, e.g. 2026-09-01,2026-09-03. Need not be contiguous."
          },
          {
            "name": "businessDateStart",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Inclusive start of a business-date range. Must be sent with businessDateEnd. Max 1 days."
          },
          {
            "name": "businessDateEnd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Inclusive end of a business-date range. Must be sent with businessDateStart. Max 1 days."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "maximum": 500
            },
            "description": "Page size (default 100, max 500)."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Opaque pagination cursor from a prior response's meta.cursor."
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Check"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 150,
      "2": 23,
      "3": 41,
      "4": 164,
      "5": 38,
      "6": 175,
      "7": 92,
      "8": 201,
      "9": 202,
      "10": 43,
      "11": 17
    }
  }
}
```