# (DEPRECATED) Retrieve the repayment plan of a loan (deprecated) Returns the repayment plan of the loan specified in the request URL. This endpoint is deprecated. Please use the repayment schedule endpoint instead. Endpoint: GET /v1/loans/{loan_id}/repayment_plan Version: 1.0 ## Path parameters: - `loan_id` (string, required) The ID of the loan for which the repayments to be returned. ## Response 200 fields (application/json): - `updated_at` (string,null) The date when the loan repayment plan was last updated. Example: "2021-04-16T13:52:05Z" - `repayments` (array) - `repayments.date` (string, required) The date when the installment is due. Example: "2021-10-01" - `repayments.beginning_balance` (any, required) The start balance of the loan account before the next due installment. - `repayments.ending_balance` (any, required) The ending balance of the loan account after the current installment. - `repayments.installment_amount` (any, required) The amount of the loan monthly installment to be paid. - `repayments.principal_paid` (any, required) The total amount of the loan principal to be paid in the current installment. - `repayments.interest_paid` (any, required) The amount of interest to be paid in the current installment. - `created_at` (string,null) The date when the loan repayment plan was created. Example: "2020-04-16T13:52:05Z" ## Response 404 fields (application/json): - `title` (string) Example: "Model Not Found" - `status` (string) Example: "404" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `code` (string) Example: "model_not_found"