Repository navigation
Conversation
…k promotion cost
The wallet ledger's GGR (stakes less voided stakes less wins plus wins taken
back, cash basis) is the official GGR (ADR-0050). The financial summary adds
what sportsbook promotions paid, net of reopens, as its own figure. The
products report is labelled settled basis, and the sportsbook player summary's
figure is renamed to net result.
BREAKING CHANGE: GET /backoffice/sportsbook/players/{userId}/summary returns
netResult in place of ggr. The value is unchanged.
okapitula
requested review from
jakubfilinger-b,
klaudia-blazyczek-blurify,
marek-chmielowski-blurify,
mp-blurify and
zaxovaiko
as code owners
November 4, 2026 13:34
mp-blurify
previously approved these changes
Nov 5, 2026
okapitula
enabled auto-merge
November 6, 2026 19:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sportsbookPromotionCost: what sportsbook promotions paid, net of reopens. This is already inside GGR and is not deducted again.ggrtonetResult, a per-player activity figure rather than revenue.Why
Wallet GGR, the sportsbook player summary and the products report each count a bet differently, and all three were called GGR. For the same period they can disagree, and an operator reporting to a regulator needs one number that reconciles to balances. Wallet GGR is append-only, ties to balances and uses one rule for every product, so it is the one to call GGR. The other two keep their basis but say what they are.
A provider freebet's win is withdrawable money the operator pays, so it stays a plain win inside GGR. Its cost is shown as its own figure, read from the sportsbook's append-only transaction rows through the optional sportsbook seam the products report already uses. It is the same total as the sportsbook promotion report.
Diagram
Alternatives considered
Risks
GET /backoffice/sportsbook/players/{userId}/summaryreturnsnetResultin place ofggr. The value is unchanged. No in-repo consumer reads it outside the E2E tests.ggrfield name until it moves onto wallet rows.