Pular para o conteúdo principal

Sport Transaction Event

POST 

/rx-api/transactions/v1/sport-transaction

Report a sports bet and its outcome. Send the bet as a BET, and later send a SETTLEMENT (the bet is resolved) or a CASHOUT (the player settles the bet early) that references the bet's transactionId in transactionIdReference.

  • BET: send at least one item in bet.
  • SETTLEMENT and CASHOUT: send transactionIdReference, realMoneyBalanceBefore and bonusMoneyBalanceBefore; bet can be empty.
  • Only APPROVED transactions are accepted.
  • Send date in RFC 3339 format, and set exchangeRate against your PEP instance's default currency (see Exchange Rates).

For Missions, a sports win is a SETTLEMENT or CASHOUT whose amount is greater than the original bet amount. When the platform is configured to contribute with Settled Bets, a winning SETTLEMENT must have realMoneyBalance greater than realMoneyBalanceBefore.

Returns 202 Accepted: the event is queued and processed asynchronously.

Request​

Responses​

Accepted