{ "opencollection": "1.0.0", "info": { "name": "Square ApplePay CashDrawers API", "version": "2.0" }, "items": [ { "info": { "name": "CashDrawers", "type": "folder" }, "items": [ { "info": { "name": "Square List Cash Drawer Shifts", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/cash-drawers/shifts", "params": [ { "name": "location_id", "value": "", "type": "query", "description": "The ID of the location to query for a list of cash drawer shifts." }, { "name": "sort_order", "value": "", "type": "query", "description": "The order in which cash drawer shifts are listed in the response,\nbased on their opened_at field. Default value: ASC" }, { "name": "begin_time", "value": "", "type": "query", "description": "The inclusive start time of the query on opened_at, in ISO 8601 format." }, { "name": "end_time", "value": "", "type": "query", "description": "The exclusive end date of the query on opened_at, in ISO 8601 format." }, { "name": "limit", "value": "", "type": "query", "description": "Number of cash drawer shift events in a page of results (200 by\ndefault, 1000 max)." }, { "name": "cursor", "value": "", "type": "query", "description": "Opaque cursor for fetching the next page of results." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Provides the details for all of the cash drawer shifts for a location\nin a date range." }, { "info": { "name": "Square Retrieve Cash Drawer Shift", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/cash-drawers/shifts/:shift_id", "params": [ { "name": "location_id", "value": "", "type": "query", "description": "The ID of the location to retrieve cash drawer shifts from." }, { "name": "shift_id", "value": "", "type": "path", "description": "The shift ID." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Provides the summary details for a single cash drawer shift. See\n[ListCashDrawerShiftEvents](api-endpoint:CashDrawers-ListCashDrawerShiftEvents) for a list of cash drawer shift events." }, { "info": { "name": "Square List Cash Drawer Shift Events", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/cash-drawers/shifts/:shift_id/events", "params": [ { "name": "location_id", "value": "", "type": "query", "description": "The ID of the location to list cash drawer shifts for." }, { "name": "shift_id", "value": "", "type": "path", "description": "The shift ID." }, { "name": "limit", "value": "", "type": "query", "description": "Number of resources to be returned in a page of results (200 by\ndefault, 1000 max)." }, { "name": "cursor", "value": "", "type": "query", "description": "Opaque cursor for fetching the next page of results." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Provides a paginated list of events for a single cash drawer shift." } ] } ], "bundled": true }