List tab payments

Changed on
get/tabs/{storeId}/tab-payments

Request

  • Base URL
    https://api.service.getjusto.com/v3
  • Auth
    none declared

Path parameters

storeIdstring required

Query parameters

fromDatestring date-time

Fecha de inicio de la búsqueda.

Example:2020-01-01T00:00:00.000Z
toDatestring date-time

Fecha de fin de la búsqueda.

Example:2020-01-01T00:00:00.000Z
pagenumber

Número de página.

Example:1
limitnumber

Número de items por página. Max 100. Por defecto: 10.

Example:10
sortBy'createdAt'

Campo por el cual se ordenará la lista. Por defecto: "createdAt".

Example:createdAt
sortType'asc' | 'desc'

Tipo de ordenamiento.

Example:desc

Response

The OpenAPI spec

successboolean

Example response

{
  "success": true,
  "data": {
    "items": [
      {
        "_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
        "code": "CJXEQZK",
        "shiftId": "Li4eEa3W2hiuGGCFa",
        "paymentMethodId": "a3W2hiuGGLi4eECFa",
        "paymentMethodName": "Efectivo",
        "amount": 100,
        "tipAmount": 10,
        "createdAt": "2020-01-01T00:00:00.000Z",
        "voidedAt": "2020-01-01T00:00:00.000Z",
        "shiftEndedAt": "2020-01-01T00:00:00.000Z",
        "createdById": "a3W2hiuGGLi4eECFa",
        "shouldMakeInvoice": true,
        "payerName": "John Doe",
        "payerUserId": "a3W2hiuGGLi4eECFa"
      }
    ]
  }
}

Changes