GET
/
tabs
/
{storeId}
/
tab-payments
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/{storeId}/tab-payments
{
  "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"
      }
    ],
    "hasNextPage": true,
    "hasPreviousPage": true,
    "totalPages": 123,
    "totalCount": 123
  }
}

Path Parameters

storeId
string
required

Query Parameters

fromDate
string

Fecha de inicio de la búsqueda.

Example:

"2020-01-01T00:00:00.000Z"

toDate
string

Fecha de fin de la búsqueda.

Example:

"2020-01-01T00:00:00.000Z"

page
number

Número de página.

Example:

1

limit
number

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

Example:

10

sortBy
enum<string>

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

Available options:
createdAt
Example:

"createdAt"

sortType
enum<string>

Tipo de ordenamiento.

Available options:
asc,
desc
Example:

"desc"

Response

200
application/json

The OpenAPI spec

The response is of type object.