> For the complete documentation index, see [llms.txt](https://developer.betstack.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.betstack.io/bet-card-api/calculator/finance-details.md).

# Finance details

Calculates detailed finance info: taxes and payouts.

Query parameters:

<table><thead><tr><th>Parameter name</th><th width="175">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>operator</td><td>string</td><td>Operator name. For example, for operator <code>acme</code> the value should be <code>operator=acme</code></td></tr><tr><td>price</td><td>integer</td><td>Ticket price. Should be in integer format (cents). For example, for price <code>35.00</code> the value should be <code>price=3500</code></td></tr><tr><td>odds</td><td>list of floats</td><td>List of event odds at time of ticket submission. Should be in decimal format with 2 digits after comma. For example, for odds <code>1.24</code> and <code>2.76</code> the value should be <code>odds=1.24&#x26;odds=2.76</code></td></tr></tbody></table>

Response example:

```json
{
  "price": 1000,
  "total_odds": 3.42,
  "stake": 889,
  "ext": 12.5,
  "ext_amount": 111,
  "ext_type": "inclusive",
  "wht": 20,
  "wht_amount": 430,
  "gross_payout": 3040,
  "net_payout": 2610
}
```

If operator was not found error response is returned with status code `400`

```json
{
  "code": 106,
  "message": "Operator wrong-name was not found"
}
```
