Bets
List settled bets
Return the connected user's closed and cancelled bets using cursor-based pagination.
GET
/oauth2/bets/settledIf neither dateClosedAfter nor dateClosedBefore is supplied, all available settled-bet history is considered. The after boundary is inclusive and the before boundary is exclusive. A null nextCursor and hasMore: false indicate that paging is complete.
Request query parameters
| Field | Type | Description |
|---|---|---|
dateClosedAfter | string | Optional inclusive lower bound for settlement time, as an ISO 8601 datetime. Omit to include the earliest available settled bets. |
dateClosedBefore | string | Optional exclusive upper bound for settlement time, as an ISO 8601 datetime. Omit to include the latest available settled bets. |
cursor | string | Opaque nextCursor from the previous response. Omit for the first page; reuse the same date filters when requesting the next page. |
Response
200 · application/json| Field | Type | Description |
|---|---|---|
nextCursor | string | null | Pass this opaque value as cursor on the next request. Null means paging is complete. |
hasMore | boolean | True when another page is available. Equivalent to nextCursor being non-null. |
| Bet | A bet in descending ID order for the connected Juice Reel user. |