Skip to main content
GET
List a venue account's settlement windows

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

settlements_read
bearer_auth
settlements_read
api_key

Headers

X-Workspace-Id
string<uuid>

The workspace the request acts in. An API key bound to a workspace implies it: omit the header, or send that same id (another id answers 403 WORKSPACE_SCOPE_MISMATCH). A member session must send it (400 MISSING_WORKSPACE without it).

Path Parameters

workspaceId
string
required

Workspace id

venueAccountId
string<uuid>
required

The venue account's id

Query Parameters

state
enum<string>

Only windows in this snapshot state. A settlement window's snapshot state.

Available options:
scheduled,
building,
ready,
retrying,
failed
cursor
string

The previous page's nextCursor, unchanged.

limit
integer<int32>
default:100

Windows per page, 1 to 100 (default 100).

Required range: 1 <= x <= 100

Response

items
object[]
required

Newest snapshot first.

readAt
string<date-time>
required
nextCursor
string | null

Pass as cursor to read the next page; null on the last page.