{
"id": "smnt_6af1a3c27d9e4b0f8c2a65e1d3b7f940",
"amount": 20,
"created_at": 1794174120000,
"updated_at": 1794174120000,
"market_id": "pm_6ae1e3c08d5c2a7e3f9b41e6d2c8a604",
"position_id": "pos_6aedecf7f6c1b4e9a3d27f50c8e4a1d3",
"result": "yes",
"settlement_price": 1,
"yes_quantity": 20,
"no_quantity": 0
}Settlement
The record of one position being paid out when its market settled. Money is in dollars, prices are per contract, timestamps are epoch milliseconds.
The settlement's id, prefixed smnt_.
"smnt_6af1a3c27d9e4b0f8c2a65e1d3b7f940"
The payout in dollars: settlement_price × the contracts held, rounded to the cent. It is what was credited to your cash for this position.
20
When the settlement was recorded. Epoch milliseconds.
1794174120000
When the settlement record last changed. Epoch milliseconds; the same as created_at unless the record was corrected later.
1794174120000
The market that settled; the same as market.id on the transaction.
"pm_6ae1e3c08d5c2a7e3f9b41e6d2c8a604"
The position that was paid out, prefixed pos_. Look it up with Get a position; it is closed after settlement.
"pos_6aedecf7f6c1b4e9a3d27f50c8e4a1d3"
How the market resolved: yes, no, or scalar (resolved to a value rather than a side). See Market results.
yes, no, scalar "yes"
What each contract you held paid, in dollars, on the side you held, with up to four decimal places: 1 when your side won, 0 when it lost, and the value in between when the market resolved to one (0.5 for a 50/50 resolution).
1
YES contracts you held when the market settled; 0 if you held NO.
20
NO contracts you held when the market settled; 0 if you held YES.
0

