[{"data":1,"prerenderedAt":3270},["ShallowReactive",2],{"navigation_docs":3,"-docs-operator-api-users":352,"-docs-operator-api-users-surround":3265},[4,22,35,60,81,137,223,254,282,306,327],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Overview","\u002Fdocs\u002Fgetting-started\u002Foverview","docs\u002F1.getting-started\u002F1.overview",{"title":14,"path":15,"stem":16},"Integration checklist","\u002Fdocs\u002Fgetting-started\u002Fintegration-checklist","docs\u002F1.getting-started\u002F2.integration-checklist",{"title":18,"path":19,"stem":20},"Environments and base URLs","\u002Fdocs\u002Fgetting-started\u002Fenvironments-and-base-urls","docs\u002F1.getting-started\u002F3.environments-and-base-urls",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Troubleshooting","\u002Fdocs\u002Ftroubleshooting","docs\u002F10.troubleshooting",[27,31],{"title":28,"path":29,"stem":30},"Common errors","\u002Fdocs\u002Ftroubleshooting\u002Fcommon-errors","docs\u002F10.troubleshooting\u002F1.common-errors",{"title":32,"path":33,"stem":34},"Support escalation","\u002Fdocs\u002Ftroubleshooting\u002Fsupport-escalation","docs\u002F10.troubleshooting\u002F2.support-escalation",{"title":36,"path":37,"stem":38,"children":39,"page":21},"Polyflight","\u002Fdocs\u002Fpolyflight","docs\u002F11.polyflight",[40,44,48,52,56],{"title":41,"path":42,"stem":43},"Polyflight overview and launch","\u002Fdocs\u002Fpolyflight\u002Foverview-and-launch","docs\u002F11.polyflight\u002F1.overview-and-launch",{"title":45,"path":46,"stem":47},"Native wallet contract","\u002Fdocs\u002Fpolyflight\u002Fnative-wallet-contract","docs\u002F11.polyflight\u002F2.native-wallet-contract",{"title":49,"path":50,"stem":51},"API, events, and proof","\u002Fdocs\u002Fpolyflight\u002Fapi-events-and-proof","docs\u002F11.polyflight\u002F3.api-events-and-proof",{"title":53,"path":54,"stem":55},"Terms, statements, and settlement","\u002Fdocs\u002Fpolyflight\u002Fterms-statements-and-settlement","docs\u002F11.polyflight\u002F4.terms-statements-and-settlement",{"title":57,"path":58,"stem":59},"Operations, reconciliation, and rollback","\u002Fdocs\u002Fpolyflight\u002Foperations-reconciliation-and-rollback","docs\u002F11.polyflight\u002F5.operations-reconciliation-and-rollback",{"title":61,"path":62,"stem":63,"children":64,"page":21},"Integration Flow","\u002Fdocs\u002Fintegration-flow","docs\u002F2.integration-flow",[65,69,73,77],{"title":66,"path":67,"stem":68},"Architecture","\u002Fdocs\u002Fintegration-flow\u002Farchitecture","docs\u002F2.integration-flow\u002F1.architecture",{"title":70,"path":71,"stem":72},"Launch session model","\u002Fdocs\u002Fintegration-flow\u002Flaunch-session-model","docs\u002F2.integration-flow\u002F2.launch-session-model",{"title":74,"path":75,"stem":76},"Order and wallet saga","\u002Fdocs\u002Fintegration-flow\u002Forder-and-wallet-saga","docs\u002F2.integration-flow\u002F3.order-and-wallet-saga",{"title":78,"path":79,"stem":80},"FX fees and rounding","\u002Fdocs\u002Fintegration-flow\u002Ffx-fees-and-rounding","docs\u002F2.integration-flow\u002F4.fx-fees-and-rounding",{"title":82,"path":83,"stem":84,"children":85,"page":21},"Dashboard","\u002Fdocs\u002Fdashboard","docs\u002F3.dashboard",[86,89,93,97,101,105,109,113,117,121,125,129,133],{"title":10,"path":87,"stem":88},"\u002Fdocs\u002Fdashboard\u002Foverview","docs\u002F3.dashboard\u002F1.overview",{"title":90,"path":91,"stem":92},"Webhook Deliveries","\u002Fdocs\u002Fdashboard\u002Fwebhook-deliveries","docs\u002F3.dashboard\u002F10.webhook-deliveries",{"title":94,"path":95,"stem":96},"Staffs","\u002Fdocs\u002Fdashboard\u002Fstaffs","docs\u002F3.dashboard\u002F11.staffs",{"title":98,"path":99,"stem":100},"Simulator","\u002Fdocs\u002Fdashboard\u002Fsimulator","docs\u002F3.dashboard\u002F12.simulator",{"title":102,"path":103,"stem":104},"API Playground","\u002Fdocs\u002Fdashboard\u002Fapi-playground","docs\u002F3.dashboard\u002F13.api-playground",{"title":106,"path":107,"stem":108},"API keys","\u002Fdocs\u002Fdashboard\u002Fapi-keys","docs\u002F3.dashboard\u002F2.api-keys",{"title":110,"path":111,"stem":112},"Wallet adapter settings","\u002Fdocs\u002Fdashboard\u002Fwallet-adapter-settings","docs\u002F3.dashboard\u002F3.wallet-adapter-settings",{"title":114,"path":115,"stem":116},"Webhook endpoints","\u002Fdocs\u002Fdashboard\u002Fwebhook-endpoints","docs\u002F3.dashboard\u002F4.webhook-endpoints",{"title":118,"path":119,"stem":120},"Markets and visibility","\u002Fdocs\u002Fdashboard\u002Fmarket-visibility","docs\u002F3.dashboard\u002F5.market-visibility",{"title":122,"path":123,"stem":124},"Users","\u002Fdocs\u002Fdashboard\u002Fusers","docs\u002F3.dashboard\u002F6.users",{"title":126,"path":127,"stem":128},"Trades","\u002Fdocs\u002Fdashboard\u002Ftrades","docs\u002F3.dashboard\u002F7.trades",{"title":130,"path":131,"stem":132},"Resolutions","\u002Fdocs\u002Fdashboard\u002Fresolutions","docs\u002F3.dashboard\u002F8.resolutions",{"title":134,"path":135,"stem":136},"Balance Operations","\u002Fdocs\u002Fdashboard\u002Fbalance-operations","docs\u002F3.dashboard\u002F9.balance-operations",{"title":138,"path":139,"stem":140,"children":141,"page":21},"Operator Api","\u002Fdocs\u002Foperator-api","docs\u002F4.operator-api",[142,146,149,153,156,160,163,167,171,175,179,183,186,190,194,198,202,206,209,213,216,219],{"title":143,"path":144,"stem":145},"Authentication","\u002Fdocs\u002Foperator-api\u002Fauthentication","docs\u002F4.operator-api\u002F1.authentication",{"title":114,"path":147,"stem":148},"\u002Fdocs\u002Foperator-api\u002Fwebhook-endpoints","docs\u002F4.operator-api\u002F10.webhook-endpoints",{"title":150,"path":151,"stem":152},"Webhook deliveries","\u002Fdocs\u002Foperator-api\u002Fwebhook-deliveries","docs\u002F4.operator-api\u002F11.webhook-deliveries",{"title":98,"path":154,"stem":155},"\u002Fdocs\u002Foperator-api\u002Fsimulator","docs\u002F4.operator-api\u002F12.simulator",{"title":157,"path":158,"stem":159},"Wallet adapter","\u002Fdocs\u002Foperator-api\u002Fwallet-adapter","docs\u002F4.operator-api\u002F13.wallet-adapter",{"title":94,"path":161,"stem":162},"\u002Fdocs\u002Foperator-api\u002Fstaffs","docs\u002F4.operator-api\u002F14.staffs",{"title":164,"path":165,"stem":166},"Error codes","\u002Fdocs\u002Foperator-api\u002Ferror-codes","docs\u002F4.operator-api\u002F15.error-codes",{"title":168,"path":169,"stem":170},"Redemptions","\u002Fdocs\u002Foperator-api\u002Fredemptions","docs\u002F4.operator-api\u002F16.redemptions",{"title":172,"path":173,"stem":174},"Polyflight overview","\u002Fdocs\u002Foperator-api\u002Fpolyflight","docs\u002F4.operator-api\u002F17.polyflight",{"title":176,"path":177,"stem":178},"Polyflight flights","\u002Fdocs\u002Foperator-api\u002Fpolyflight-flights","docs\u002F4.operator-api\u002F18.polyflight-flights",{"title":180,"path":181,"stem":182},"Polyflight tickets","\u002Fdocs\u002Foperator-api\u002Fpolyflight-tickets","docs\u002F4.operator-api\u002F19.polyflight-tickets",{"title":106,"path":184,"stem":185},"\u002Fdocs\u002Foperator-api\u002Fapi-keys","docs\u002F4.operator-api\u002F2.api-keys",{"title":187,"path":188,"stem":189},"Polyflight balance operations","\u002Fdocs\u002Foperator-api\u002Fpolyflight-balance-operations","docs\u002F4.operator-api\u002F20.polyflight-balance-operations",{"title":191,"path":192,"stem":193},"Polyflight terms","\u002Fdocs\u002Foperator-api\u002Fpolyflight-terms","docs\u002F4.operator-api\u002F21.polyflight-terms",{"title":195,"path":196,"stem":197},"Polyflight settlement reports","\u002Fdocs\u002Foperator-api\u002Fpolyflight-settlement-reports","docs\u002F4.operator-api\u002F22.polyflight-settlement-reports",{"title":199,"path":200,"stem":201},"Session","\u002Fdocs\u002Foperator-api\u002Fsession","docs\u002F4.operator-api\u002F3.session",{"title":203,"path":204,"stem":205},"Launch","\u002Fdocs\u002Foperator-api\u002Flaunch","docs\u002F4.operator-api\u002F4.launch",{"title":122,"path":207,"stem":208},"\u002Fdocs\u002Foperator-api\u002Fusers","docs\u002F4.operator-api\u002F5.users",{"title":210,"path":211,"stem":212},"Markets","\u002Fdocs\u002Foperator-api\u002Fmarkets","docs\u002F4.operator-api\u002F6.markets",{"title":126,"path":214,"stem":215},"\u002Fdocs\u002Foperator-api\u002Ftrades","docs\u002F4.operator-api\u002F7.trades",{"title":130,"path":217,"stem":218},"\u002Fdocs\u002Foperator-api\u002Fresolutions","docs\u002F4.operator-api\u002F8.resolutions",{"title":220,"path":221,"stem":222},"Balance operations","\u002Fdocs\u002Foperator-api\u002Fbalance-operations","docs\u002F4.operator-api\u002F9.balance-operations",{"title":224,"path":225,"stem":226,"children":227,"page":21},"Wallet Adapter","\u002Fdocs\u002Fwallet-adapter","docs\u002F5.wallet-adapter",[228,231,234,238,242,246,250],{"title":10,"path":229,"stem":230},"\u002Fdocs\u002Fwallet-adapter\u002Foverview","docs\u002F5.wallet-adapter\u002F1.overview",{"title":143,"path":232,"stem":233},"\u002Fdocs\u002Fwallet-adapter\u002Fauthentication","docs\u002F5.wallet-adapter\u002F2.authentication",{"title":235,"path":236,"stem":237},"Balance","\u002Fdocs\u002Fwallet-adapter\u002Fbalance","docs\u002F5.wallet-adapter\u002F3.balance",{"title":239,"path":240,"stem":241},"Debit","\u002Fdocs\u002Fwallet-adapter\u002Fdebit","docs\u002F5.wallet-adapter\u002F4.debit",{"title":243,"path":244,"stem":245},"Credit","\u002Fdocs\u002Fwallet-adapter\u002Fcredit","docs\u002F5.wallet-adapter\u002F5.credit",{"title":247,"path":248,"stem":249},"Debit reversal","\u002Fdocs\u002Fwallet-adapter\u002Fdebit-reversal","docs\u002F5.wallet-adapter\u002F6.debit-reversal",{"title":251,"path":252,"stem":253},"Idempotency","\u002Fdocs\u002Fwallet-adapter\u002Fidempotency","docs\u002F5.wallet-adapter\u002F7.idempotency",{"title":255,"path":256,"stem":257,"children":258,"page":21},"Webhooks","\u002Fdocs\u002Fwebhooks","docs\u002F6.webhooks",[259,262,266,270,274,278],{"title":10,"path":260,"stem":261},"\u002Fdocs\u002Fwebhooks\u002Foverview","docs\u002F6.webhooks\u002F1.overview",{"title":263,"path":264,"stem":265},"Signatures","\u002Fdocs\u002Fwebhooks\u002Fsignatures","docs\u002F6.webhooks\u002F2.signatures",{"title":267,"path":268,"stem":269},"Event envelope","\u002Fdocs\u002Fwebhooks\u002Fevent-envelope","docs\u002F6.webhooks\u002F3.event-envelope",{"title":271,"path":272,"stem":273},"Event types","\u002Fdocs\u002Fwebhooks\u002Fevent-types","docs\u002F6.webhooks\u002F4.event-types",{"title":275,"path":276,"stem":277},"Retry and replay","\u002Fdocs\u002Fwebhooks\u002Fretry-and-replay","docs\u002F6.webhooks\u002F5.retry-and-replay",{"title":279,"path":280,"stem":281},"Receiver examples","\u002Fdocs\u002Fwebhooks\u002Freceiver-examples","docs\u002F6.webhooks\u002F6.receiver-examples",{"title":283,"path":284,"stem":285,"children":286,"page":21},"Testing And Staging","\u002Fdocs\u002Ftesting-and-staging","docs\u002F7.testing-and-staging",[287,291,294,298,302],{"title":288,"path":289,"stem":290},"Staging overview","\u002Fdocs\u002Ftesting-and-staging\u002Fstaging-overview","docs\u002F7.testing-and-staging\u002F1.staging-overview",{"title":98,"path":292,"stem":293},"\u002Fdocs\u002Ftesting-and-staging\u002Fsimulator","docs\u002F7.testing-and-staging\u002F2.simulator",{"title":295,"path":296,"stem":297},"Wallet failure drills","\u002Fdocs\u002Ftesting-and-staging\u002Fwallet-failure-drills","docs\u002F7.testing-and-staging\u002F3.wallet-failure-drills",{"title":299,"path":300,"stem":301},"Webhook drills","\u002Fdocs\u002Ftesting-and-staging\u002Fwebhook-drills","docs\u002F7.testing-and-staging\u002F4.webhook-drills",{"title":303,"path":304,"stem":305},"Production cutover rehearsal","\u002Fdocs\u002Ftesting-and-staging\u002Fproduction-cutover-rehearsal","docs\u002F7.testing-and-staging\u002F5.production-cutover-rehearsal",{"title":307,"path":308,"stem":309,"children":310,"page":21},"Production Readiness","\u002Fdocs\u002Fproduction-readiness","docs\u002F8.production-readiness",[311,315,319,323],{"title":312,"path":313,"stem":314},"Checklist","\u002Fdocs\u002Fproduction-readiness\u002Fchecklist","docs\u002F8.production-readiness\u002F1.checklist",{"title":316,"path":317,"stem":318},"Operational runbook","\u002Fdocs\u002Fproduction-readiness\u002Foperational-runbook","docs\u002F8.production-readiness\u002F2.operational-runbook",{"title":320,"path":321,"stem":322},"Security","\u002Fdocs\u002Fproduction-readiness\u002Fsecurity","docs\u002F8.production-readiness\u002F3.security",{"title":324,"path":325,"stem":326},"Rollback","\u002Fdocs\u002Fproduction-readiness\u002Frollback","docs\u002F8.production-readiness\u002F4.rollback",{"title":328,"path":329,"stem":330,"children":331,"page":21},"Reference","\u002Fdocs\u002Freference","docs\u002F9.reference",[332,336,340,344,348],{"title":333,"path":334,"stem":335},"Statuses","\u002Fdocs\u002Freference\u002Fstatuses","docs\u002F9.reference\u002F1.statuses",{"title":337,"path":338,"stem":339},"Scopes","\u002Fdocs\u002Freference\u002Fscopes","docs\u002F9.reference\u002F2.scopes",{"title":341,"path":342,"stem":343},"Units and money","\u002Fdocs\u002Freference\u002Funits-and-money","docs\u002F9.reference\u002F3.units-and-money",{"title":345,"path":346,"stem":347},"Changelog","\u002Fdocs\u002Freference\u002Fchangelog","docs\u002F9.reference\u002F4.changelog",{"title":349,"path":350,"stem":351},"Virtual AMM","\u002Fdocs\u002Freference\u002Fvirtual-amm","docs\u002F9.reference\u002F5.virtual-amm",{"id":353,"title":122,"body":354,"description":3258,"extension":3259,"links":3260,"meta":3261,"navigation":3262,"path":207,"seo":3263,"stem":208,"__hash__":3264},"docs\u002Fdocs\u002F4.operator-api\u002F5.users.md",{"type":355,"value":356,"toc":3237},"minimark",[357,361,365,370,376,382,386,389,560,564,611,615,620,624,627,631,776,780,848,852,1855,1858,2045,2049,2054,2058,2061,2094,2097,2276,2279,2384,2387,2414,2418,2459,2463,2468,2476,2483,2508,2511,2552,2556,2760,2768,2865,2868,3020,3023,3146,3149,3169,3173,3210,3214,3233],[358,359,122],"h1",{"id":360},"users",[362,363,364],"p",{},"List operator users and retrieve a user's Portfolio as JSON, read-only inspection HTML, or launch-capable HTML.",[366,367,369],"h2",{"id":368},"path","Path",[362,371,372],{},[373,374,375],"code",{},"GET \u002Fapi\u002Foperator\u002Fusers",[362,377,378,379],{},"Required scope: ",[373,380,381],{},"users:read",[366,383,385],{"id":384},"query-params","Query params",[362,387,388],{},"All list query parameters are optional.",[390,391,392,411],"table",{},[393,394,395],"thead",{},[396,397,398,402,405,408],"tr",{},[399,400,401],"th",{},"Parameter",[399,403,404],{},"Type",[399,406,407],{},"Requirement",[399,409,410],{},"Values\u002Fdefault",[412,413,414,442,456,470,485,499,522,540],"tbody",{},[396,415,416,422,425,428],{},[417,418,419],"td",{},[373,420,421],{},"status",[417,423,424],{},"string",[417,426,427],{},"Optional",[417,429,430,433,434,437,438,441],{},[373,431,432],{},"active",", ",[373,435,436],{},"suspended",", or ",[373,439,440],{},"disabled",".",[396,443,444,449,451,453],{},[417,445,446],{},[373,447,448],{},"search",[417,450,424],{},[417,452,427],{},[417,454,455],{},"Case-insensitive match against external user ID or display name.",[396,457,458,463,465,467],{},[417,459,460],{},[373,461,462],{},"external_user_id",[417,464,424],{},[417,466,427],{},[417,468,469],{},"Exact external user ID.",[396,471,472,477,480,482],{},[417,473,474],{},[373,475,476],{},"created_from",[417,478,479],{},"datetime",[417,481,427],{},[417,483,484],{},"Inclusive lower bound; any JavaScript-parseable date\u002Ftime.",[396,486,487,492,494,496],{},[417,488,489],{},[373,490,491],{},"created_to",[417,493,479],{},[417,495,427],{},[417,497,498],{},"Inclusive upper bound; any JavaScript-parseable date\u002Ftime.",[396,500,501,506,508,510],{},[417,502,503],{},[373,504,505],{},"sort",[417,507,424],{},[417,509,427],{},[417,511,512,515,516,437,519,441],{},[373,513,514],{},"created_at_desc"," (default), ",[373,517,518],{},"created_at_asc",[373,520,521],{},"external_user_id_asc",[396,523,524,529,532,534],{},[417,525,526],{},[373,527,528],{},"page",[417,530,531],{},"positive integer",[417,533,427],{},[417,535,536,537,441],{},"Default ",[373,538,539],{},"1",[396,541,542,547,549,551],{},[417,543,544],{},[373,545,546],{},"page_size",[417,548,531],{},[417,550,427],{},[417,552,536,553,556,557,441],{},[373,554,555],{},"50",", maximum ",[373,558,559],{},"100",[366,561,563],{"id":562},"response-fields","Response fields",[565,566,567,573,577,582,587,591,596,601,606],"ul",{},[568,569,570],"li",{},[373,571,572],{},"id",[568,574,575],{},[373,576,462],{},[568,578,579],{},[373,580,581],{},"polynion_user_id",[568,583,584],{},[373,585,586],{},"display_name",[568,588,589],{},[373,590,421],{},[568,592,593],{},[373,594,595],{},"metadata",[568,597,598],{},[373,599,600],{},"last_seen_at",[568,602,603],{},[373,604,605],{},"created_at",[568,607,608],{},[373,609,610],{},"updated_at",[366,612,614],{"id":613},"portfolio-json-data","Portfolio JSON data",[362,616,617],{},[373,618,619],{},"GET \u002Fapi\u002Foperator\u002Fusers\u002Fportfolio",[362,621,378,622],{},[373,623,381],{},[362,625,626],{},"Use this read-only endpoint when your backend needs the Portfolio data without HTML or launch links. It does not create or update the operator user, and it does not create launch tokens.",[628,629,385],"h3",{"id":630},"query-params-1",[390,632,633,645],{},[393,634,635],{},[396,636,637,639,641,643],{},[399,638,401],{},[399,640,404],{},[399,642,407],{},[399,644,410],{},[412,646,647,664,682,700,717,734,756],{},[396,648,649,653,655,661],{},[417,650,651],{},[373,652,462],{},[417,654,424],{},[417,656,657],{},[658,659,660],"strong",{},"Required",[417,662,663],{},"Stable operator-side user ID.",[396,665,666,671,673,675],{},[417,667,668],{},[373,669,670],{},"trade_page",[417,672,531],{},[417,674,427],{},[417,676,536,677,556,679,441],{},[373,678,539],{},[373,680,681],{},"10000",[396,683,684,689,691,693],{},[417,685,686],{},[373,687,688],{},"trade_page_size",[417,690,531],{},[417,692,427],{},[417,694,536,695,556,698,441],{},[373,696,697],{},"20",[373,699,559],{},[396,701,702,707,709,711],{},[417,703,704],{},[373,705,706],{},"balance_page",[417,708,531],{},[417,710,427],{},[417,712,536,713,556,715,441],{},[373,714,539],{},[373,716,681],{},[396,718,719,724,726,728],{},[417,720,721],{},[373,722,723],{},"balance_page_size",[417,725,531],{},[417,727,427],{},[417,729,536,730,556,732,441],{},[373,731,697],{},[373,733,559],{},[396,735,736,741,743,745],{},[417,737,738],{},[373,739,740],{},"trade_sort_by",[417,742,424],{},[417,744,427],{},[417,746,747,515,750,437,753,441],{},[373,748,749],{},"createdAt",[373,751,752],{},"sharesDelta",[373,754,755],{},"creditsDelta",[396,757,758,763,765,767],{},[417,759,760],{},[373,761,762],{},"trade_sort_direction",[417,764,424],{},[417,766,427],{},[417,768,769,772,773,441],{},[373,770,771],{},"desc"," (default) or ",[373,774,775],{},"asc",[628,777,779],{"id":778},"example","Example",[781,782,787],"pre",{"className":783,"code":784,"language":785,"meta":786,"style":786},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -sS \\\n  -H \"Authorization: Bearer ${OPER...KEY}\" \\\n  \"https:\u002F\u002Fyour-beacon-origin.example.com\u002Fapi\u002Foperator\u002Fusers\u002Fportfolio?external_user_id=operator-user-123&trade_page=1&trade_page_size=20&balance_page=1&balance_page_size=20\"\n","bash","",[373,788,789,806,836],{"__ignoreMap":786},[790,791,794,798,802],"span",{"class":792,"line":793},"line",1,[790,795,797],{"class":796},"sBMFI","curl",[790,799,801],{"class":800},"sfazB"," -sS",[790,803,805],{"class":804},"sTEyZ"," \\\n",[790,807,809,812,816,819,822,825,828,831,834],{"class":792,"line":808},2,[790,810,811],{"class":800},"  -H",[790,813,815],{"class":814},"sMK4o"," \"",[790,817,818],{"class":800},"Authorization: Bearer ",[790,820,821],{"class":814},"${",[790,823,824],{"class":804},"OPER",[790,826,827],{"class":800},"...",[790,829,830],{"class":804},"KEY",[790,832,833],{"class":814},"}\"",[790,835,805],{"class":804},[790,837,839,842,845],{"class":792,"line":838},3,[790,840,841],{"class":814},"  \"",[790,843,844],{"class":800},"https:\u002F\u002Fyour-beacon-origin.example.com\u002Fapi\u002Foperator\u002Fusers\u002Fportfolio?external_user_id=operator-user-123&trade_page=1&trade_page_size=20&balance_page=1&balance_page_size=20",[790,846,847],{"class":814},"\"\n",[628,849,851],{"id":850},"response","Response",[781,853,857],{"className":854,"code":855,"language":856,"meta":786,"style":786},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"operator_user\": {\n    \"id\": 42,\n    \"external_user_id\": \"operator-user-123\",\n    \"polynion_user_id\": 987,\n    \"display_name\": \"Rina\",\n    \"status\": \"active\"\n  },\n  \"generated_at\": \"2026-07-10T12:00:00.000Z\",\n  \"currency_code\": \"IDR\",\n  \"wallet\": {\n    \"provider\": \"rest_v1\",\n    \"currency_code\": \"IDR\",\n    \"balance_minor\": 250000,\n    \"available\": true,\n    \"refreshed_at\": \"2026-07-10T12:00:00.000Z\"\n  },\n  \"portfolio_value\": {\n    \"positions_count\": 0,\n    \"total_value_minor\": 0,\n    \"realized_pnl_minor\": 0,\n    \"unrealized_pnl_minor\": 0\n  },\n  \"metrics\": {\n    \"markets_predicted\": 0,\n    \"win_rate_pct\": 0,\n    \"lifetime_volume_minor\": 0\n  },\n  \"positions\": [],\n  \"open_positions\": [],\n  \"resolved_positions\": [],\n  \"trade_history\": {\n    \"items\": [],\n    \"pagination\": {\n      \"page\": 1,\n      \"page_size\": 20,\n      \"total\": 0,\n      \"total_pages\": 1\n    },\n    \"sort\": {\n      \"by\": \"createdAt\",\n      \"direction\": \"desc\"\n    }\n  },\n  \"balance_mutations\": {\n    \"items\": [\n      {\n        \"id\": 4321,\n        \"market\": {\n          \"id\": 123,\n          \"slug\": \"example-market\",\n          \"title\": \"Will this market resolve Yes?\",\n          \"translations\": {}\n        },\n        \"operation_type\": \"trade\",\n        \"direction\": \"debit\",\n        \"status\": \"succeeded\",\n        \"amount_minor\": -50000,\n        \"currency_code\": \"IDR\",\n        \"created_at\": \"2026-07-10T11:59:00.000Z\"\n      }\n    ],\n    \"pagination\": {\n      \"page\": 1,\n      \"page_size\": 20,\n      \"total\": 1,\n      \"total_pages\": 1\n    }\n  }\n}\n","json",[373,858,859,864,881,899,919,935,955,972,978,999,1020,1034,1055,1074,1091,1106,1124,1129,1143,1160,1176,1192,1207,1212,1226,1242,1258,1272,1277,1292,1306,1320,1334,1348,1362,1379,1395,1411,1426,1432,1445,1465,1483,1489,1494,1508,1522,1528,1545,1559,1577,1598,1619,1634,1640,1661,1681,1701,1718,1737,1755,1761,1767,1780,1795,1810,1825,1838,1843,1849],{"__ignoreMap":786},[790,860,861],{"class":792,"line":793},[790,862,863],{"class":814},"{\n",[790,865,866,868,872,875,878],{"class":792,"line":808},[790,867,841],{"class":814},[790,869,871],{"class":870},"spNyl","operator_user",[790,873,874],{"class":814},"\"",[790,876,877],{"class":814},":",[790,879,880],{"class":814}," {\n",[790,882,883,886,888,890,892,896],{"class":792,"line":838},[790,884,885],{"class":814},"    \"",[790,887,572],{"class":796},[790,889,874],{"class":814},[790,891,877],{"class":814},[790,893,895],{"class":894},"sbssI"," 42",[790,897,898],{"class":814},",\n",[790,900,902,904,906,908,910,912,915,917],{"class":792,"line":901},4,[790,903,885],{"class":814},[790,905,462],{"class":796},[790,907,874],{"class":814},[790,909,877],{"class":814},[790,911,815],{"class":814},[790,913,914],{"class":800},"operator-user-123",[790,916,874],{"class":814},[790,918,898],{"class":814},[790,920,922,924,926,928,930,933],{"class":792,"line":921},5,[790,923,885],{"class":814},[790,925,581],{"class":796},[790,927,874],{"class":814},[790,929,877],{"class":814},[790,931,932],{"class":894}," 987",[790,934,898],{"class":814},[790,936,938,940,942,944,946,948,951,953],{"class":792,"line":937},6,[790,939,885],{"class":814},[790,941,586],{"class":796},[790,943,874],{"class":814},[790,945,877],{"class":814},[790,947,815],{"class":814},[790,949,950],{"class":800},"Rina",[790,952,874],{"class":814},[790,954,898],{"class":814},[790,956,958,960,962,964,966,968,970],{"class":792,"line":957},7,[790,959,885],{"class":814},[790,961,421],{"class":796},[790,963,874],{"class":814},[790,965,877],{"class":814},[790,967,815],{"class":814},[790,969,432],{"class":800},[790,971,847],{"class":814},[790,973,975],{"class":792,"line":974},8,[790,976,977],{"class":814},"  },\n",[790,979,981,983,986,988,990,992,995,997],{"class":792,"line":980},9,[790,982,841],{"class":814},[790,984,985],{"class":870},"generated_at",[790,987,874],{"class":814},[790,989,877],{"class":814},[790,991,815],{"class":814},[790,993,994],{"class":800},"2026-07-10T12:00:00.000Z",[790,996,874],{"class":814},[790,998,898],{"class":814},[790,1000,1002,1004,1007,1009,1011,1013,1016,1018],{"class":792,"line":1001},10,[790,1003,841],{"class":814},[790,1005,1006],{"class":870},"currency_code",[790,1008,874],{"class":814},[790,1010,877],{"class":814},[790,1012,815],{"class":814},[790,1014,1015],{"class":800},"IDR",[790,1017,874],{"class":814},[790,1019,898],{"class":814},[790,1021,1023,1025,1028,1030,1032],{"class":792,"line":1022},11,[790,1024,841],{"class":814},[790,1026,1027],{"class":870},"wallet",[790,1029,874],{"class":814},[790,1031,877],{"class":814},[790,1033,880],{"class":814},[790,1035,1037,1039,1042,1044,1046,1048,1051,1053],{"class":792,"line":1036},12,[790,1038,885],{"class":814},[790,1040,1041],{"class":796},"provider",[790,1043,874],{"class":814},[790,1045,877],{"class":814},[790,1047,815],{"class":814},[790,1049,1050],{"class":800},"rest_v1",[790,1052,874],{"class":814},[790,1054,898],{"class":814},[790,1056,1058,1060,1062,1064,1066,1068,1070,1072],{"class":792,"line":1057},13,[790,1059,885],{"class":814},[790,1061,1006],{"class":796},[790,1063,874],{"class":814},[790,1065,877],{"class":814},[790,1067,815],{"class":814},[790,1069,1015],{"class":800},[790,1071,874],{"class":814},[790,1073,898],{"class":814},[790,1075,1077,1079,1082,1084,1086,1089],{"class":792,"line":1076},14,[790,1078,885],{"class":814},[790,1080,1081],{"class":796},"balance_minor",[790,1083,874],{"class":814},[790,1085,877],{"class":814},[790,1087,1088],{"class":894}," 250000",[790,1090,898],{"class":814},[790,1092,1094,1096,1099,1101,1103],{"class":792,"line":1093},15,[790,1095,885],{"class":814},[790,1097,1098],{"class":796},"available",[790,1100,874],{"class":814},[790,1102,877],{"class":814},[790,1104,1105],{"class":814}," true,\n",[790,1107,1109,1111,1114,1116,1118,1120,1122],{"class":792,"line":1108},16,[790,1110,885],{"class":814},[790,1112,1113],{"class":796},"refreshed_at",[790,1115,874],{"class":814},[790,1117,877],{"class":814},[790,1119,815],{"class":814},[790,1121,994],{"class":800},[790,1123,847],{"class":814},[790,1125,1127],{"class":792,"line":1126},17,[790,1128,977],{"class":814},[790,1130,1132,1134,1137,1139,1141],{"class":792,"line":1131},18,[790,1133,841],{"class":814},[790,1135,1136],{"class":870},"portfolio_value",[790,1138,874],{"class":814},[790,1140,877],{"class":814},[790,1142,880],{"class":814},[790,1144,1146,1148,1151,1153,1155,1158],{"class":792,"line":1145},19,[790,1147,885],{"class":814},[790,1149,1150],{"class":796},"positions_count",[790,1152,874],{"class":814},[790,1154,877],{"class":814},[790,1156,1157],{"class":894}," 0",[790,1159,898],{"class":814},[790,1161,1163,1165,1168,1170,1172,1174],{"class":792,"line":1162},20,[790,1164,885],{"class":814},[790,1166,1167],{"class":796},"total_value_minor",[790,1169,874],{"class":814},[790,1171,877],{"class":814},[790,1173,1157],{"class":894},[790,1175,898],{"class":814},[790,1177,1179,1181,1184,1186,1188,1190],{"class":792,"line":1178},21,[790,1180,885],{"class":814},[790,1182,1183],{"class":796},"realized_pnl_minor",[790,1185,874],{"class":814},[790,1187,877],{"class":814},[790,1189,1157],{"class":894},[790,1191,898],{"class":814},[790,1193,1195,1197,1200,1202,1204],{"class":792,"line":1194},22,[790,1196,885],{"class":814},[790,1198,1199],{"class":796},"unrealized_pnl_minor",[790,1201,874],{"class":814},[790,1203,877],{"class":814},[790,1205,1206],{"class":894}," 0\n",[790,1208,1210],{"class":792,"line":1209},23,[790,1211,977],{"class":814},[790,1213,1215,1217,1220,1222,1224],{"class":792,"line":1214},24,[790,1216,841],{"class":814},[790,1218,1219],{"class":870},"metrics",[790,1221,874],{"class":814},[790,1223,877],{"class":814},[790,1225,880],{"class":814},[790,1227,1229,1231,1234,1236,1238,1240],{"class":792,"line":1228},25,[790,1230,885],{"class":814},[790,1232,1233],{"class":796},"markets_predicted",[790,1235,874],{"class":814},[790,1237,877],{"class":814},[790,1239,1157],{"class":894},[790,1241,898],{"class":814},[790,1243,1245,1247,1250,1252,1254,1256],{"class":792,"line":1244},26,[790,1246,885],{"class":814},[790,1248,1249],{"class":796},"win_rate_pct",[790,1251,874],{"class":814},[790,1253,877],{"class":814},[790,1255,1157],{"class":894},[790,1257,898],{"class":814},[790,1259,1261,1263,1266,1268,1270],{"class":792,"line":1260},27,[790,1262,885],{"class":814},[790,1264,1265],{"class":796},"lifetime_volume_minor",[790,1267,874],{"class":814},[790,1269,877],{"class":814},[790,1271,1206],{"class":894},[790,1273,1275],{"class":792,"line":1274},28,[790,1276,977],{"class":814},[790,1278,1280,1282,1285,1287,1289],{"class":792,"line":1279},29,[790,1281,841],{"class":814},[790,1283,1284],{"class":870},"positions",[790,1286,874],{"class":814},[790,1288,877],{"class":814},[790,1290,1291],{"class":814}," [],\n",[790,1293,1295,1297,1300,1302,1304],{"class":792,"line":1294},30,[790,1296,841],{"class":814},[790,1298,1299],{"class":870},"open_positions",[790,1301,874],{"class":814},[790,1303,877],{"class":814},[790,1305,1291],{"class":814},[790,1307,1309,1311,1314,1316,1318],{"class":792,"line":1308},31,[790,1310,841],{"class":814},[790,1312,1313],{"class":870},"resolved_positions",[790,1315,874],{"class":814},[790,1317,877],{"class":814},[790,1319,1291],{"class":814},[790,1321,1323,1325,1328,1330,1332],{"class":792,"line":1322},32,[790,1324,841],{"class":814},[790,1326,1327],{"class":870},"trade_history",[790,1329,874],{"class":814},[790,1331,877],{"class":814},[790,1333,880],{"class":814},[790,1335,1337,1339,1342,1344,1346],{"class":792,"line":1336},33,[790,1338,885],{"class":814},[790,1340,1341],{"class":796},"items",[790,1343,874],{"class":814},[790,1345,877],{"class":814},[790,1347,1291],{"class":814},[790,1349,1351,1353,1356,1358,1360],{"class":792,"line":1350},34,[790,1352,885],{"class":814},[790,1354,1355],{"class":796},"pagination",[790,1357,874],{"class":814},[790,1359,877],{"class":814},[790,1361,880],{"class":814},[790,1363,1365,1368,1370,1372,1374,1377],{"class":792,"line":1364},35,[790,1366,1367],{"class":814},"      \"",[790,1369,528],{"class":894},[790,1371,874],{"class":814},[790,1373,877],{"class":814},[790,1375,1376],{"class":894}," 1",[790,1378,898],{"class":814},[790,1380,1382,1384,1386,1388,1390,1393],{"class":792,"line":1381},36,[790,1383,1367],{"class":814},[790,1385,546],{"class":894},[790,1387,874],{"class":814},[790,1389,877],{"class":814},[790,1391,1392],{"class":894}," 20",[790,1394,898],{"class":814},[790,1396,1398,1400,1403,1405,1407,1409],{"class":792,"line":1397},37,[790,1399,1367],{"class":814},[790,1401,1402],{"class":894},"total",[790,1404,874],{"class":814},[790,1406,877],{"class":814},[790,1408,1157],{"class":894},[790,1410,898],{"class":814},[790,1412,1414,1416,1419,1421,1423],{"class":792,"line":1413},38,[790,1415,1367],{"class":814},[790,1417,1418],{"class":894},"total_pages",[790,1420,874],{"class":814},[790,1422,877],{"class":814},[790,1424,1425],{"class":894}," 1\n",[790,1427,1429],{"class":792,"line":1428},39,[790,1430,1431],{"class":814},"    },\n",[790,1433,1435,1437,1439,1441,1443],{"class":792,"line":1434},40,[790,1436,885],{"class":814},[790,1438,505],{"class":796},[790,1440,874],{"class":814},[790,1442,877],{"class":814},[790,1444,880],{"class":814},[790,1446,1448,1450,1453,1455,1457,1459,1461,1463],{"class":792,"line":1447},41,[790,1449,1367],{"class":814},[790,1451,1452],{"class":894},"by",[790,1454,874],{"class":814},[790,1456,877],{"class":814},[790,1458,815],{"class":814},[790,1460,749],{"class":800},[790,1462,874],{"class":814},[790,1464,898],{"class":814},[790,1466,1468,1470,1473,1475,1477,1479,1481],{"class":792,"line":1467},42,[790,1469,1367],{"class":814},[790,1471,1472],{"class":894},"direction",[790,1474,874],{"class":814},[790,1476,877],{"class":814},[790,1478,815],{"class":814},[790,1480,771],{"class":800},[790,1482,847],{"class":814},[790,1484,1486],{"class":792,"line":1485},43,[790,1487,1488],{"class":814},"    }\n",[790,1490,1492],{"class":792,"line":1491},44,[790,1493,977],{"class":814},[790,1495,1497,1499,1502,1504,1506],{"class":792,"line":1496},45,[790,1498,841],{"class":814},[790,1500,1501],{"class":870},"balance_mutations",[790,1503,874],{"class":814},[790,1505,877],{"class":814},[790,1507,880],{"class":814},[790,1509,1511,1513,1515,1517,1519],{"class":792,"line":1510},46,[790,1512,885],{"class":814},[790,1514,1341],{"class":796},[790,1516,874],{"class":814},[790,1518,877],{"class":814},[790,1520,1521],{"class":814}," [\n",[790,1523,1525],{"class":792,"line":1524},47,[790,1526,1527],{"class":814},"      {\n",[790,1529,1531,1534,1536,1538,1540,1543],{"class":792,"line":1530},48,[790,1532,1533],{"class":814},"        \"",[790,1535,572],{"class":894},[790,1537,874],{"class":814},[790,1539,877],{"class":814},[790,1541,1542],{"class":894}," 4321",[790,1544,898],{"class":814},[790,1546,1548,1550,1553,1555,1557],{"class":792,"line":1547},49,[790,1549,1533],{"class":814},[790,1551,1552],{"class":894},"market",[790,1554,874],{"class":814},[790,1556,877],{"class":814},[790,1558,880],{"class":814},[790,1560,1562,1565,1568,1570,1572,1575],{"class":792,"line":1561},50,[790,1563,1564],{"class":814},"          \"",[790,1566,572],{"class":1567},"swJcz",[790,1569,874],{"class":814},[790,1571,877],{"class":814},[790,1573,1574],{"class":894}," 123",[790,1576,898],{"class":814},[790,1578,1580,1582,1585,1587,1589,1591,1594,1596],{"class":792,"line":1579},51,[790,1581,1564],{"class":814},[790,1583,1584],{"class":1567},"slug",[790,1586,874],{"class":814},[790,1588,877],{"class":814},[790,1590,815],{"class":814},[790,1592,1593],{"class":800},"example-market",[790,1595,874],{"class":814},[790,1597,898],{"class":814},[790,1599,1601,1603,1606,1608,1610,1612,1615,1617],{"class":792,"line":1600},52,[790,1602,1564],{"class":814},[790,1604,1605],{"class":1567},"title",[790,1607,874],{"class":814},[790,1609,877],{"class":814},[790,1611,815],{"class":814},[790,1613,1614],{"class":800},"Will this market resolve Yes?",[790,1616,874],{"class":814},[790,1618,898],{"class":814},[790,1620,1622,1624,1627,1629,1631],{"class":792,"line":1621},53,[790,1623,1564],{"class":814},[790,1625,1626],{"class":1567},"translations",[790,1628,874],{"class":814},[790,1630,877],{"class":814},[790,1632,1633],{"class":814}," {}\n",[790,1635,1637],{"class":792,"line":1636},54,[790,1638,1639],{"class":814},"        },\n",[790,1641,1643,1645,1648,1650,1652,1654,1657,1659],{"class":792,"line":1642},55,[790,1644,1533],{"class":814},[790,1646,1647],{"class":894},"operation_type",[790,1649,874],{"class":814},[790,1651,877],{"class":814},[790,1653,815],{"class":814},[790,1655,1656],{"class":800},"trade",[790,1658,874],{"class":814},[790,1660,898],{"class":814},[790,1662,1664,1666,1668,1670,1672,1674,1677,1679],{"class":792,"line":1663},56,[790,1665,1533],{"class":814},[790,1667,1472],{"class":894},[790,1669,874],{"class":814},[790,1671,877],{"class":814},[790,1673,815],{"class":814},[790,1675,1676],{"class":800},"debit",[790,1678,874],{"class":814},[790,1680,898],{"class":814},[790,1682,1684,1686,1688,1690,1692,1694,1697,1699],{"class":792,"line":1683},57,[790,1685,1533],{"class":814},[790,1687,421],{"class":894},[790,1689,874],{"class":814},[790,1691,877],{"class":814},[790,1693,815],{"class":814},[790,1695,1696],{"class":800},"succeeded",[790,1698,874],{"class":814},[790,1700,898],{"class":814},[790,1702,1704,1706,1709,1711,1713,1716],{"class":792,"line":1703},58,[790,1705,1533],{"class":814},[790,1707,1708],{"class":894},"amount_minor",[790,1710,874],{"class":814},[790,1712,877],{"class":814},[790,1714,1715],{"class":894}," -50000",[790,1717,898],{"class":814},[790,1719,1721,1723,1725,1727,1729,1731,1733,1735],{"class":792,"line":1720},59,[790,1722,1533],{"class":814},[790,1724,1006],{"class":894},[790,1726,874],{"class":814},[790,1728,877],{"class":814},[790,1730,815],{"class":814},[790,1732,1015],{"class":800},[790,1734,874],{"class":814},[790,1736,898],{"class":814},[790,1738,1740,1742,1744,1746,1748,1750,1753],{"class":792,"line":1739},60,[790,1741,1533],{"class":814},[790,1743,605],{"class":894},[790,1745,874],{"class":814},[790,1747,877],{"class":814},[790,1749,815],{"class":814},[790,1751,1752],{"class":800},"2026-07-10T11:59:00.000Z",[790,1754,847],{"class":814},[790,1756,1758],{"class":792,"line":1757},61,[790,1759,1760],{"class":814},"      }\n",[790,1762,1764],{"class":792,"line":1763},62,[790,1765,1766],{"class":814},"    ],\n",[790,1768,1770,1772,1774,1776,1778],{"class":792,"line":1769},63,[790,1771,885],{"class":814},[790,1773,1355],{"class":796},[790,1775,874],{"class":814},[790,1777,877],{"class":814},[790,1779,880],{"class":814},[790,1781,1783,1785,1787,1789,1791,1793],{"class":792,"line":1782},64,[790,1784,1367],{"class":814},[790,1786,528],{"class":894},[790,1788,874],{"class":814},[790,1790,877],{"class":814},[790,1792,1376],{"class":894},[790,1794,898],{"class":814},[790,1796,1798,1800,1802,1804,1806,1808],{"class":792,"line":1797},65,[790,1799,1367],{"class":814},[790,1801,546],{"class":894},[790,1803,874],{"class":814},[790,1805,877],{"class":814},[790,1807,1392],{"class":894},[790,1809,898],{"class":814},[790,1811,1813,1815,1817,1819,1821,1823],{"class":792,"line":1812},66,[790,1814,1367],{"class":814},[790,1816,1402],{"class":894},[790,1818,874],{"class":814},[790,1820,877],{"class":814},[790,1822,1376],{"class":894},[790,1824,898],{"class":814},[790,1826,1828,1830,1832,1834,1836],{"class":792,"line":1827},67,[790,1829,1367],{"class":814},[790,1831,1418],{"class":894},[790,1833,874],{"class":814},[790,1835,877],{"class":814},[790,1837,1425],{"class":894},[790,1839,1841],{"class":792,"line":1840},68,[790,1842,1488],{"class":814},[790,1844,1846],{"class":792,"line":1845},69,[790,1847,1848],{"class":814},"  }\n",[790,1850,1852],{"class":792,"line":1851},70,[790,1853,1854],{"class":814},"}\n",[362,1856,1857],{},"Response details:",[565,1859,1860,1871,1882,1896,1902,1916,1925,1954,1969,1981,2002,2016,2030,2039],{},[568,1861,1862,1864,1865,1867,1868,1870],{},[373,1863,1284],{}," contains every operator-visible position used for Portfolio totals. ",[373,1866,1299],{}," and ",[373,1869,1313],{}," are convenience subsets of the same objects.",[568,1872,1873,1874,1877,1878,1881],{},"Position objects include market identity\u002Fstatus, labels\u002Ftranslations, shares, redeemed shares, BPS prices, raw ",[373,1875,1876],{},"yes_net_credits"," \u002F ",[373,1879,1880],{},"no_net_credits",", and operator-currency cost\u002Fvalue\u002FPnL fields.",[568,1883,1884,1885,433,1888,1891,1892,1895],{},"Use the explicit per-outcome cost fields: ",[373,1886,1887],{},"*_gross_cost_minor",[373,1889,1890],{},"*_fee_minor",", and ",[373,1893,1894],{},"*_net_cost_minor",". Gross cost is processed Mini App buy gross debits minus gross sell proceeds before fee. Fee is always non-negative. Net cost aggregates each trade after its fee: buy net is gross debit minus fee, while sell net is gross proceeds minus fee and remains negative in cost accounting. Because buy and sell fees move the signed net in opposite directions, mixed-flow aggregate net cost is not simply aggregate gross cost minus total fee. A negative gross\u002Fnet cost means cumulative sell proceeds exceed buy costs.",[568,1897,1898,1901],{},[373,1899,1900],{},"metrics.lifetime_volume_minor"," is the absolute sum of historical gross costs before fee across the operator user's processed Mini App trades. It uses stored operator-currency amounts and does not reconvert Credits at the current FX rate.",[568,1903,1904,1907,1908,1911,1912,1915],{},[373,1905,1906],{},"*_resolution_payout_minor"," uses the actual operator-currency amount credited for processed auto-redemptions. Current or pending winning shares use the same projected payout rules as the redemption worker: Credits flooring, current FX, and the operator FX fee. Processed payouts are never revalued at current FX. ",[373,1909,1910],{},"*_resolved_pnl_minor"," is resolution payout minus gross cost; therefore a losing outcome's PnL is exactly the negative gross cost. Open-only and resolved-only PnL fields are ",[373,1913,1914],{},"null"," outside their applicable market state.",[568,1917,1918,1877,1921,1924],{},[373,1919,1920],{},"yes_cost_minor",[373,1922,1923],{},"no_cost_minor"," remain backward-compatible legacy current-FX conversions. New integrations should use the explicit gross\u002Ffee\u002Fnet fields.",[568,1926,1927,1928,1931,1932,433,1934,433,1937,433,1940,1943,1944,1947,1948,1950,1951,1953],{},"Trade items include market context, side\u002Foutcome, decimal ",[373,1929,1930],{},"shares_delta",", legacy converted ",[373,1933,1708],{},[373,1935,1936],{},"gross_cost_minor",[373,1938,1939],{},"fee_minor",[373,1941,1942],{},"net_cost_minor",", raw ",[373,1945,1946],{},"fee_credits_total",", status, and timestamp. Trade cost fields use the same sign convention as positions: buys are positive costs; sells are negative proceeds. For sells, ",[373,1949,1936],{}," is proceeds before fee and ",[373,1952,1942],{}," is the smaller proceeds amount actually credited after fee.",[568,1955,1956,1958,1959,1962,1963,1965,1966,1968],{},[373,1957,1501],{}," is a bounded, latest-first (",[373,1960,1961],{},"created_at DESC",", then operation ID descending) projection of balance operations for this operator user. Items expose only operation ID, market identity\u002Ftitle\u002Ftranslations, derived ",[373,1964,1647],{},", direction, status, signed ",[373,1967,1708],{},", currency, and timestamp.",[568,1970,1971,1973,1974,1976,1977,1980],{},[373,1972,1647],{}," is ",[373,1975,1656],{}," when the operation has an order and ",[373,1978,1979],{},"resolution"," when it has a redemption item. No separate persisted type is required.",[568,1982,1983,1986,1987,1867,1989,1992,1993,1867,1996,1999,2000,441],{},[373,1984,1985],{},"balance_mutations.items[].amount_minor"," is the actual user balance effect: ",[373,1988,1676],{},[373,1990,1991],{},"credit_reversal"," are negative; ",[373,1994,1995],{},"credit",[373,1997,1998],{},"debit_reversal"," are positive. Currency comes from ",[373,2001,1006],{},[568,2003,2004,2005,2008,2009,2011,2012,2015],{},"All ",[373,2006,2007],{},"*_minor"," fields use ",[373,2010,1006],{},". Share fields use decimal shares. BPS fields use basis points. Fields ending in ",[373,2013,2014],{},"_credits"," remain Polynion Credits.",[568,2017,2018,2021,2022,2025,2026,2029],{},[373,2019,2020],{},"wallet.available: false"," means the balance could not be refreshed. Check ",[373,2023,2024],{},"wallet.unavailable_reason","; do not treat ",[373,2027,2028],{},"balance_minor: null"," as zero.",[568,2031,2032,2033,1867,2036,441],{},"Responses include ",[373,2034,2035],{},"Cache-Control: no-store",[373,2037,2038],{},"Vary: Authorization",[568,2040,2041,2044],{},[373,2042,2043],{},"404 OPERATOR_USER_NOT_FOUND"," means the external user id does not exist for the authenticated operator. This endpoint never creates it.",[366,2046,2048],{"id":2047},"internal-portfolio-html-inspection","Internal Portfolio HTML inspection",[362,2050,2051],{},[373,2052,2053],{},"GET \u002Fapi\u002Foperator\u002Fusers\u002Fportfolio-view",[362,2055,378,2056],{},[373,2057,381],{},[362,2059,2060],{},"Use this operator-internal endpoint when a backend needs ready-to-render HTML for inspecting an existing operator user's Portfolio. This is not a public or user-side launch flow. It is strictly read-only:",[565,2062,2063,2068,2071,2074,2077,2084,2091],{},[568,2064,2065,2066],{},"identifies an existing operator user by required ",[373,2067,462],{},[568,2069,2070],{},"never creates or updates an operator user",[568,2072,2073],{},"never resolves a Mini App launch host",[568,2075,2076],{},"never creates launch tokens or launch URLs",[568,2078,2079,2080,2083],{},"renders no CTA links or buttons; the Open table omits the entire ",[373,2081,2082],{},"Action"," column",[568,2085,2086,2087,2090],{},"adds a distinct ",[373,2088,2089],{},"Market ID"," header and plain integer cell to Open, Resolved, Trade History, and Balance Mutation",[568,2092,2093],{},"keeps market titles and Market IDs as plain text, never links",[628,2095,385],{"id":2096},"query-params-2",[390,2098,2099,2111],{},[393,2100,2101],{},[396,2102,2103,2105,2107,2109],{},[399,2104,401],{},[399,2106,404],{},[399,2108,407],{},[399,2110,410],{},[412,2112,2113,2128,2153,2169,2185,2201,2217,2235,2251],{},[396,2114,2115,2119,2121,2125],{},[417,2116,2117],{},[373,2118,462],{},[417,2120,424],{},[417,2122,2123],{},[658,2124,660],{},[417,2126,2127],{},"Stable operator-side user ID owned by the authenticated operator.",[396,2129,2130,2135,2137,2139],{},[417,2131,2132],{},[373,2133,2134],{},"tab",[417,2136,424],{},[417,2138,427],{},[417,2140,2141,515,2144,433,2147,437,2150,441],{},[373,2142,2143],{},"open",[373,2145,2146],{},"closed",[373,2148,2149],{},"history",[373,2151,2152],{},"balance",[396,2154,2155,2159,2161,2163],{},[417,2156,2157],{},[373,2158,670],{},[417,2160,531],{},[417,2162,427],{},[417,2164,536,2165,556,2167,441],{},[373,2166,539],{},[373,2168,681],{},[396,2170,2171,2175,2177,2179],{},[417,2172,2173],{},[373,2174,688],{},[417,2176,531],{},[417,2178,427],{},[417,2180,536,2181,556,2183,441],{},[373,2182,697],{},[373,2184,559],{},[396,2186,2187,2191,2193,2195],{},[417,2188,2189],{},[373,2190,706],{},[417,2192,531],{},[417,2194,427],{},[417,2196,536,2197,556,2199,441],{},[373,2198,539],{},[373,2200,681],{},[396,2202,2203,2207,2209,2211],{},[417,2204,2205],{},[373,2206,723],{},[417,2208,531],{},[417,2210,427],{},[417,2212,536,2213,556,2215,441],{},[373,2214,697],{},[373,2216,559],{},[396,2218,2219,2223,2225,2227],{},[417,2220,2221],{},[373,2222,740],{},[417,2224,424],{},[417,2226,427],{},[417,2228,2229,515,2231,437,2233,441],{},[373,2230,749],{},[373,2232,752],{},[373,2234,755],{},[396,2236,2237,2241,2243,2245],{},[417,2238,2239],{},[373,2240,762],{},[417,2242,424],{},[417,2244,427],{},[417,2246,2247,772,2249,441],{},[373,2248,771],{},[373,2250,775],{},[396,2252,2253,2258,2260,2262],{},[417,2254,2255],{},[373,2256,2257],{},"locale",[417,2259,424],{},[417,2261,427],{},[417,2263,2264,433,2267,433,2269,437,2272,2275],{},[373,2265,2266],{},"en",[373,2268,572],{},[373,2270,2271],{},"es",[373,2273,2274],{},"zh-CN","; defaults to the operator locale.",[628,2277,779],{"id":2278},"example-1",[781,2280,2282],{"className":783,"code":2281,"language":785,"meta":786,"style":786},"curl -sS -G \\\n  -H \"Authorization: Bearer ${OPERATOR_API_KEY}\" \\\n  --data-urlencode \"external_user_id=operator-user-123\" \\\n  --data-urlencode \"tab=open\" \\\n  --data-urlencode \"trade_page=1\" \\\n  --data-urlencode \"trade_page_size=20\" \\\n  \"https:\u002F\u002Fyour-beacon-origin.example.com\u002Fapi\u002Foperator\u002Fusers\u002Fportfolio-view\" \\\n  -o portfolio-inspection.html\n",[373,2283,2284,2295,2312,2326,2339,2352,2365,2376],{"__ignoreMap":786},[790,2285,2286,2288,2290,2293],{"class":792,"line":793},[790,2287,797],{"class":796},[790,2289,801],{"class":800},[790,2291,2292],{"class":800}," -G",[790,2294,805],{"class":804},[790,2296,2297,2299,2301,2303,2305,2308,2310],{"class":792,"line":808},[790,2298,811],{"class":800},[790,2300,815],{"class":814},[790,2302,818],{"class":800},[790,2304,821],{"class":814},[790,2306,2307],{"class":804},"OPERATOR_API_KEY",[790,2309,833],{"class":814},[790,2311,805],{"class":804},[790,2313,2314,2317,2319,2322,2324],{"class":792,"line":838},[790,2315,2316],{"class":800},"  --data-urlencode",[790,2318,815],{"class":814},[790,2320,2321],{"class":800},"external_user_id=operator-user-123",[790,2323,874],{"class":814},[790,2325,805],{"class":804},[790,2327,2328,2330,2332,2335,2337],{"class":792,"line":901},[790,2329,2316],{"class":800},[790,2331,815],{"class":814},[790,2333,2334],{"class":800},"tab=open",[790,2336,874],{"class":814},[790,2338,805],{"class":804},[790,2340,2341,2343,2345,2348,2350],{"class":792,"line":921},[790,2342,2316],{"class":800},[790,2344,815],{"class":814},[790,2346,2347],{"class":800},"trade_page=1",[790,2349,874],{"class":814},[790,2351,805],{"class":804},[790,2353,2354,2356,2358,2361,2363],{"class":792,"line":937},[790,2355,2316],{"class":800},[790,2357,815],{"class":814},[790,2359,2360],{"class":800},"trade_page_size=20",[790,2362,874],{"class":814},[790,2364,805],{"class":804},[790,2366,2367,2369,2372,2374],{"class":792,"line":957},[790,2368,841],{"class":814},[790,2370,2371],{"class":800},"https:\u002F\u002Fyour-beacon-origin.example.com\u002Fapi\u002Foperator\u002Fusers\u002Fportfolio-view",[790,2373,874],{"class":814},[790,2375,805],{"class":804},[790,2377,2378,2381],{"class":792,"line":974},[790,2379,2380],{"class":800},"  -o",[790,2382,2383],{"class":800}," portfolio-inspection.html\n",[362,2385,2386],{},"Response headers:",[781,2388,2392],{"className":2389,"code":2390,"language":2391,"meta":786,"style":786},"language-http shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Content-Type: text\u002Fhtml; charset=utf-8\nCache-Control: no-store\nX-Robots-Tag: noindex, nofollow\nVary: Authorization\n","http",[373,2393,2394,2399,2404,2409],{"__ignoreMap":786},[790,2395,2396],{"class":792,"line":793},[790,2397,2398],{},"Content-Type: text\u002Fhtml; charset=utf-8\n",[790,2400,2401],{"class":792,"line":808},[790,2402,2403],{},"Cache-Control: no-store\n",[790,2405,2406],{"class":792,"line":838},[790,2407,2408],{},"X-Robots-Tag: noindex, nofollow\n",[790,2410,2411],{"class":792,"line":901},[790,2412,2413],{},"Vary: Authorization\n",[628,2415,2417],{"id":2416},"errors-and-integration-rules","Errors and integration rules",[565,2419,2420,2429,2434,2450,2453,2456],{},[568,2421,2422,2425,2426,2428],{},[373,2423,2424],{},"400 INVALID_EXTERNAL_USER_ID"," means ",[373,2427,462],{}," is missing, blank, or invalid.",[568,2430,2431,2433],{},[373,2432,2043],{}," means that external user does not exist for the authenticated operator. The endpoint does not create it.",[568,2435,2436,2437,2440,2441,433,2444,437,2447,441],{},"Invalid enum or pagination controls return ",[373,2438,2439],{},"400 INVALID_\u003CQUERY_PARAMETER>",", for example ",[373,2442,2443],{},"INVALID_TAB",[373,2445,2446],{},"INVALID_LOCALE",[373,2448,2449],{},"INVALID_TRADE_PAGE_SIZE",[568,2451,2452],{},"Call this endpoint from a trusted backend only. Never expose an operator API key in browser code.",[568,2454,2455],{},"Do not cache the returned HTML. Stream it to an internal operator surface or render it in a sandboxed frame.",[568,2457,2458],{},"Do not use this endpoint to launch the Mini App. Use the launch-capable POST endpoint below only when short-lived Trade launch links are required.",[366,2460,2462],{"id":2461},"launch-capable-portfolio-html-view","Launch-capable Portfolio HTML view",[362,2464,2465],{},[373,2466,2467],{},"POST \u002Fapi\u002Foperator\u002Fusers\u002Fportfolio-view",[362,2469,2470,2471,1867,2473],{},"Required scopes: ",[373,2472,381],{},[373,2474,2475],{},"launch:write",[362,2477,2478,2479,2482],{},"This endpoint returns ",[373,2480,2481],{},"text\u002Fhtml",", not JSON. Use it when your backend needs a ready-to-render, view-only Portfolio view for one operator user with the same main sections as the Mini App Portfolio page:",[565,2484,2485,2490,2495,2500,2505],{},[568,2486,2487],{},[373,2488,2489],{},"Open",[568,2491,2492],{},[373,2493,2494],{},"Resolved",[568,2496,2497],{},[373,2498,2499],{},"Trade History",[568,2501,2502],{},[373,2503,2504],{},"Balance Mutation",[568,2506,2507],{},"balance, portfolio value, and portfolio metrics",[362,2509,2510],{},"The rendered view is intentionally not a general navigation surface:",[565,2512,2513,2516,2519,2526,2535,2538,2541],{},[568,2514,2515],{},"market titles are plain text, not links",[568,2517,2518],{},"trade-history market titles are plain text, not links",[568,2520,2521,2522,2525],{},"open-position ",[373,2523,2524],{},"Trade"," buttons are single-use Mini App launch links that redirect to the matching market after launch",[568,2527,2528,2529,2532,2533,2083],{},"resolved positions show both the user's bought outcome and the market's winning ",[373,2530,2531],{},"Resolution","; redemption is automatic, so the Resolved table has no ",[373,2534,2082],{},[568,2536,2537],{},"Open, Resolved, and Trade History show gross cost, fee, and net cost in the authenticated operator's configured currency; resolved PnL uses gross cost",[568,2539,2540],{},"Balance Mutation shows Timestamp, Market, Type, Status, and Amount. Amount is the signed user balance effect in operator-currency minor units: debits and credit reversals are red\u002Fnegative; credits and debit reversals are green\u002Fpositive.",[568,2542,2543,2544,2547,2548,2551],{},"Balance Mutation timestamps retain their ISO instant in ",[373,2545,2546],{},"\u003Ctime datetime>"," markup. The inline client script renders ",[373,2549,2550],{},"DD Month YYYY, HH:mm:ss"," in the viewing browser's local timezone; the initial no-script fallback is deterministic UTC text and is not presented as browser-local.",[628,2553,2555],{"id":2554},"request-body","Request body",[781,2557,2559],{"className":854,"code":2558,"language":856,"meta":786,"style":786},"{\n  \"launch_parameters\": {\n    \"external_user_id\": \"operator-user-123\",\n    \"display_name\": \"Rina\",\n    \"locale\": \"id\",\n    \"metadata\": {}\n  },\n  \"tab\": \"open\",\n  \"trade_page\": 1,\n  \"trade_page_size\": 20,\n  \"balance_page\": 1,\n  \"balance_page_size\": 20,\n  \"trade_sort_by\": \"createdAt\",\n  \"trade_sort_direction\": \"desc\"\n}\n",[373,2560,2561,2565,2578,2596,2614,2632,2644,2648,2666,2680,2694,2708,2722,2740,2756],{"__ignoreMap":786},[790,2562,2563],{"class":792,"line":793},[790,2564,863],{"class":814},[790,2566,2567,2569,2572,2574,2576],{"class":792,"line":808},[790,2568,841],{"class":814},[790,2570,2571],{"class":870},"launch_parameters",[790,2573,874],{"class":814},[790,2575,877],{"class":814},[790,2577,880],{"class":814},[790,2579,2580,2582,2584,2586,2588,2590,2592,2594],{"class":792,"line":838},[790,2581,885],{"class":814},[790,2583,462],{"class":796},[790,2585,874],{"class":814},[790,2587,877],{"class":814},[790,2589,815],{"class":814},[790,2591,914],{"class":800},[790,2593,874],{"class":814},[790,2595,898],{"class":814},[790,2597,2598,2600,2602,2604,2606,2608,2610,2612],{"class":792,"line":901},[790,2599,885],{"class":814},[790,2601,586],{"class":796},[790,2603,874],{"class":814},[790,2605,877],{"class":814},[790,2607,815],{"class":814},[790,2609,950],{"class":800},[790,2611,874],{"class":814},[790,2613,898],{"class":814},[790,2615,2616,2618,2620,2622,2624,2626,2628,2630],{"class":792,"line":921},[790,2617,885],{"class":814},[790,2619,2257],{"class":796},[790,2621,874],{"class":814},[790,2623,877],{"class":814},[790,2625,815],{"class":814},[790,2627,572],{"class":800},[790,2629,874],{"class":814},[790,2631,898],{"class":814},[790,2633,2634,2636,2638,2640,2642],{"class":792,"line":937},[790,2635,885],{"class":814},[790,2637,595],{"class":796},[790,2639,874],{"class":814},[790,2641,877],{"class":814},[790,2643,1633],{"class":814},[790,2645,2646],{"class":792,"line":957},[790,2647,977],{"class":814},[790,2649,2650,2652,2654,2656,2658,2660,2662,2664],{"class":792,"line":974},[790,2651,841],{"class":814},[790,2653,2134],{"class":870},[790,2655,874],{"class":814},[790,2657,877],{"class":814},[790,2659,815],{"class":814},[790,2661,2143],{"class":800},[790,2663,874],{"class":814},[790,2665,898],{"class":814},[790,2667,2668,2670,2672,2674,2676,2678],{"class":792,"line":980},[790,2669,841],{"class":814},[790,2671,670],{"class":870},[790,2673,874],{"class":814},[790,2675,877],{"class":814},[790,2677,1376],{"class":894},[790,2679,898],{"class":814},[790,2681,2682,2684,2686,2688,2690,2692],{"class":792,"line":1001},[790,2683,841],{"class":814},[790,2685,688],{"class":870},[790,2687,874],{"class":814},[790,2689,877],{"class":814},[790,2691,1392],{"class":894},[790,2693,898],{"class":814},[790,2695,2696,2698,2700,2702,2704,2706],{"class":792,"line":1022},[790,2697,841],{"class":814},[790,2699,706],{"class":870},[790,2701,874],{"class":814},[790,2703,877],{"class":814},[790,2705,1376],{"class":894},[790,2707,898],{"class":814},[790,2709,2710,2712,2714,2716,2718,2720],{"class":792,"line":1036},[790,2711,841],{"class":814},[790,2713,723],{"class":870},[790,2715,874],{"class":814},[790,2717,877],{"class":814},[790,2719,1392],{"class":894},[790,2721,898],{"class":814},[790,2723,2724,2726,2728,2730,2732,2734,2736,2738],{"class":792,"line":1057},[790,2725,841],{"class":814},[790,2727,740],{"class":870},[790,2729,874],{"class":814},[790,2731,877],{"class":814},[790,2733,815],{"class":814},[790,2735,749],{"class":800},[790,2737,874],{"class":814},[790,2739,898],{"class":814},[790,2741,2742,2744,2746,2748,2750,2752,2754],{"class":792,"line":1076},[790,2743,841],{"class":814},[790,2745,762],{"class":870},[790,2747,874],{"class":814},[790,2749,877],{"class":814},[790,2751,815],{"class":814},[790,2753,771],{"class":800},[790,2755,847],{"class":814},[790,2757,2758],{"class":792,"line":1093},[790,2759,1854],{"class":814},[362,2761,2762,2764,2765,877],{},[373,2763,2571],{}," is required and uses the same fields as ",[373,2766,2767],{},"POST \u002Fapi\u002Foperator\u002Flaunch",[390,2769,2770,2786],{},[393,2771,2772],{},[396,2773,2774,2779,2781,2783],{},[399,2775,2776,2778],{},[373,2777,2571],{}," field",[399,2780,404],{},[399,2782,407],{},[399,2784,2785],{},"Notes",[412,2787,2788,2803,2816,2837,2851],{},[396,2789,2790,2794,2796,2800],{},[417,2791,2792],{},[373,2793,462],{},[417,2795,424],{},[417,2797,2798],{},[658,2799,660],{},[417,2801,2802],{},"Stable operator-side user ID. The endpoint upserts this operator user before rendering.",[396,2804,2805,2809,2811,2813],{},[417,2806,2807],{},[373,2808,586],{},[417,2810,424],{},[417,2812,427],{},[417,2814,2815],{},"Latest display-name snapshot.",[396,2817,2818,2822,2824,2826],{},[417,2819,2820],{},[373,2821,2257],{},[417,2823,424],{},[417,2825,427],{},[417,2827,2828,2829,433,2831,433,2833,437,2835,441],{},"Default Portfolio locale. Use ",[373,2830,2266],{},[373,2832,572],{},[373,2834,2271],{},[373,2836,2274],{},[396,2838,2839,2844,2846,2848],{},[417,2840,2841],{},[373,2842,2843],{},"host",[417,2845,424],{},[417,2847,427],{},[417,2849,2850],{},"Must be active and allowed for the operator. Omit unless the Provider assigned one.",[396,2852,2853,2857,2860,2862],{},[417,2854,2855],{},[373,2856,595],{},[417,2858,2859],{},"object",[417,2861,427],{},[417,2863,2864],{},"Merged into operator-user metadata.",[362,2866,2867],{},"View options:",[390,2869,2870,2883],{},[393,2871,2872],{},[396,2873,2874,2877,2879,2881],{},[399,2875,2876],{},"Field",[399,2878,404],{},[399,2880,407],{},[399,2882,410],{},[412,2884,2885,2905,2921,2937,2953,2969,2987,3003],{},[396,2886,2887,2891,2893,2895],{},[417,2888,2889],{},[373,2890,2134],{},[417,2892,424],{},[417,2894,427],{},[417,2896,2897,515,2899,433,2901,437,2903,441],{},[373,2898,2143],{},[373,2900,2146],{},[373,2902,2149],{},[373,2904,2152],{},[396,2906,2907,2911,2913,2915],{},[417,2908,2909],{},[373,2910,670],{},[417,2912,531],{},[417,2914,427],{},[417,2916,536,2917,556,2919,441],{},[373,2918,539],{},[373,2920,681],{},[396,2922,2923,2927,2929,2931],{},[417,2924,2925],{},[373,2926,688],{},[417,2928,531],{},[417,2930,427],{},[417,2932,536,2933,556,2935,441],{},[373,2934,697],{},[373,2936,559],{},[396,2938,2939,2943,2945,2947],{},[417,2940,2941],{},[373,2942,706],{},[417,2944,531],{},[417,2946,427],{},[417,2948,536,2949,556,2951,441],{},[373,2950,539],{},[373,2952,681],{},[396,2954,2955,2959,2961,2963],{},[417,2956,2957],{},[373,2958,723],{},[417,2960,531],{},[417,2962,427],{},[417,2964,536,2965,556,2967,441],{},[373,2966,697],{},[373,2968,559],{},[396,2970,2971,2975,2977,2979],{},[417,2972,2973],{},[373,2974,740],{},[417,2976,424],{},[417,2978,427],{},[417,2980,2981,515,2983,437,2985,441],{},[373,2982,749],{},[373,2984,752],{},[373,2986,755],{},[396,2988,2989,2993,2995,2997],{},[417,2990,2991],{},[373,2992,762],{},[417,2994,424],{},[417,2996,427],{},[417,2998,2999,772,3001,441],{},[373,3000,771],{},[373,3002,775],{},[396,3004,3005,3009,3011,3013],{},[417,3006,3007],{},[373,3008,2257],{},[417,3010,424],{},[417,3012,427],{},[417,3014,3015,3016,3019],{},"Overrides ",[373,3017,3018],{},"launch_parameters.locale"," for the rendered document only.",[628,3021,779],{"id":3022},"example-2",[781,3024,3026],{"className":783,"code":3025,"language":785,"meta":786,"style":786},"curl -sS \\\n  -X POST \\\n  -H \"Authorization: Bearer ${OPERATOR_API_KEY}\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"launch_parameters\": {\n      \"external_user_id\": \"operator-user-123\",\n      \"display_name\": \"Rina\",\n      \"locale\": \"id\",\n      \"metadata\": {}\n    },\n    \"tab\": \"balance\"\n  }' \\\n  \"https:\u002F\u002Fyour-beacon-origin.example.com\u002Fapi\u002Foperator\u002Fusers\u002Fportfolio-view\" \\\n  -o portfolio.html\n",[373,3027,3028,3036,3046,3062,3075,3085,3090,3095,3100,3105,3110,3114,3119,3129,3139],{"__ignoreMap":786},[790,3029,3030,3032,3034],{"class":792,"line":793},[790,3031,797],{"class":796},[790,3033,801],{"class":800},[790,3035,805],{"class":804},[790,3037,3038,3041,3044],{"class":792,"line":808},[790,3039,3040],{"class":800},"  -X",[790,3042,3043],{"class":800}," POST",[790,3045,805],{"class":804},[790,3047,3048,3050,3052,3054,3056,3058,3060],{"class":792,"line":838},[790,3049,811],{"class":800},[790,3051,815],{"class":814},[790,3053,818],{"class":800},[790,3055,821],{"class":814},[790,3057,2307],{"class":804},[790,3059,833],{"class":814},[790,3061,805],{"class":804},[790,3063,3064,3066,3068,3071,3073],{"class":792,"line":901},[790,3065,811],{"class":800},[790,3067,815],{"class":814},[790,3069,3070],{"class":800},"Content-Type: application\u002Fjson",[790,3072,874],{"class":814},[790,3074,805],{"class":804},[790,3076,3077,3080,3083],{"class":792,"line":921},[790,3078,3079],{"class":800},"  -d",[790,3081,3082],{"class":814}," '",[790,3084,863],{"class":800},[790,3086,3087],{"class":792,"line":937},[790,3088,3089],{"class":800},"    \"launch_parameters\": {\n",[790,3091,3092],{"class":792,"line":957},[790,3093,3094],{"class":800},"      \"external_user_id\": \"operator-user-123\",\n",[790,3096,3097],{"class":792,"line":974},[790,3098,3099],{"class":800},"      \"display_name\": \"Rina\",\n",[790,3101,3102],{"class":792,"line":980},[790,3103,3104],{"class":800},"      \"locale\": \"id\",\n",[790,3106,3107],{"class":792,"line":1001},[790,3108,3109],{"class":800},"      \"metadata\": {}\n",[790,3111,3112],{"class":792,"line":1022},[790,3113,1431],{"class":800},[790,3115,3116],{"class":792,"line":1036},[790,3117,3118],{"class":800},"    \"tab\": \"balance\"\n",[790,3120,3121,3124,3127],{"class":792,"line":1057},[790,3122,3123],{"class":800},"  }",[790,3125,3126],{"class":814},"'",[790,3128,805],{"class":804},[790,3130,3131,3133,3135,3137],{"class":792,"line":1076},[790,3132,841],{"class":814},[790,3134,2371],{"class":800},[790,3136,874],{"class":814},[790,3138,805],{"class":804},[790,3140,3141,3143],{"class":792,"line":1093},[790,3142,2380],{"class":800},[790,3144,3145],{"class":800}," portfolio.html\n",[362,3147,3148],{},"Response headers include:",[781,3150,3151],{"className":2389,"code":2390,"language":2391,"meta":786,"style":786},[373,3152,3153,3157,3161,3165],{"__ignoreMap":786},[790,3154,3155],{"class":792,"line":793},[790,3156,2398],{},[790,3158,3159],{"class":792,"line":808},[790,3160,2403],{},[790,3162,3163],{"class":792,"line":838},[790,3164,2408],{},[790,3166,3167],{"class":792,"line":901},[790,3168,2413],{},[628,3170,3172],{"id":3171},"integration-rules","Integration rules",[565,3174,3175,3178,3181,3184,3192,3201],{},[568,3176,3177],{},"Call this endpoint from your backend only. Never expose an operator API key in browser code.",[568,3179,3180],{},"Stream or inject the returned HTML into your server-rendered page.",[568,3182,3183],{},"Do not cache the returned HTML; balances, positions, and embedded launch links are user-specific and time-sensitive.",[568,3185,3186,3188,3189,3191],{},[373,3187,2524],{}," links contain single-use launch tokens with the same short TTL as ",[373,3190,2767],{},"; refresh the Portfolio HTML when the page is stale.",[568,3193,3194,3197,3198,3200],{},[373,3195,3196],{},"400 INVALID_LAUNCH_PARAMETERS"," means the required ",[373,3199,2571],{}," object is missing or invalid.",[568,3202,3203,2425,3206,3209],{},[373,3204,3205],{},"400 INVALID_OPERATOR_HOST",[373,3207,3208],{},"launch_parameters.host"," does not belong to the operator.",[628,3211,3213],{"id":3212},"dashboard-playground-behavior","Dashboard Playground behavior",[362,3215,3216,3217,3220,3221,3224,3225,3228,3229,3232],{},"The Operator Dashboard API Playground keeps the exact response available in ",[658,3218,3219],{},"Raw"," and renders ",[658,3222,3223],{},"Preview"," only inside a sandboxed ",[373,3226,3227],{},"iframe srcdoc",". Preview injects a restrictive CSP, does not grant ",[373,3230,3231],{},"allow-same-origin",", cannot access dashboard cookies or the parent DOM, and permits Trade links only as normal new tabs. This preview is an operator troubleshooting aid; backend integrations must continue to call the endpoint server-side.",[3234,3235,3236],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":786,"searchDepth":808,"depth":808,"links":3238},[3239,3240,3241,3242,3247,3252],{"id":368,"depth":808,"text":369},{"id":384,"depth":808,"text":385},{"id":562,"depth":808,"text":563},{"id":613,"depth":808,"text":614,"children":3243},[3244,3245,3246],{"id":630,"depth":838,"text":385},{"id":778,"depth":838,"text":779},{"id":850,"depth":838,"text":851},{"id":2047,"depth":808,"text":2048,"children":3248},[3249,3250,3251],{"id":2096,"depth":838,"text":385},{"id":2278,"depth":838,"text":779},{"id":2416,"depth":838,"text":2417},{"id":2461,"depth":808,"text":2462,"children":3253},[3254,3255,3256,3257],{"id":2554,"depth":838,"text":2555},{"id":3022,"depth":838,"text":779},{"id":3171,"depth":838,"text":3172},{"id":3212,"depth":838,"text":3213},"Query operator users created through the Mini App integration.","md",null,{},true,{"title":122,"description":3258},"pnQP-tztTq3VhCOPKq47RC42ULGoTEDd-z9MSY65S84",[3266,3268],{"title":203,"path":204,"stem":205,"description":3267,"children":-1},"Generate a launch URL for an operator user.",{"title":210,"path":211,"stem":212,"description":3269,"children":-1},"Query eligible markets and manage operator visibility.",1789570133088]