# Credit Line Servicing ## Retrieve a single credit line - [GET /v1/persons/{person_id}/credit_lines/{credit_line_id}](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.showoperation.md): Returns the details and status of a credit line associated with a specific customer. ## Index all credit lines - [GET /v1/persons/credit_lines](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.indexoperation.md): Returns an array of all credit lines for all of your customers. ## Calculate all available installment plans for a given amount - [POST /v1/persons/{person_id}/credit_lines/{credit_line_id}/available_installment_plans](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.availableinstallmentplans.indexoperation.md): 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. ## Create a credit line loan - [POST /v1/persons/{person_id}/credit_lines/{credit_line_id}/loans](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.loans.createoperation.md): Creates a credit line loan based on an installment plan. The loan is used for bank statements and should include a and you must assign a to it. The credit line must have already been created without any blocks before creating a loan. ## Revoke a credit line - [PUT /v1/persons/{person_id}/credit_lines/{credit_line_id}/revoke](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.revokeoperation.md): Revokes a credit line. Revoking a credit line must be done within 14 days from the issuance date. ## Update the reference account of a credit line - [PATCH /v1/persons/{person_id}/credit_lines/{credit_line_id}/reference_account](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.updatereferenceaccountoperation.md): Updates the external reference account associated with a customer's credit line. The account is used for the payout of a credit line loan. ## Add internal payout account to a credit line - [PATCH /v1/persons/{person_id}/credit_lines/{credit_line_id}/payout_account](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.updatepayoutaccountoperation.md): Links a customer's internal payout account (i.e., an existing Solaris account) to their credit line. The account is used for the payout of a credit line loan. ## Download an annual account statement for a credit line - [GET /v1/persons/{person_id}/credit_lines/{credit_line_id}/annual_account_statement](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.downloadannualaccountstatementoperation.md): Downloads an account statement for a credit line for a specific year as a PDF. ## Download a closing account statement for a credit line - [GET /v1/persons/{person_id}/credit_lines/{credit_line_id}/closing_account_statement](https://docs.solarisgroup.com/api-reference/lending/splitpay/credit-line-servicing/consumercreditlineweb.v1.consumercreditlines.downloadclosingaccountstatementoperation.md): Downloads the closing account statement for a credit line as a PDF.