Docs/Objects/Common objects

Common objects

Shared response envelopes, errors, cursor pagination, and operation status values.

Page#

FieldTypeRequiredMeaning
itemsT[]yesRows for this page.
page.limitnumberyesThe applied page size. Defaults to 25 and maxes at 100.
page.nextCursorstring | nullyesPass this as the next cursor. Null means no next page.
page.hasMorebooleanyesTrue when another page is available.
Pagejson
{
  "items": [],
  "page": {
    "limit": 25,
    "nextCursor": null,
    "hasMore": false
  }
}

Error#

Errorjson
{
  "error": "amount must be greater than zero",
  "details": {}
}

Statuses#

Wire values are exact API values. Product labels can be friendlier.

pendingCreatedsubmittedSubmittedminedCompletedrejectedRejectedcancelledCancelled