Close session
POST
/v1/sessions/{id}/close
End a session. Further provider calls on it are refused; money already moved stays where it is.
SignedSandboxProduction
No body. The request is signed as POST /v1/sessions/{id}/close, like a GET.
response 200
{ "session_id": "2222aaaa-…", "status": "closed", "closed_at": "2026-09-29T12:40:00Z" }| After close | What happens |
|---|---|
| bet | Refused at the provider |
| win, rollback | Can still arrive for rounds that were in play, and must be credited |
Possible errors
| error | HTTP | Retry | When |
|---|---|---|---|
| NOT_FOUND | 404 | no | No such session, grant, bonus campaign, transaction or round for your operator. |
Every endpoint can also answer UNAUTHORIZED, ADDRESS_NOT_ALLOWED, RATE_LIMITED and UPSTREAM_UNAVAILABLE. See the Error reference.
