Account Product
For Line of Credit, setting up an Account Product is mandatory. Even if the interest rate is 0%, the interest rate should be defined in the Account Product. Please see the Account Product section of the Accounts Guide for more detailsLine of Credit Account Template
Account Templates contain predefined values for creating an account. When creating an account with an account template ID, the Accounts object inherits all values from the Account Template object first, before applying passed-in values. The Account Template API spec can be found here Some specific points regarding Account Template configuration for Line of Credit:-
grace_period- The number of days past the billing period to allow for payment before it is considered overdue. This directly infers the payment due date. This is a required field. -
interest_product_id- Refers to the Account Product Object. This configuration defines the interest rate(s) that is associated with the Account Template. This is a required field. -
minimum_payment- Calculating the minimum payment due on the account for a billing period. This is a required field.-
minimum_payment.min_amount- This configuration sets the minimum payment due for a billing period if the account balance greater than this amount. This value is set in cents. For example, to set themin_amountto $30, the value will be 3000. -
minimum_payment.rate- the percentage of the balance used for calculating the minimum payment. If the value is set at 10%, then 10% of the outstanding balance is the required minimum payment. The value is use is expressed in basis points. For example, to set 12.50% of the balance, set this value to 1250. -
minimum_payment.type- Set this toRATE_OR_AMOUNT.
-
Line of Credit Account
API fields
The Account API has certain fields that are specific to Line of Credit. These fields are:
Example
Create an account of type
LINE_OF_CREDIT Accounts API or refer to the Accounts Guide

