| POST | /bets/payout |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BetPayouts | body | RecordList<WinDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| bet_transaction_id | form | string | No | |
| ticket_id | form | string | No | |
| win_odds | form | decimal | No | |
| win_type | form | WinType | No | |
| bonus | form | decimal | No | |
| cancel | form | bool | No | |
| canceled_events | form | RecordList<IBetEvent> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| transaction_id | form | string | No | |
| transaction_time | form | DateTime | No | |
| transaction_amount | form | decimal | No | |
| game_name | form | string | No | |
| betting_place_id | form | string | No | |
| betting_terminal_id | form | string | No | |
| jmbg | form | string | No | |
| passport_number | form | string | No | |
| source | form | BetSource | No | |
| identification_document_country | form | string | No | |
| identification_document_type | form | string | No |
| Name | Value | |
|---|---|---|
| Landbase | 0 | |
| Web | 1 |
| Name | Value | |
|---|---|---|
| Regular | 0 | |
| Cashback | 1 | |
| Cashout | 2 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}}