---
title: "Place play"
method: POST
path: "/mm/place_wager"
tags: ["play"]
---

# Place play

`POST /mm/place_wager`

### Place a wager
`wager_strategy` with value `fillOrKill` that will be auto-canceled if no match is made in 2 seconds
For normal wagers, just remove the `wager_strategy` field

## Request body

- WagerPlaceWagerRequest
  - `external_id` string — max length is 100, only contain A-z, 0-9, _, -
  - `line_id` string
  - `odds` number
  - `stake` number
  - `wager_strategy` 'fillOrKill'

## Response `200`

OK

- MarketMakerPlaceWagerResponse
  - `data` object
    - `success` boolean
    - `wager` ContractWager
      - `external_id` string
      - `id` string — ID should be ref_id in database
      - `line` number
      - `line_id` string
      - `market_id` integer
      - `matched_stake` number
      - `matching_status` 'unmatched' | 'fully_matched' | 'partially_matched'
      - `odds` number
      - `outcome_id` integer — outcome description ID
      - `profit` number
      - `sport_event_id` integer
      - `stake` number
      - `status` 'void' | 'closed' | 'canceled' | 'manually_settled' | 'inactive' | 'wiped' | 'open' | 'invalid'
      - `unmatched_stake` number
      - `user_id` string
      - `winning_status` 'lost' | 'won' | 'no_result' | 'tbd' | 'manually_lost' | 'manually_won' | 'draw' | 'push'

## Other responses

- `400` — Sport event is not booked
- `401` — Unauthorized
- `403` — User is suspended
- `404` — Your requested data is not found
- `500` — Internal server error

---

[API](https://skmtc.net/prophetx/apis/external-market-maker-api.md) · [All operations](https://skmtc.net/prophetx/apis/external-market-maker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prophetx/external-market-maker-api/versions/cf6d43de1db2/schema)
