# Calculate all available installment plans for a given amount Creates possible installment plans for a requested amount. The credit line must have already been created before calling this endpoint. Afterward, you can create a loan for the customer based on one of these plans. Endpoint: POST /v1/persons/{person_id}/credit_lines/{credit_line_id}/available_installment_plans Version: 1.0 ## Path parameters: - `person_id` (string, required) The person ID of the customer who has the credit line. - `credit_line_id` (string, required) The unique credit line ID, generated after a credit line is created. ## Request fields (application/json): - `amount` (object, required) The requested amount for which the installment plan is created. Example: {"currency":"EUR","unit":"cents","value":1000} - `amount.value` (integer, required) The amount value Example: 1000 - `amount.currency` (string, required) The currency of the given value. Only EURO is currently supported. Example: "EUR" - `amount.unit` (string, required) The unit of the given value. Enum: "cents" - `loan_type` (string,null) The loan type, which defines your product category. Enum: "bullet", "installment_plan" - `interest_rate` (number,null) The interest rate to apply to the installment loan. Example: 0.11 - `bullet_loan_repayment_date` (string,null) The repayment date of the bullet loan. Example: "2022-06-22" ## Response 200 fields (application/json): - `installment_plans` (array, required) - `installment_plans.term` (integer, required) The number of months over which the installment loan will be repaid. Example: 6 - `installment_plans.monthly_installment` (object, required) The monthly installment amount the customer has to pay. Example: {"currency":"EUR","unit":"cents","value":1000} - `installment_plans.monthly_installment.value` (integer, required) The amount value Example: 1000 - `installment_plans.monthly_installment.currency` (string, required) The currency of the given value. Only EURO is currently supported. Example: "EUR" - `installment_plans.monthly_installment.unit` (string, required) The unit of the given value. Enum: "cents" - `installment_plans.total` (object, required) The total amount of the installment loan (principal + interest) the customer must repay. Example: {"currency":"EUR","unit":"cents","value":1000} - `installment_plans.interest_rate` (number, required) The interest rate to apply to the installment loan. Optional field only if there's a specific interest rate that should apply to the loan. Example: 0.11 - `installment_plans.effective_interest_rate` (number, required) The effective interest rate to apply to the installment loan. Example: 0.1157 ## Response 404 fields (application/json): - `code` (string) Example: "model_not_found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `title` (string) Example: "Model Not Found"