GET /loancalc/api/?amount=6000.0&interest=13.6&years=2
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "Period": {
        "0": 1,
        "1": 2,
        "2": 3,
        "3": 4,
        "4": 5,
        "5": 6,
        "6": 7,
        "7": 8,
        "8": 9,
        "9": 10,
        "10": 11,
        "11": 12,
        "12": 13,
        "13": 14,
        "14": 15,
        "15": 16,
        "16": 17,
        "17": 18,
        "18": 19,
        "19": 20,
        "20": 21,
        "21": 22,
        "22": 23,
        "23": 24,
        "24": 25
    },
    "Month": {
        "0": "2021-12-07T00:00:00",
        "1": "2022-01-07T00:00:00",
        "2": "2022-02-07T00:00:00",
        "3": "2022-03-07T00:00:00",
        "4": "2022-04-07T00:00:00",
        "5": "2022-05-07T00:00:00",
        "6": "2022-06-07T00:00:00",
        "7": "2022-07-07T00:00:00",
        "8": "2022-08-07T00:00:00",
        "9": "2022-09-07T00:00:00",
        "10": "2022-10-07T00:00:00",
        "11": "2022-11-07T00:00:00",
        "12": "2022-12-07T00:00:00",
        "13": "2023-01-07T00:00:00",
        "14": "2023-02-07T00:00:00",
        "15": "2023-03-07T00:00:00",
        "16": "2023-04-07T00:00:00",
        "17": "2023-05-07T00:00:00",
        "18": "2023-06-07T00:00:00",
        "19": "2023-07-07T00:00:00",
        "20": "2023-08-07T00:00:00",
        "21": "2023-09-07T00:00:00",
        "22": "2023-10-07T00:00:00",
        "23": "2023-11-07T00:00:00",
        "24": "2023-12-07T00:00:00"
    },
    "Balance(£)": {
        "0": 6000.0,
        "1": 5781.06,
        "2": 5559.64,
        "3": 5335.71,
        "4": 5109.24,
        "5": 4880.2,
        "6": 4648.57,
        "7": 4414.31,
        "8": 4177.4,
        "9": 3937.8,
        "10": 3695.49,
        "11": 3450.43,
        "12": 3202.59,
        "13": 2951.95,
        "14": 2698.47,
        "15": 2442.11,
        "16": 2182.85,
        "17": 1920.65,
        "18": 1655.48,
        "19": 1387.3,
        "20": 1116.08,
        "21": 841.79,
        "22": 564.39,
        "23": 283.85,
        "24": 0.13
    },
    "Monthly Payment(£)": {
        "0": 286.94,
        "1": 286.94,
        "2": 286.94,
        "3": 286.94,
        "4": 286.94,
        "5": 286.94,
        "6": 286.94,
        "7": 286.94,
        "8": 286.94,
        "9": 286.94,
        "10": 286.94,
        "11": 286.94,
        "12": 286.94,
        "13": 286.94,
        "14": 286.94,
        "15": 286.94,
        "16": 286.94,
        "17": 286.94,
        "18": 286.94,
        "19": 286.94,
        "20": 286.94,
        "21": 286.94,
        "22": 286.94,
        "23": 286.94,
        "24": 0.13
    },
    "Interest(£)": {
        "0": 68.0,
        "1": 65.52,
        "2": 63.01,
        "3": 60.47,
        "4": 57.9,
        "5": 55.31,
        "6": 52.68,
        "7": 50.03,
        "8": 47.34,
        "9": 44.63,
        "10": 41.88,
        "11": 39.1,
        "12": 36.3,
        "13": 33.46,
        "14": 30.58,
        "15": 27.68,
        "16": 24.74,
        "17": 21.77,
        "18": 18.76,
        "19": 15.72,
        "20": 12.65,
        "21": 9.54,
        "22": 6.4,
        "23": 3.22,
        "24": 0.0
    },
    "Principal(£)": {
        "0": 218.94,
        "1": 221.42,
        "2": 223.93,
        "3": 226.47,
        "4": 229.04,
        "5": 231.63,
        "6": 234.26,
        "7": 236.91,
        "8": 239.6,
        "9": 242.31,
        "10": 245.06,
        "11": 247.84,
        "12": 250.64,
        "13": 253.48,
        "14": 256.36,
        "15": 259.26,
        "16": 262.2,
        "17": 265.17,
        "18": 268.18,
        "19": 271.22,
        "20": 274.29,
        "21": 277.4,
        "22": 280.54,
        "23": 283.72,
        "24": 0.13
    },
    "Additional_Payment(£)": {
        "0": 0,
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0,
        "10": 0,
        "11": 0,
        "12": 0,
        "13": 0,
        "14": 0,
        "15": 0,
        "16": 0,
        "17": 0,
        "18": 0,
        "19": 0,
        "20": 0,
        "21": 0,
        "22": 0,
        "23": 0,
        "24": 0
    },
    "End Balance(£)": {
        "0": 5781.06,
        "1": 5559.64,
        "2": 5335.71,
        "3": 5109.24,
        "4": 4880.2,
        "5": 4648.57,
        "6": 4414.31,
        "7": 4177.4,
        "8": 3937.8,
        "9": 3695.49,
        "10": 3450.43,
        "11": 3202.59,
        "12": 2951.95,
        "13": 2698.47,
        "14": 2442.11,
        "15": 2182.85,
        "16": 1920.65,
        "17": 1655.48,
        "18": 1387.3,
        "19": 1116.08,
        "20": 841.79,
        "21": 564.39,
        "22": 283.85,
        "23": 0.13,
        "24": 0.0
    },
    "Payoff Date": "2023-12-07T00:00:00",
    "Num Payments": 25,
    "Interest Rate": 13.600000000000001,
    "Years": 2,
    "Principal": 6000.0,
    "Monthly Payment": 286.94,
    "Additional Payment": 0,
    "Total Interest": 886.69
}