17-02-2021 14:58

Метод получения планового графика платежей по линии кредитов

GET   /main/collateral-lines/{id}/schedule/plan

Метод позволяет получить плановый график платежей кредитной линии.

Запрос

GET /bs-core/main/collateral-lines/22/schedule/plan
Описание параметров
Нет описанных параметров

Ответ


                        {
    "status": "ok",
    "timestamp": 1597048003051,
    "data": [
        {
            "issueDate": null,
            "repaymentDate": "2019-09-30",
            "principal": 0.0,
            "interest": 2160.0,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 15000.0
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-10-07",
            "principal": 4.45,
            "interest": 1890.0,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14995.55
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-10-14",
            "principal": 5.01,
            "interest": 1889.44,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14990.54
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-10-21",
            "principal": 5.64,
            "interest": 1888.81,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14984.9
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-10-28",
            "principal": 6.35,
            "interest": 1888.1,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14978.55
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-11-04",
            "principal": 7.15,
            "interest": 1887.3,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14971.4
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-11-11",
            "principal": 8.05,
            "interest": 1886.4,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14963.35
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-11-18",
            "principal": 9.07,
            "interest": 1885.38,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14954.28
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-11-25",
            "principal": 10.21,
            "interest": 1884.24,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14944.07
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-12-02",
            "principal": 11.5,
            "interest": 1882.95,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14932.57
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-12-09",
            "principal": 12.95,
            "interest": 1881.5,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14919.62
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-12-16",
            "principal": 14.58,
            "interest": 1879.87,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14905.04
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-12-23",
            "principal": 16.41,
            "interest": 1878.04,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14888.63
        },
        {
            "issueDate": null,
            "repaymentDate": "2019-12-30",
            "principal": 18.48,
            "interest": 1875.97,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14870.15
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-01-06",
            "principal": 20.81,
            "interest": 1873.64,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14849.34
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-01-13",
            "principal": 23.43,
            "interest": 1871.02,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14825.91
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-01-20",
            "principal": 26.39,
            "interest": 1868.06,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14799.52
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-01-27",
            "principal": 29.71,
            "interest": 1864.74,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14769.81
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-02-03",
            "principal": 33.45,
            "interest": 1861.0,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14736.36
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-02-10",
            "principal": 37.67,
            "interest": 1856.78,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14698.69
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-02-17",
            "principal": 42.42,
            "interest": 1852.03,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14656.27
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-02-24",
            "principal": 47.76,
            "interest": 1846.69,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14608.51
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-03-02",
            "principal": 53.78,
            "interest": 1840.67,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14554.73
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-03-09",
            "principal": 60.55,
            "interest": 1833.9,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14494.18
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-03-16",
            "principal": 68.18,
            "interest": 1826.27,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14426.0
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-03-23",
            "principal": 76.77,
            "interest": 1817.68,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14349.23
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-03-30",
            "principal": 86.45,
            "interest": 1808.0,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14262.78
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-04-06",
            "principal": 97.34,
            "interest": 1797.11,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14165.44
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-04-13",
            "principal": 109.6,
            "interest": 1784.85,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 14055.84
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-04-20",
            "principal": 123.41,
            "interest": 1771.04,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13932.43
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-04-27",
            "principal": 138.96,
            "interest": 1755.49,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13793.47
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-05-04",
            "principal": 156.47,
            "interest": 1737.98,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13637.0
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-05-11",
            "principal": 176.19,
            "interest": 1718.26,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13460.81
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-05-18",
            "principal": 198.39,
            "interest": 1696.06,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13262.42
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-05-25",
            "principal": 223.39,
            "interest": 1671.06,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 13039.03
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-06-01",
            "principal": 251.53,
            "interest": 1642.92,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 12787.5
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-06-08",
            "principal": 283.22,
            "interest": 1611.23,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 12504.28
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-06-15",
            "principal": 318.91,
            "interest": 1575.54,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 12185.37
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-06-22",
            "principal": 359.09,
            "interest": 1535.36,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 11826.28
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-06-29",
            "principal": 404.34,
            "interest": 1490.11,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 11421.94
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-07-06",
            "principal": 455.29,
            "interest": 1439.16,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 10966.65
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-07-13",
            "principal": 512.65,
            "interest": 1381.8,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 10454.0
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-07-20",
            "principal": 577.25,
            "interest": 1317.2,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 9876.75
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-07-27",
            "principal": 649.98,
            "interest": 1244.47,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 9226.77
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-08-03",
            "principal": 731.88,
            "interest": 1162.57,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 8494.89
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-08-10",
            "principal": 824.09,
            "interest": 1070.36,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 7670.8
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-08-17",
            "principal": 927.93,
            "interest": 966.52,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 6742.87
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-08-24",
            "principal": 1044.85,
            "interest": 849.6,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 5698.02
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-08-31",
            "principal": 1176.5,
            "interest": 717.95,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 4521.52
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-09-07",
            "principal": 1324.74,
            "interest": 569.71,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 3196.78
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-09-14",
            "principal": 1491.66,
            "interest": 402.79,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 1705.12
        },
        {
            "issueDate": null,
            "repaymentDate": "2020-09-21",
            "principal": 1705.12,
            "interest": 214.85,
            "fee": 0.0,
            "penalty": 0.0,
            "rest": 0.0
        }
    ]
}
                    
Описание параметров
Параметр Обязателен Тип данных Описание
issueDate R [date]

Дата начала транша

repaymentDate R [date]

Дата окончания транша

principal R [float]

ОС

interest R [float]

Проценты

fee R [collection]

Сборы

penalty R [collection]

Штрафы

rest R [float]

Остаток ОС