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 inbet.SETTLEMENTandCASHOUT: sendtransactionIdReference,realMoneyBalanceBeforeandbonusMoneyBalanceBefore;betcan be empty.- Only
APPROVEDtransactions are accepted. - Send
datein RFC 3339 format, and setexchangeRateagainst 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
- 202
- 400
- 401
- 500
- default
Accepted
Bad Request
Unauthorized
500 (Error) Internal server Error
An unexpected error response.