[{"data":1,"prerenderedAt":1126},["ShallowReactive",2],{"navigation_docs":3,"-docs-webhooks-event-types":268,"-docs-webhooks-event-types-surround":1121},[4,22,35,56,80,135,170,198,222,243],{"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},"Integration Flow","\u002Fdocs\u002Fintegration-flow","docs\u002F2.integration-flow",[40,44,48,52],{"title":41,"path":42,"stem":43},"Architecture","\u002Fdocs\u002Fintegration-flow\u002Farchitecture","docs\u002F2.integration-flow\u002F1.architecture",{"title":45,"path":46,"stem":47},"Launch session model","\u002Fdocs\u002Fintegration-flow\u002Flaunch-session-model","docs\u002F2.integration-flow\u002F2.launch-session-model",{"title":49,"path":50,"stem":51},"Order and wallet saga","\u002Fdocs\u002Fintegration-flow\u002Forder-and-wallet-saga","docs\u002F2.integration-flow\u002F3.order-and-wallet-saga",{"title":53,"path":54,"stem":55},"FX fees and rounding","\u002Fdocs\u002Fintegration-flow\u002Ffx-fees-and-rounding","docs\u002F2.integration-flow\u002F4.fx-fees-and-rounding",{"title":57,"path":58,"stem":59,"children":60,"page":21},"Dashboard","\u002Fdocs\u002Fdashboard","docs\u002F3.dashboard",[61,64,68,72,76],{"title":10,"path":62,"stem":63},"\u002Fdocs\u002Fdashboard\u002Foverview","docs\u002F3.dashboard\u002F1.overview",{"title":65,"path":66,"stem":67},"API keys","\u002Fdocs\u002Fdashboard\u002Fapi-keys","docs\u002F3.dashboard\u002F2.api-keys",{"title":69,"path":70,"stem":71},"Wallet adapter settings","\u002Fdocs\u002Fdashboard\u002Fwallet-adapter-settings","docs\u002F3.dashboard\u002F3.wallet-adapter-settings",{"title":73,"path":74,"stem":75},"Webhook endpoints","\u002Fdocs\u002Fdashboard\u002Fwebhook-endpoints","docs\u002F3.dashboard\u002F4.webhook-endpoints",{"title":77,"path":78,"stem":79},"Market visibility","\u002Fdocs\u002Fdashboard\u002Fmarket-visibility","docs\u002F3.dashboard\u002F5.market-visibility",{"title":81,"path":82,"stem":83,"children":84,"page":21},"Operator Api","\u002Fdocs\u002Foperator-api","docs\u002F4.operator-api",[85,89,92,96,100,104,107,111,115,119,123,127,131],{"title":86,"path":87,"stem":88},"Authentication","\u002Fdocs\u002Foperator-api\u002Fauthentication","docs\u002F4.operator-api\u002F1.authentication",{"title":73,"path":90,"stem":91},"\u002Fdocs\u002Foperator-api\u002Fwebhook-endpoints","docs\u002F4.operator-api\u002F10.webhook-endpoints",{"title":93,"path":94,"stem":95},"Webhook deliveries","\u002Fdocs\u002Foperator-api\u002Fwebhook-deliveries","docs\u002F4.operator-api\u002F11.webhook-deliveries",{"title":97,"path":98,"stem":99},"Simulator","\u002Fdocs\u002Foperator-api\u002Fsimulator","docs\u002F4.operator-api\u002F12.simulator",{"title":101,"path":102,"stem":103},"Error codes","\u002Fdocs\u002Foperator-api\u002Ferror-codes","docs\u002F4.operator-api\u002F13.error-codes",{"title":65,"path":105,"stem":106},"\u002Fdocs\u002Foperator-api\u002Fapi-keys","docs\u002F4.operator-api\u002F2.api-keys",{"title":108,"path":109,"stem":110},"Session","\u002Fdocs\u002Foperator-api\u002Fsession","docs\u002F4.operator-api\u002F3.session",{"title":112,"path":113,"stem":114},"Launch","\u002Fdocs\u002Foperator-api\u002Flaunch","docs\u002F4.operator-api\u002F4.launch",{"title":116,"path":117,"stem":118},"Users","\u002Fdocs\u002Foperator-api\u002Fusers","docs\u002F4.operator-api\u002F5.users",{"title":120,"path":121,"stem":122},"Markets","\u002Fdocs\u002Foperator-api\u002Fmarkets","docs\u002F4.operator-api\u002F6.markets",{"title":124,"path":125,"stem":126},"Trades","\u002Fdocs\u002Foperator-api\u002Ftrades","docs\u002F4.operator-api\u002F7.trades",{"title":128,"path":129,"stem":130},"Redemptions","\u002Fdocs\u002Foperator-api\u002Fredemptions","docs\u002F4.operator-api\u002F8.redemptions",{"title":132,"path":133,"stem":134},"Balance operations","\u002Fdocs\u002Foperator-api\u002Fbalance-operations","docs\u002F4.operator-api\u002F9.balance-operations",{"title":136,"path":137,"stem":138,"children":139,"page":21},"Wallet Adapter","\u002Fdocs\u002Fwallet-adapter","docs\u002F5.wallet-adapter",[140,143,146,150,154,158,162,166],{"title":10,"path":141,"stem":142},"\u002Fdocs\u002Fwallet-adapter\u002Foverview","docs\u002F5.wallet-adapter\u002F1.overview",{"title":86,"path":144,"stem":145},"\u002Fdocs\u002Fwallet-adapter\u002Fauthentication","docs\u002F5.wallet-adapter\u002F2.authentication",{"title":147,"path":148,"stem":149},"Balance","\u002Fdocs\u002Fwallet-adapter\u002Fbalance","docs\u002F5.wallet-adapter\u002F3.balance",{"title":151,"path":152,"stem":153},"Debit","\u002Fdocs\u002Fwallet-adapter\u002Fdebit","docs\u002F5.wallet-adapter\u002F4.debit",{"title":155,"path":156,"stem":157},"Credit","\u002Fdocs\u002Fwallet-adapter\u002Fcredit","docs\u002F5.wallet-adapter\u002F5.credit",{"title":159,"path":160,"stem":161},"Debit reversal","\u002Fdocs\u002Fwallet-adapter\u002Fdebit-reversal","docs\u002F5.wallet-adapter\u002F6.debit-reversal",{"title":163,"path":164,"stem":165},"Operation lookup","\u002Fdocs\u002Fwallet-adapter\u002Foperation-lookup","docs\u002F5.wallet-adapter\u002F7.operation-lookup",{"title":167,"path":168,"stem":169},"Idempotency","\u002Fdocs\u002Fwallet-adapter\u002Fidempotency","docs\u002F5.wallet-adapter\u002F8.idempotency",{"title":171,"path":172,"stem":173,"children":174,"page":21},"Webhooks","\u002Fdocs\u002Fwebhooks","docs\u002F6.webhooks",[175,178,182,186,190,194],{"title":10,"path":176,"stem":177},"\u002Fdocs\u002Fwebhooks\u002Foverview","docs\u002F6.webhooks\u002F1.overview",{"title":179,"path":180,"stem":181},"Signatures","\u002Fdocs\u002Fwebhooks\u002Fsignatures","docs\u002F6.webhooks\u002F2.signatures",{"title":183,"path":184,"stem":185},"Event envelope","\u002Fdocs\u002Fwebhooks\u002Fevent-envelope","docs\u002F6.webhooks\u002F3.event-envelope",{"title":187,"path":188,"stem":189},"Event types","\u002Fdocs\u002Fwebhooks\u002Fevent-types","docs\u002F6.webhooks\u002F4.event-types",{"title":191,"path":192,"stem":193},"Retry and replay","\u002Fdocs\u002Fwebhooks\u002Fretry-and-replay","docs\u002F6.webhooks\u002F5.retry-and-replay",{"title":195,"path":196,"stem":197},"Receiver examples","\u002Fdocs\u002Fwebhooks\u002Freceiver-examples","docs\u002F6.webhooks\u002F6.receiver-examples",{"title":199,"path":200,"stem":201,"children":202,"page":21},"Testing And Staging","\u002Fdocs\u002Ftesting-and-staging","docs\u002F7.testing-and-staging",[203,207,210,214,218],{"title":204,"path":205,"stem":206},"Staging overview","\u002Fdocs\u002Ftesting-and-staging\u002Fstaging-overview","docs\u002F7.testing-and-staging\u002F1.staging-overview",{"title":97,"path":208,"stem":209},"\u002Fdocs\u002Ftesting-and-staging\u002Fsimulator","docs\u002F7.testing-and-staging\u002F2.simulator",{"title":211,"path":212,"stem":213},"Wallet failure drills","\u002Fdocs\u002Ftesting-and-staging\u002Fwallet-failure-drills","docs\u002F7.testing-and-staging\u002F3.wallet-failure-drills",{"title":215,"path":216,"stem":217},"Webhook drills","\u002Fdocs\u002Ftesting-and-staging\u002Fwebhook-drills","docs\u002F7.testing-and-staging\u002F4.webhook-drills",{"title":219,"path":220,"stem":221},"Production cutover rehearsal","\u002Fdocs\u002Ftesting-and-staging\u002Fproduction-cutover-rehearsal","docs\u002F7.testing-and-staging\u002F5.production-cutover-rehearsal",{"title":223,"path":224,"stem":225,"children":226,"page":21},"Production Readiness","\u002Fdocs\u002Fproduction-readiness","docs\u002F8.production-readiness",[227,231,235,239],{"title":228,"path":229,"stem":230},"Checklist","\u002Fdocs\u002Fproduction-readiness\u002Fchecklist","docs\u002F8.production-readiness\u002F1.checklist",{"title":232,"path":233,"stem":234},"Operational runbook","\u002Fdocs\u002Fproduction-readiness\u002Foperational-runbook","docs\u002F8.production-readiness\u002F2.operational-runbook",{"title":236,"path":237,"stem":238},"Security","\u002Fdocs\u002Fproduction-readiness\u002Fsecurity","docs\u002F8.production-readiness\u002F3.security",{"title":240,"path":241,"stem":242},"Rollback","\u002Fdocs\u002Fproduction-readiness\u002Frollback","docs\u002F8.production-readiness\u002F4.rollback",{"title":244,"path":245,"stem":246,"children":247,"page":21},"Reference","\u002Fdocs\u002Freference","docs\u002F9.reference",[248,252,256,260,264],{"title":249,"path":250,"stem":251},"Statuses","\u002Fdocs\u002Freference\u002Fstatuses","docs\u002F9.reference\u002F1.statuses",{"title":253,"path":254,"stem":255},"Scopes","\u002Fdocs\u002Freference\u002Fscopes","docs\u002F9.reference\u002F2.scopes",{"title":257,"path":258,"stem":259},"Units and money","\u002Fdocs\u002Freference\u002Funits-and-money","docs\u002F9.reference\u002F3.units-and-money",{"title":261,"path":262,"stem":263},"Changelog","\u002Fdocs\u002Freference\u002Fchangelog","docs\u002F9.reference\u002F4.changelog",{"title":265,"path":266,"stem":267},"Virtual AMM","\u002Fdocs\u002Freference\u002Fvirtual-amm","docs\u002F9.reference\u002F5.virtual-amm",{"id":269,"title":187,"body":270,"description":1114,"extension":1115,"links":1116,"meta":1117,"navigation":1118,"path":188,"seo":1119,"stem":189,"__hash__":1120},"docs\u002Fdocs\u002F6.webhooks\u002F4.event-types.md",{"type":271,"value":272,"toc":1098},"minimark",[273,277,286,291,345,349,355,361,366,371,376,379,612,617,620,747,752,755,863,868,873,878,883,888,891,1031,1036,1041,1046,1051,1055,1094],[274,275,187],"h1",{"id":276},"event-types",[278,279,280,281,285],"p",{},"Current event list comes from ",[282,283,284],"code",{},"packages\u002Fmini-app\u002Fsrc\u002Ftypes.ts",".",[287,288,290],"h2",{"id":289},"source-of-truth-list","Source-of-truth list",[292,293,294,300,305,310,315,320,325,330,335,340],"ul",{},[295,296,297],"li",{},[282,298,299],{},"mini_app.login.succeeded",[295,301,302],{},[282,303,304],{},"mini_app.trade.submitted",[295,306,307],{},[282,308,309],{},"mini_app.trade.processed",[295,311,312],{},[282,313,314],{},"mini_app.trade.failed",[295,316,317],{},[282,318,319],{},"mini_app.trade.compensation_required",[295,321,322],{},[282,323,324],{},"mini_app.redemption.processed",[295,326,327],{},[282,328,329],{},"mini_app.redemption.failed",[295,331,332],{},[282,333,334],{},"mini_app.payout.pending",[295,336,337],{},[282,338,339],{},"mini_app.logout.requested",[295,341,342],{},[282,343,344],{},"mini_app.session.expired",[287,346,348],{"id":347},"payload-reference","Payload reference",[350,351,353],"h3",{"id":352},"mini_apploginsucceeded",[282,354,299],{},[278,356,357,358,285],{},"Sent after authenticated launch succeeds. Payload shape is event-specific and carried in envelope ",[282,359,360],{},"data",[350,362,364],{"id":363},"mini_apptradesubmitted",[282,365,304],{},[278,367,368,369,285],{},"Sent when order accepted into OpenPoly processing flow. Payload shape is event-specific and carried in envelope ",[282,370,360],{},[350,372,374],{"id":373},"mini_apptradeprocessed",[282,375,309],{},[278,377,378],{},"Sent when trade completed successfully.",[380,381,386],"pre",{"className":382,"code":383,"language":384,"meta":385,"style":385},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"order_id\": 1,\n  \"trade_id\": 10,\n  \"operator_user_id\": 1,\n  \"external_user_id\": \"operator-user-123\",\n  \"market_id\": 51,\n  \"side\": \"buy\",\n  \"outcome\": \"yes\",\n  \"shares_micro\": 12345,\n  \"credits_delta\": -100,\n  \"external_amount_minor\": 10000,\n  \"currency_code\": \"IDR\"\n}\n","json","",[282,387,388,397,420,437,453,476,493,514,535,552,569,586,606],{"__ignoreMap":385},[389,390,393],"span",{"class":391,"line":392},"line",1,[389,394,396],{"class":395},"sMK4o","{\n",[389,398,400,403,407,410,413,417],{"class":391,"line":399},2,[389,401,402],{"class":395},"  \"",[389,404,406],{"class":405},"spNyl","order_id",[389,408,409],{"class":395},"\"",[389,411,412],{"class":395},":",[389,414,416],{"class":415},"sbssI"," 1",[389,418,419],{"class":395},",\n",[389,421,423,425,428,430,432,435],{"class":391,"line":422},3,[389,424,402],{"class":395},[389,426,427],{"class":405},"trade_id",[389,429,409],{"class":395},[389,431,412],{"class":395},[389,433,434],{"class":415}," 10",[389,436,419],{"class":395},[389,438,440,442,445,447,449,451],{"class":391,"line":439},4,[389,441,402],{"class":395},[389,443,444],{"class":405},"operator_user_id",[389,446,409],{"class":395},[389,448,412],{"class":395},[389,450,416],{"class":415},[389,452,419],{"class":395},[389,454,456,458,461,463,465,468,472,474],{"class":391,"line":455},5,[389,457,402],{"class":395},[389,459,460],{"class":405},"external_user_id",[389,462,409],{"class":395},[389,464,412],{"class":395},[389,466,467],{"class":395}," \"",[389,469,471],{"class":470},"sfazB","operator-user-123",[389,473,409],{"class":395},[389,475,419],{"class":395},[389,477,479,481,484,486,488,491],{"class":391,"line":478},6,[389,480,402],{"class":395},[389,482,483],{"class":405},"market_id",[389,485,409],{"class":395},[389,487,412],{"class":395},[389,489,490],{"class":415}," 51",[389,492,419],{"class":395},[389,494,496,498,501,503,505,507,510,512],{"class":391,"line":495},7,[389,497,402],{"class":395},[389,499,500],{"class":405},"side",[389,502,409],{"class":395},[389,504,412],{"class":395},[389,506,467],{"class":395},[389,508,509],{"class":470},"buy",[389,511,409],{"class":395},[389,513,419],{"class":395},[389,515,517,519,522,524,526,528,531,533],{"class":391,"line":516},8,[389,518,402],{"class":395},[389,520,521],{"class":405},"outcome",[389,523,409],{"class":395},[389,525,412],{"class":395},[389,527,467],{"class":395},[389,529,530],{"class":470},"yes",[389,532,409],{"class":395},[389,534,419],{"class":395},[389,536,538,540,543,545,547,550],{"class":391,"line":537},9,[389,539,402],{"class":395},[389,541,542],{"class":405},"shares_micro",[389,544,409],{"class":395},[389,546,412],{"class":395},[389,548,549],{"class":415}," 12345",[389,551,419],{"class":395},[389,553,555,557,560,562,564,567],{"class":391,"line":554},10,[389,556,402],{"class":395},[389,558,559],{"class":405},"credits_delta",[389,561,409],{"class":395},[389,563,412],{"class":395},[389,565,566],{"class":415}," -100",[389,568,419],{"class":395},[389,570,572,574,577,579,581,584],{"class":391,"line":571},11,[389,573,402],{"class":395},[389,575,576],{"class":405},"external_amount_minor",[389,578,409],{"class":395},[389,580,412],{"class":395},[389,582,583],{"class":415}," 10000",[389,585,419],{"class":395},[389,587,589,591,594,596,598,600,603],{"class":391,"line":588},12,[389,590,402],{"class":395},[389,592,593],{"class":405},"currency_code",[389,595,409],{"class":395},[389,597,412],{"class":395},[389,599,467],{"class":395},[389,601,602],{"class":470},"IDR",[389,604,605],{"class":395},"\"\n",[389,607,609],{"class":391,"line":608},13,[389,610,611],{"class":395},"}\n",[350,613,615],{"id":614},"mini_apptradefailed",[282,616,314],{},[278,618,619],{},"Sent when trade fails and no successful final execution exists.",[380,621,623],{"className":382,"code":622,"language":384,"meta":385,"style":385},"{\n  \"order_id\": 1,\n  \"operator_user_id\": 1,\n  \"external_user_id\": \"operator-user-123\",\n  \"market_id\": 51,\n  \"side\": \"buy\",\n  \"outcome\": \"yes\",\n  \"failure_reason\": \"OPERATOR_DEBIT_FAILED\"\n}\n",[282,624,625,629,643,657,675,689,707,725,743],{"__ignoreMap":385},[389,626,627],{"class":391,"line":392},[389,628,396],{"class":395},[389,630,631,633,635,637,639,641],{"class":391,"line":399},[389,632,402],{"class":395},[389,634,406],{"class":405},[389,636,409],{"class":395},[389,638,412],{"class":395},[389,640,416],{"class":415},[389,642,419],{"class":395},[389,644,645,647,649,651,653,655],{"class":391,"line":422},[389,646,402],{"class":395},[389,648,444],{"class":405},[389,650,409],{"class":395},[389,652,412],{"class":395},[389,654,416],{"class":415},[389,656,419],{"class":395},[389,658,659,661,663,665,667,669,671,673],{"class":391,"line":439},[389,660,402],{"class":395},[389,662,460],{"class":405},[389,664,409],{"class":395},[389,666,412],{"class":395},[389,668,467],{"class":395},[389,670,471],{"class":470},[389,672,409],{"class":395},[389,674,419],{"class":395},[389,676,677,679,681,683,685,687],{"class":391,"line":455},[389,678,402],{"class":395},[389,680,483],{"class":405},[389,682,409],{"class":395},[389,684,412],{"class":395},[389,686,490],{"class":415},[389,688,419],{"class":395},[389,690,691,693,695,697,699,701,703,705],{"class":391,"line":478},[389,692,402],{"class":395},[389,694,500],{"class":405},[389,696,409],{"class":395},[389,698,412],{"class":395},[389,700,467],{"class":395},[389,702,509],{"class":470},[389,704,409],{"class":395},[389,706,419],{"class":395},[389,708,709,711,713,715,717,719,721,723],{"class":391,"line":495},[389,710,402],{"class":395},[389,712,521],{"class":405},[389,714,409],{"class":395},[389,716,412],{"class":395},[389,718,467],{"class":395},[389,720,530],{"class":470},[389,722,409],{"class":395},[389,724,419],{"class":395},[389,726,727,729,732,734,736,738,741],{"class":391,"line":516},[389,728,402],{"class":395},[389,730,731],{"class":405},"failure_reason",[389,733,409],{"class":395},[389,735,412],{"class":395},[389,737,467],{"class":395},[389,739,740],{"class":470},"OPERATOR_DEBIT_FAILED",[389,742,605],{"class":395},[389,744,745],{"class":391,"line":537},[389,746,611],{"class":395},[350,748,750],{"id":749},"mini_apptradecompensation_required",[282,751,319],{},[278,753,754],{},"Sent when wallet debit happened but downstream completion needed manual or compensating handling.",[380,756,758],{"className":382,"code":757,"language":384,"meta":385,"style":385},"{\n  \"order_id\": 1,\n  \"operator_user_id\": 1,\n  \"external_user_id\": \"operator-user-123\",\n  \"debit_operation_id\": 99,\n  \"reversal_operation_id\": 100,\n  \"failure_reason\": \"DB_EXECUTION_FAILED_AFTER_DEBIT\"\n}\n",[282,759,760,764,778,792,810,826,842,859],{"__ignoreMap":385},[389,761,762],{"class":391,"line":392},[389,763,396],{"class":395},[389,765,766,768,770,772,774,776],{"class":391,"line":399},[389,767,402],{"class":395},[389,769,406],{"class":405},[389,771,409],{"class":395},[389,773,412],{"class":395},[389,775,416],{"class":415},[389,777,419],{"class":395},[389,779,780,782,784,786,788,790],{"class":391,"line":422},[389,781,402],{"class":395},[389,783,444],{"class":405},[389,785,409],{"class":395},[389,787,412],{"class":395},[389,789,416],{"class":415},[389,791,419],{"class":395},[389,793,794,796,798,800,802,804,806,808],{"class":391,"line":439},[389,795,402],{"class":395},[389,797,460],{"class":405},[389,799,409],{"class":395},[389,801,412],{"class":395},[389,803,467],{"class":395},[389,805,471],{"class":470},[389,807,409],{"class":395},[389,809,419],{"class":395},[389,811,812,814,817,819,821,824],{"class":391,"line":455},[389,813,402],{"class":395},[389,815,816],{"class":405},"debit_operation_id",[389,818,409],{"class":395},[389,820,412],{"class":395},[389,822,823],{"class":415}," 99",[389,825,419],{"class":395},[389,827,828,830,833,835,837,840],{"class":391,"line":478},[389,829,402],{"class":395},[389,831,832],{"class":405},"reversal_operation_id",[389,834,409],{"class":395},[389,836,412],{"class":395},[389,838,839],{"class":415}," 100",[389,841,419],{"class":395},[389,843,844,846,848,850,852,854,857],{"class":391,"line":495},[389,845,402],{"class":395},[389,847,731],{"class":405},[389,849,409],{"class":395},[389,851,412],{"class":395},[389,853,467],{"class":395},[389,855,856],{"class":470},"DB_EXECUTION_FAILED_AFTER_DEBIT",[389,858,605],{"class":395},[389,860,861],{"class":391,"line":516},[389,862,611],{"class":395},[350,864,866],{"id":865},"mini_appredemptionprocessed",[282,867,324],{},[278,869,870,871,285],{},"Sent when redemption or payout completed successfully. Payload shape is event-specific and carried in envelope ",[282,872,360],{},[350,874,876],{"id":875},"mini_appredemptionfailed",[282,877,329],{},[278,879,880,881,285],{},"Sent when redemption flow failed before successful credit completion. Payload shape is event-specific and carried in envelope ",[282,882,360],{},[350,884,886],{"id":885},"mini_apppayoutpending",[282,887,334],{},[278,889,890],{},"Sent when payout reached unknown or pending external state and operator follow-up may be required.",[380,892,894],{"className":382,"code":893,"language":384,"meta":385,"style":385},"{\n  \"order_id\": 2,\n  \"redemption_item_id\": null,\n  \"operator_user_id\": 1,\n  \"external_user_id\": \"operator-user-123\",\n  \"credit_operation_id\": 101,\n  \"external_amount_minor\": 15000,\n  \"currency_code\": \"IDR\",\n  \"failure_reason\": \"OPERATOR_CREDIT_UNKNOWN\"\n}\n",[282,895,896,900,915,929,943,961,977,992,1010,1027],{"__ignoreMap":385},[389,897,898],{"class":391,"line":392},[389,899,396],{"class":395},[389,901,902,904,906,908,910,913],{"class":391,"line":399},[389,903,402],{"class":395},[389,905,406],{"class":405},[389,907,409],{"class":395},[389,909,412],{"class":395},[389,911,912],{"class":415}," 2",[389,914,419],{"class":395},[389,916,917,919,922,924,926],{"class":391,"line":422},[389,918,402],{"class":395},[389,920,921],{"class":405},"redemption_item_id",[389,923,409],{"class":395},[389,925,412],{"class":395},[389,927,928],{"class":395}," null,\n",[389,930,931,933,935,937,939,941],{"class":391,"line":439},[389,932,402],{"class":395},[389,934,444],{"class":405},[389,936,409],{"class":395},[389,938,412],{"class":395},[389,940,416],{"class":415},[389,942,419],{"class":395},[389,944,945,947,949,951,953,955,957,959],{"class":391,"line":455},[389,946,402],{"class":395},[389,948,460],{"class":405},[389,950,409],{"class":395},[389,952,412],{"class":395},[389,954,467],{"class":395},[389,956,471],{"class":470},[389,958,409],{"class":395},[389,960,419],{"class":395},[389,962,963,965,968,970,972,975],{"class":391,"line":478},[389,964,402],{"class":395},[389,966,967],{"class":405},"credit_operation_id",[389,969,409],{"class":395},[389,971,412],{"class":395},[389,973,974],{"class":415}," 101",[389,976,419],{"class":395},[389,978,979,981,983,985,987,990],{"class":391,"line":495},[389,980,402],{"class":395},[389,982,576],{"class":405},[389,984,409],{"class":395},[389,986,412],{"class":395},[389,988,989],{"class":415}," 15000",[389,991,419],{"class":395},[389,993,994,996,998,1000,1002,1004,1006,1008],{"class":391,"line":516},[389,995,402],{"class":395},[389,997,593],{"class":405},[389,999,409],{"class":395},[389,1001,412],{"class":395},[389,1003,467],{"class":395},[389,1005,602],{"class":470},[389,1007,409],{"class":395},[389,1009,419],{"class":395},[389,1011,1012,1014,1016,1018,1020,1022,1025],{"class":391,"line":537},[389,1013,402],{"class":395},[389,1015,731],{"class":405},[389,1017,409],{"class":395},[389,1019,412],{"class":395},[389,1021,467],{"class":395},[389,1023,1024],{"class":470},"OPERATOR_CREDIT_UNKNOWN",[389,1026,605],{"class":395},[389,1028,1029],{"class":391,"line":554},[389,1030,611],{"class":395},[350,1032,1034],{"id":1033},"mini_applogoutrequested",[282,1035,339],{},[278,1037,1038,1039,285],{},"Sent when OpenPoly requests operator-side session cleanup. Payload shape is event-specific and carried in envelope ",[282,1040,360],{},[350,1042,1044],{"id":1043},"mini_appsessionexpired",[282,1045,344],{},[278,1047,1048,1049,285],{},"Sent when launched Mini App session expired. Payload shape is event-specific and carried in envelope ",[282,1050,360],{},[287,1052,1054],{"id":1053},"guidance","Guidance",[292,1056,1057,1060,1066,1073,1085,1091],{},[295,1058,1059],{},"keep receiver tolerant to additive fields",[295,1061,1062,1063],{},"branch only on known ",[282,1064,1065],{},"event_type",[295,1067,1068,1069,1072],{},"use ",[282,1070,1071],{},"event_id"," for dedupe",[295,1074,1068,1075,1077,1078,1077,1080,1077,1082,1084],{},[282,1076,406],{},", ",[282,1079,427],{},[282,1081,967],{},[282,1083,816],{}," for support correlation",[295,1086,1087,1088,1090],{},"treat ",[282,1089,731],{}," as operator-facing diagnostic string, not enum guaranteed forever",[295,1092,1093],{},"examples above are source-backed where current contract already defines fields explicitly",[1095,1096,1097],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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);}",{"title":385,"searchDepth":399,"depth":399,"links":1099},[1100,1101,1113],{"id":289,"depth":399,"text":290},{"id":347,"depth":399,"text":348,"children":1102},[1103,1104,1105,1106,1107,1108,1109,1110,1111,1112],{"id":352,"depth":422,"text":299},{"id":363,"depth":422,"text":304},{"id":373,"depth":422,"text":309},{"id":614,"depth":422,"text":314},{"id":749,"depth":422,"text":319},{"id":865,"depth":422,"text":324},{"id":875,"depth":422,"text":329},{"id":885,"depth":422,"text":334},{"id":1033,"depth":422,"text":339},{"id":1043,"depth":422,"text":344},{"id":1053,"depth":399,"text":1054},"Business events sent by OpenPoly to operator webhook receivers.","md",null,{},true,{"title":187,"description":1114},"py0F4gd4d4RJrfCiM-njbviH-UyafwtFuHHg4ZUKaMI",[1122,1124],{"title":183,"path":184,"stem":185,"description":1123,"children":-1},"Shared event envelope for all webhook deliveries.",{"title":191,"path":192,"stem":193,"description":1125,"children":-1},"Retry policy, terminal failures, and dashboard replay behavior.",1781957290954]