{
  "sample": true,
  "note": "Representative sample output (free). Call POST /fin via x402 for live execution.",
  "endpoint": "https://br-fin-calculators-x402.architect-x402.workers.dev/fin",
  "method": "POST",
  "network": "eip155:8453",
  "priceUsdc": "0.005",
  "inputExample": {
    "type": "http",
    "method": "POST",
    "bodyType": "json",
    "body": {
      "correction": {
        "amountBRL": 10000,
        "index": "IPCA",
        "startDate": "2024-01-01",
        "endDate": "2025-12-31"
      },
      "ptax": {
        "amount": 1000,
        "from": "USD",
        "to": "BRL"
      },
      "loan": {
        "principal": 50000,
        "monthlyInterestRatePct": 1.49,
        "months": 24,
        "system": "BOTH"
      },
      "aiSummary": true
    }
  },
  "output": {
    "success": true,
    "monetaryCorrection": {
      "index": "IPCA",
      "sgsSeriesId": 433,
      "originalAmountBRL": 10000,
      "correctedAmountBRL": 10945.2,
      "accumulatedPct": 9.452,
      "monthsCount": 23
    },
    "ptaxConversion": {
      "from": "USD",
      "to": "BRL",
      "inputAmount": 1000,
      "convertedAmount": 5750,
      "ptaxSellRate": 5.75,
      "referenceDate": "2026-11-13"
    },
    "loanSimulation": {
      "principal": 50000,
      "monthlyInterestRatePct": 1.49,
      "months": 24,
      "price": {
        "monthlyInstallment": 2491.32,
        "totalPaid": 59791.68,
        "totalInterest": 9791.68
      },
      "sac": {
        "firstInstallment": 2828.33,
        "lastInstallment": 2114.35,
        "totalPaid": 59312.5,
        "totalInterest": 9312.5
      }
    },
    "aiExecutiveBrief": "R$ 10.000,00 corrigidos pelo IPCA somam R$ 10.945,20 (+9,45%). US$ 1.000 equivalem a R$ 5.750,00 na PTAX oficial.",
    "processingTimeMs": 110
  }
}