{"status":"success","demo":true,"notice":"Fixed sample data — this demo does not accept your own input. The result below is the exact, full output the paid route returns for this input.","tool":"treasury-decision","scenario":"Can we pay a EUR 750,000 invoice today?","input":{"baseCurrency":"USD","payment":{"amount":750000,"currency":"EUR","date":"2026-09-14"},"liquidity":{"openingCash":5000000,"startDate":"2026-09-14","horizonDays":30,"minimumCashBuffer":1000000},"fxExposure":{"fxRates":{"EUR":1.08}}},"result":{"status":"success","analysis_id":"d613de49-d567-4ee9-9b86-55db246342ef","timestamp":"2026-11-05T15:43:12.140Z","base_currency":"USD","payment":{"amount":750000,"currency":"EUR","amount_base_currency":810000,"date":"2026-09-14"},"decision":"PAY","confidence":0.83,"components":{"liquidity":{"status":"HEALTHY","minimum_cash_position":4190000,"minimum_date":"2026-09-14","required_buffer":1000000,"shortfall":0},"fx_exposure":{"risk_level":"LOW","score":2,"context":"payment_only","net_exposure_payment_currency":-810000,"currency_concentration_hhi":null},"treasury_risk":{"evaluated":false}},"warnings":["[fx_exposure] No existing FX positions were supplied — fx_exposure severity reflects only this payment's own stress impact, not book-level currency concentration.","treasury_risk was not evaluated — decision is based on liquidity and FX exposure only."],"data_quality":{"liquidity_confidence":1,"fx_confidence":0.75,"treasury_risk_confidence":null},"methodology":{"payment_injection":"The payment is added as a same-day outflow in the liquidity forecast and as a new unhedged payable position in the FX exposure analysis, on top of any existing cashFlows/positions supplied.","decision_matrix":"The overall decision takes the worst (highest-severity) status across the evaluated components: liquidity_status (HEALTHY/WARNING/CRITICAL) and each risk_classification.level (LOW/MEDIUM/HIGH), mapped to a common 0-2 severity scale. Severity 0 -> PAY, 1 -> REVIEW, 2 -> DO_NOT_PAY.","confidence":"A deterministic data-completeness score (0-1), not a probability of a good outcome: it averages per-component confidence (1.0 if a component had complete precision inputs, discounted slightly if optional precision inputs like totalTreasuryValueBase or a sufficient return-series sample size were omitted), and is further discounted if treasury_risk was not evaluated at all.","ai_involvement":"None. All figures are produced by deterministic calculation; no model estimates or interprets financial values."},"limitations":["counterparty_risk is not evaluated by this version of the service.","This is decision-support output, not an instruction to execute any payment or transaction — the calling agent or a human remains responsible for the actual decision and execution.","The decision matrix takes the worst-case status across components; it does not model interactions between liquidity, FX, and portfolio risk beyond that.","See the liquidity, fx_exposure, and treasury_risk limitations for the underlying methodology caveats of each component."]},"next_step":{"description":"Run the same analysis on your own data: POST the same JSON shape to /treasury-decision.","method":"POST","url":"https://portfolio-risk-analyzer-g9ao.onrender.com/treasury-decision","price":"$2.00 USDC per call (x402 v2, Base mainnet) — no account, no API key","free_checks":"Invalid input is rejected with a free 400; valid input gets a 402 with the payment requirements. You are charged only for a successful analysis.","mcp":"npx -y treasury-risk-mcp","openapi":"https://portfolio-risk-analyzer-g9ao.onrender.com/openapi.json"},"other_demos":["https://portfolio-risk-analyzer-g9ao.onrender.com/demo?tool=treasury-risk","https://portfolio-risk-analyzer-g9ao.onrender.com/demo?tool=fx-exposure","https://portfolio-risk-analyzer-g9ao.onrender.com/demo?tool=liquidity"]}