red tiger api: Reconcile Split Wins Without Double Counting
A red tiger api integration needs an explicit answer to a deceptively simple question: does each reported win represent new money, a cumulative total, or a breakdown of money already credited? If an operator treats every monetary field as an instruction to pay, a split settlement can become a duplicate payout. If it assumes every later message is informational, a legitimate award can remain unpaid. The practical solution is to document settlement semantics before building wallet logic, then reconcile each monetary component against that contract.
This guide focuses on separating base-game wins, additional awards, and reporting totals. These are integration patterns to verify, not claims that every Red Tiger connection uses the same callback structure.
red tiger api settlement: define what actually moves money
The settlement contract may depend on whether you connect directly or through an aggregator. A normalized aggregator interface can expose different fields and transaction boundaries from a studio's original interface.
Before implementation, request the specifications for the actual route, environment, and game configuration you will use. Ask the integration team to identify:
- Which messages authorize a wallet credit.
- Whether a win amount is incremental or cumulative.
- Whether an additional award arrives separately or inside another win amount.
- Which messages provide reporting detail without moving money.
- Whether a round-complete signal guarantees that no further financial events can arrive.
- How adjustments and reversals reference the original transaction.
Do not infer these rules from a lobby description, a game animation, or a field named `totalWin`. A displayed total and a payable amount are not necessarily equivalent.
Build a settlement mapping
For every supported event type, record its financial effect, identifier scope, permitted arrival order, and acknowledgement behavior. Mark unverified behavior as unresolved rather than choosing a convenient default.
For example, your mapping might say that a wallet credit is payable once, a reporting total is informational, and an adjustment requires an explicit reference to an earlier ledger entry. Those classifications must come from the applicable specification.
Separate payable events from descriptive amounts
Consider an illustrative round with a base-game win of 8.00 and an additional award of 50.00, both in the same wallet currency. The player should receive 58.00 in total. Several message designs could describe that result.
Pattern A: two incremental credits
One authenticated transaction credits 8.00. A second, independently identified transaction credits 50.00. Both create ledger entries. A later report showing 58.00 does not create a third credit.
Pattern B: one combined credit
A single transaction credits 58.00 and includes a breakdown of 8.00 plus 50.00. The breakdown supports reconciliation but does not authorize separate payments.
Pattern C: a cumulative update
An earlier event reports 8.00 and a later event reports a cumulative 58.00. Converting that update into a 50.00 credit is safe only if the contract explicitly defines cumulative updates, their scope, ordering or revision rules, and correction behavior.
Never switch between these interpretations by inspecting whether the numbers happen to add up. Different interpretations can produce the same apparent total in one test and diverge in production.
Design the ledger around financial identity
A round identifier groups activity; it is not necessarily a unique financial transaction identifier. Deduplicating every credit by round ID could suppress a valid second award. Deduplicating only by amount could suppress two legitimate equal-value credits.
Use the documented financial event identity, namespaced according to its actual uniqueness guarantees. Relevant dimensions may include the integration route, operator account, environment, and provider transaction ID.
Retain enough context to explain each posting:
- The original external transaction identifier and round reference.
- The internal player and wallet identifiers.
- Currency and exact amount using the contract's monetary representation.
- Event classification, such as payable credit or informational summary.
- Any original-transaction reference used for a correction.
- Processing status and the resulting ledger entry identifier.
- A protected audit reference to the received message, with secrets excluded.
Keep the accepted event record and balance mutation in one atomic transaction, or use an equivalent durable design. Otherwise, a crash can leave an event marked as processed without paying it, or pay it without preserving its deduplication record.
Retries must preserve the original outcome
A repeated financial event should produce the response required by the integration contract without creating another posting. If the same transaction identity arrives with a different amount, player, or currency, do not treat it as an ordinary retry. Flag a conflict and follow the documented error or investigation procedure.
Allow independent awards without guessing completion
An additional credit may arrive after another settlement message if the applicable integration permits that sequence. Your internal round model should distinguish game presentation status from financial reconciliation status.
A useful design tracks these separately:
- Gameplay status: whether the game considers play finished.
- Posting status: which authorized financial events have reached the ledger.
- Reconciliation status: whether ledger entries match authoritative records available so far.
Do not freeze all financial activity merely because your frontend has returned the player to the lobby. Equally, do not accept arbitrary late credits just because they contain a known round ID. Authentication, ownership, currency, identity, and event-type validation still apply.
Where callbacks include a balance snapshot, establish whether it is informational or authoritative. Avoid overwriting the current wallet balance with an old snapshot after newer activity has already occurred.
Reconcile components, not just the final balance
A wallet balance can look correct even when transaction classification is wrong. One duplicate and one missing credit of the same value can cancel out numerically while leaving a broken audit trail.
Use three reconciliation layers:
- Event matching: match each external payable transaction to exactly one internal posting.
- Component matching: compare base-game and additional-award components where authoritative breakdowns exist.
- Aggregate matching: compare totals for the same currency, reporting scope, cutoff, and adjustment treatment.
Keep informational totals outside the payable-event sum. If an external report shows both component rows and a combined total, confirm which rows are additive before importing them.
Do not assume that the amount credited to the player determines the operator's revenue treatment. Jackpot funding, supplier charges, and contractual GGR definitions may require separate accounting classifications. Finance should approve those mappings independently of wallet settlement logic.
Run a focused pre-launch test pack
Use approved sandbox scenarios or fixtures agreed with the integration team. At minimum, test:
- A combined credit containing a monetary breakdown.
- Separate authorized credits associated with one round.
- A retry of each credit before and after acknowledgement.
- The permitted arrival sequences for related events.
- A reporting summary received after all payable credits.
- A reused transaction identity with a changed amount.
- A crash between message receipt and database commit.
- A correction referencing one component rather than the entire round.
For each case, specify the expected balance change, ledger entry count, response, and reconciliation result. Assertions should inspect individual postings, not just the final balance.
Reject unsupported interpretations during testing. A fixture that your integration never emits should not silently become a production requirement.
Questions to settle before commercial launch
GamingAPI offers an aggregation platform with 16,000+ games from 150+ studios through one API, with a seamless wallet, multi-currency support, and USDT deposits. Those platform capabilities do not by themselves establish Red Tiger availability, market eligibility, or a particular settlement format.
Confirm the requested catalogue, permitted jurisdictions, and callback contract with the integration team. GamingAPI's published commercial model is $350 one-time setup plus 10% of positive GGR; review pricing and clarify the contractual calculation scope before budgeting.
For technical due diligence, contact the team with your settlement mapping and test expectations. Request representative messages and reporting samples for the proposed integration route rather than relying on generic examples.
FAQ
Can I credit every amount field in a win message?
No. Some fields may describe components or cumulative totals. Only fields explicitly defined as payable should drive wallet postings.
Is a round ID enough to prevent duplicate wins?
Not necessarily. One round can contain multiple legitimate financial events. Use the transaction identity and uniqueness scope defined by the integration contract.
Should a late additional award reopen the game session?
Not automatically. Financial posting and gameplay state are separate concerns. Process an authorized late credit according to the contract, update reconciliation, and avoid changing gameplay state unless the specification requires it.