Starnet.MontenegroTaxationAuthority.WebApi

<back to all web services

ReportBetPayouts

The following routes are available for this service:
POST/bets/payout
ReportBetPayouts Parameters:
NameParameterData TypeRequiredDescription
BetPayoutsbodyRecordList<WinDto>No
WinDto Parameters:
NameParameterData TypeRequiredDescription
bet_transaction_idformstringNo
ticket_idformstringNo
win_oddsformdecimalNo
win_typeformWinTypeNo
bonusformdecimalNo
cancelformboolNo
canceled_eventsformRecordList<IBetEvent>No
TransactionDtoBase Parameters:
NameParameterData TypeRequiredDescription
transaction_idformstringNo
transaction_timeformDateTimeNo
transaction_amountformdecimalNo
game_nameformstringNo
betting_place_idformstringNo
betting_terminal_idformstringNo
jmbgformstringNo
passport_numberformstringNo
sourceformBetSourceNo
identification_document_countryformstringNo
identification_document_typeformstringNo
BetSource Enum:
NameValue
Landbase0
Web1
WinType Enum:
NameValue
Regular0
Cashback1
Cashout2

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /bets/payout HTTP/1.1 
Host: api.prod-mnta.webhop.biz 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"betPayouts":[{"bet_transaction_id":"String","ticket_id":"String","win_odds":0,"win_type":0,"bonus":0,"cancel":false,"canceled_events":[{}],"transaction_id":"String","transaction_time":"0001-01-01T00:00:00.0000000Z","transaction_amount":0,"game_name":"String","betting_place_id":"String","betting_terminal_id":"String","jmbg":"String","passport_number":"String","source":0,"identification_document_country":"String","identification_document_type":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}