Tyche
  • Tyche API documentation
  • Get Started
  • API Reference
  • Reference
    • Clients
    • Client documents
    • Companies
    • Company documents
    • Loan Products
    • Loans
    • Deposit products
    • Deposits
    • Branch
    • Ledger
    • Channels
Powered by GitBook
On this page
  • Create Loan Product
  • Update loan product
  • Get all loan products
  • Get loan product details

Was this helpful?

  1. Reference

Loan Products

Create Loan Product

POST {base url}/v1/loanProducts

Name
Type
Description

Authorization header*

String

API user secret key

Body

Name
Type
Description

name

string

product name

description

string

product description

type

string

loan type (FIXED_TERM_LOAN, INTEREST_FREE_TERM_LOAN)

currency

string

loan currency (USD/NGN)

initialState

string

Loan state (PENDING_APPROVAL, PARTIAL_APPLICATION)

userTypes

array

Loan user type (clients and companies)

branch

array

branches that can access the loan product (["all_branches" or "id of the branch"])

enableLinking

boolean

Enable deposit linking (true if theproduct will be link to deposit product)

minAmount

number

Minimum loan amount

maxAmount

number

Maximum loan amount

paymentMethod

string

Loan payment method (STANDARD_PAYMENT, BALLON_PAYMENT)

paymentInterval

string

Loan payment interval (INTERVAL, END_OF_MONTH)

paymentMade

string

Payment made on loan (WEEK, MONTH, YEAR)

defaultInstallments

number

Loan default installment

minInstallments

number

Loan minimum installment

maxInstallments

number

Loan maximum installment

defaultDueDateOffSet

number

Default due date offset

minDueDateOffSet

number

Minimum due date offset

maxDueDateOffSet

number

Maximum due date offset

enableGracePeriod

boolean

Enable grace period on loan

defaultGracePeriod

number

Default grace period

minGracePeriod

number

Minimum due date offset

maxGracePeriod

number

Maximum due date offset

principalRoundingSchedule

string

Principle rounding schedule on loan

currencyRoundingSchedule

string

Currency rounding schedule on loan

acceptPrepayment

boolean

Accept prepayment on loan

paymentAllocation

string

Payment allocation (HORIZONTAL/VERTICAL)

prepaymentAllocationOrder

string

Prepayment allocation order

Enable penalty

string

Enable penalty

Enable collateral

string

Enable collateral

enableFundingSource

string

Enable funding source

feeIncome

string

Assets GL

methodology

string

Loan methodology (ACCRUAL or CASH)

feeReceivable

string

Assets GL

penaltyIncome

string

Income GL

interestIncome

string

Income GL

writeOffExpense

string

Expense GL

portfolioControl

string

Asset GL

penaltyReceivable

string

Asset GL

interestReceivable

string

Asset GL

fees

array

Fees on loan

{
        "name": "test product",
        "type": "FIXED_TERM_LOAN",
        "currency": "NGN",
        "initialState": "PENDING_APPROVAL",
        "description": "test product",
        "userType": [
            "clients",
            "companies"
        ],
        "branch": [
            "all_branches or id of the individual branches the product will be available to"
        ],
        "enableLinking": false,
        "minAmount": 10000,
        "maxAmount": 10000000,
        "interest": {
            "daysInAYear": 365,
            "interestType": "SIMPLE_INTEREST",
            "interestCharged": "%_PER_YEAR",
            "interestPosting": "ON_DISBURSEMENT",
            "maxInterestRate": 40,
            "minInterestRate": 30,
            "repaymentInterest": "REPAYMENT_PERIOD",
            "defaultInterestRate": 35,
            "interestCalculation": "DECLINING_BALANCE"
        },
        "scheduling": {
            "paymentMade": {
                "value": 1,
                "period": "WEEK/MONTH/YEAR"
            },
            "paymentMethod": "STANDARD_PAYMENT",
            "maxGracePeriod": 5,
            "minGracePeriod": 2,
            "maxInstallments": 10,
            "minInstallments": 4,
            "paymentInterval": "INTERVAL",
            "maxDueDateOffset": 3,
            "minDueDateOffset": 1,
            "enableGracePeriod": true,
            "defaultGracePeriod": 3,
            "principalCollected": 1,
            "defaultInstallments": 6,
            "defaultDueDateOffset": 2,
            "currencyRoundingSchedule": "NO_ROUNDING",
            "principalRoundingSchedule": "NO_ROUNDING"
        },
        "collection": {
            "acceptPrepayment": false,
            "paymentAllocation": "HORIZONTAL",
            "prepaymentAllocationOrder": {
                "fee": 0,
                "penalty": 1,
                "interest": 2,
                "principal": 3
            }
        },
        "penalty": {
            "enablePenalty": false
        },
        "security": {
            "enableCollateral": false,
            "enableFundingSource": false
        },
        "accounting": {
            "feeIncome": "2029427635",
            "methodology": "ACCRUAL",
            "feeReceivable": "4048468827",
            "penaltyIncome": "2029427635",
            "interestIncome": "2029427635",
            "writeOffExpense": "1014905527",
            "portfolioControl": "4048468827",
            "penaltyReceivable": "4048468827",
            "transactionSource": "4048468827",
            "interestReceivable": "4048468827"
        },
        "fees": [
            {
                "value": 75,
                "feeName": "management fee",
                "feeType": "ON_DISBURSEMENT",
                "feePayment": "FLAT or PERCENTAGE_0F_DISBURSE_AMOUNT"
            }
        ]
        ]
    }
{
    message: "loan product created successfully"
}

Update loan product

PATH /api/v1/loanProducts/{loanId}

Update single loan product

Headers

Name
Type
Description

Authorization header*

String

API user secret key

Body

Name
Type
Description

description

string

Product name

type

string

Loan type

category

string

Loan category

currency

string

Loan currency (USD/NGN)

initialState

string

Loan state

userTypes

array

Loan user type

branch

array

Branches loan product is available to

enableLinking

boolean

Enable deposit linking

minAmount

number

Minimum loan amount

maxAmount

number

Maximum loan amount

paymentMethod

string

Loan payment mehtod

paymentInterval

string

Loan payment interval

paymentMade

string

Payment made on loan

defaultInstallments

number

Loan default installment

minInstallments

number

Loan minimum installment

maxInstallments

number

Loan maximum installment

defaultDueDateOffSet

number

Default due date offset

minDueDateOffSet

number

Minimum due date offset

maxDueDateOffSet

number

Maximum due date offset

enableGracePeriod

boolean

Enable grace period on loan

defaultGracePeriod

number

Default grace period

minGracePeriod

number

Minimum due date offset

maxGracePeriod

number

Maximum due date offset

principalRoundingSchedule

string

Principle rounding schedule on loan

currencyRoundingSchedule

string

Currency rounding schedule on loan

acceptPrepayment

boolean

Accept prepayment on loan

paymentAllocation

string

Payment allocation

prepaymentAllocationOrder

string

Prepayment allocation order

Enable penalty

string

Enable penalty

Enable collateral

string

Enable collateral

enableFundingSource

string

Enable funding source

feeIncome

string

Assets GL

methodology

string

Loan methodology

feeReceivable

string

Assets GL

penaltyIncome

string

Income GL

interestIncome

string

Income GL

writeOffExpense

string

Expense GL

portfolioControl

string

Asset GL

penaltyReceivable

string

Asset GL

interestReceivable

string

Asset GL

fees

array

Fees on loan

Response

{
        "name": "test product",
        "type": "FIXED_TERM_LOAN",
        "currency": "NGN",
        "initialState": "PENDING_APPROVAL",
        "description": "test product",
        "userType": [
            "clients",
            "companies"
        ],
        "branch": [
            "all_branches or id of the individual branches the product will be available to"
        ],
        "enableLinking": false,
        "minAmount": 10000,
        "maxAmount": 10000000,
        "interest": {
            "daysInAYear": 365,
            "interestType": "SIMPLE_INTEREST",
            "interestCharged": "%_PER_YEAR",
            "interestPosting": "ON_DISBURSEMENT",
            "maxInterestRate": 40,
            "minInterestRate": 30,
            "repaymentInterest": "REPAYMENT_PERIOD",
            "defaultInterestRate": 35,
            "interestCalculation": "DECLINING_BALANCE"
        },
        "scheduling": {
            "paymentMade": {
                "value": 1,
                "period": "WEEK/MONTH/YEAR"
            },
            "paymentMethod": "STANDARD_PAYMENT",
            "maxGracePeriod": 5,
            "minGracePeriod": 2,
            "maxInstallments": 10,
            "minInstallments": 4,
            "paymentInterval": "INTERVAL",
            "maxDueDateOffset": 3,
            "minDueDateOffset": 1,
            "enableGracePeriod": true,
            "defaultGracePeriod": 3,
            "principalCollected": 1,
            "defaultInstallments": 6,
            "defaultDueDateOffset": 2,
            "currencyRoundingSchedule": "NO_ROUNDING",
            "principalRoundingSchedule": "NO_ROUNDING"
        },
        "collection": {
            "acceptPrepayment": false,
            "paymentAllocation": "HORIZONTAL",
            "prepaymentAllocationOrder": {
                "fee": 0,
                "penalty": 1,
                "interest": 2,
                "principal": 3
            }
        },
        "penalty": {
            "enablePenalty": false
        },
        "security": {
            "enableCollateral": false,
            "enableFundingSource": false
        },
        "accounting": {
            "feeIncome": "2029427635",
            "methodology": "ACCRUAL",
            "feeReceivable": "4048468827",
            "penaltyIncome": "2029427635",
            "interestIncome": "2029427635",
            "writeOffExpense": "1014905527",
            "portfolioControl": "4048468827",
            "penaltyReceivable": "4048468827",
            "transactionSource": "4048468827",
            "interestReceivable": "4048468827"
        },
        "fees": [
            {
                "value": 75,
                "feeName": "management fee",
                "feeType": "ON_DISBURSEMENT",
                "feePayment": "FLAT or PERCENTAGE_0F_DISBURSE_AMOUNT"
            }
        ]
        ]
    }
{
  "message": "Loan product has been updated succesfully"
}

Get all loan products

GET {base url}/v1/loanProducts?page={page}&perPage={perPage}

Get all company loan products

Query Parameters

Name
Type
Description

page

number

page to return

perPage

number

number of items per page

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

{
    "message": "unauthorized",
    "code": 92
}

{
    "data": [
        {
            "id": "79963366-6aad-489a-82db-84d5374f707a",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "testing new ",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "ererererer",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "ikeja",
                "marina, CMS"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 10000,
            "maxAmount": 100000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 8,
                "minInterestRate": 1,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 5,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 3,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 10,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 10,
                "defaultInstallments": 4,
                "defaultDueDateOffset": 4,
                "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 30,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "FIXED_INTEREST_COMMISION",
                "maxFundedInterestCommision": 50,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 30
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "1017320405",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-10-30T12:18:21.799Z",
            "updated_at": "2023-11-27T12:45:52.720Z"
        },
        {
            "id": "125c0936-6ab3-4cea-b54b-9ea8f94ea7fe",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "4eec1097-c286-4f4c-870b-d20abd5ddfe5",
            "name": "aaaaa",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 100,
            "maxAmount": 1000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 6,
                "minInterestRate": 2,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 4,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 7,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 9,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 3,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 3,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000165",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-06T11:38:59.175Z",
            "updated_at": "2023-09-07T19:25:35.731Z"
        },
        {
            "id": "a16967de-2e84-4267-9fb2-d5d751817c5d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "af70b82d-e71f-4926-adcc-5c646173ee33",
            "name": "test334455",
            "type": "TRANCH_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "wewewewewew",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": 10,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 10,
                "minInterestRate": 1,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 5,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 10,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 2,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 5,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "VERTICAL",
                "prepaymentRecalculation": "RESCHEDULE_REMAINING_PAYMENT",
                "applyInterestOnPrepayment": "MANUAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 10,
                "minPenaltyRate": 1,
                "defaultPenaltyRate": 5,
                "penaltyTolerancePeriod": 10,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 5,
                "enableCollateral": true,
                "enableFundingSource": false
            },
            "accounting": {
                "feeIncome": "0000000165",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-06T07:23:36.376Z",
            "updated_at": "2023-09-06T11:29:41.349Z"
        },
        {
            "id": "49d44b0e-52b3-4532-b601-c1090957f36c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "03a19bb1-3a5b-4434-9da7-ee61166317f4",
            "name": "a new loan334455",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "sdsdsdsd",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 15,
                "minInterestRate": 1,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 10,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 5,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 2,
                "defaultInstallments": 2,
                "defaultDueDateOffset": 5,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-04T08:21:05.671Z",
            "updated_at": "2023-09-04T08:21:05.671Z"
        },
        {
            "id": "f20ae394-c5db-41c6-ad0d-6d154ca0f5c0",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "new testish",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "sdsdsdsd",
            "userType": [
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 2000,
            "maxAmount": 4000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 100,
                "defaultInstallments": 20,
                "defaultDueDateOffset": 20,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_WITH_INTEREST_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 2,
                    "penalty": 0,
                    "interest": 1,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T13:53:17.959Z",
            "updated_at": "2023-09-01T13:53:17.959Z"
        },
        {
            "id": "24e7b10a-adda-455d-90f6-9199223aa842",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "compound flat interest",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "compound flat interest",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 30000,
            "maxAmount": 4000000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 16,
                "minInterestRate": 6,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 10,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 13,
                "minInstallments": 3,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 7,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 10,
                "defaultInstallments": 9,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T10:34:46.054Z",
            "updated_at": "2023-10-27T08:48:42.331Z"
        },
        {
            "id": "81968542-7692-4d32-862f-e450b5b045af",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "compound Flat interest",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "for simple flat interest test",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 20000,
            "maxAmount": 100000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 21,
                "minInterestRate": 8,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 17,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 5,
                "minGracePeriod": 1,
                "maxInstallments": 7,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 5,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 2,
                "principalCollected": 10,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T10:08:28.451Z",
            "updated_at": "2023-09-01T10:21:03.642Z"
        },
        {
            "id": "d9123589-c136-46af-90f7-3e2a166eb30d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "new test oan 34334343",
            "type": "INTEREST_FREE_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "dfdfdfdfd",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 1000,
                "minInterestRate": 10,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 100,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 10,
                    "period": "WEEK"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 400,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000178",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-29T11:07:28.029Z",
            "updated_at": "2023-08-30T16:27:48.516Z"
        },
        {
            "id": "1cb8f3a0-cca5-4aae-ad59-526a48e5d5f9",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "University Loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "new unddergraduate loan",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 20000,
            "maxAmount": 2000000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 20,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 11,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 6,
                "minGracePeriod": 2,
                "maxInstallments": 5,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 5,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 3,
                "principalCollected": 2,
                "defaultInstallments": 3,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 1,
                    "penalty": 0,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 18,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 14,
                "penaltyTolerancePeriod": 7,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 12,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-29T09:25:45.808Z",
            "updated_at": "2023-08-29T09:25:45.808Z"
        },
        {
            "id": "cfd72fb9-4680-4e64-8b18-c0bfc241d6e8",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "admin4567",
            "type": "REVOLVING_CREDIT",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing ",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 1000,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 100,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 10,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 200,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 100,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 200,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-24T15:28:20.052Z",
            "updated_at": "2023-08-28T16:19:40.996Z"
        },
        {
            "id": "fed36374-fcd2-4fac-a820-8100a6ae97af",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "4eec1097-c286-4f4c-870b-d20abd5ddfe5",
            "name": "test45",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "a test",
            "userType": [
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": "ACTUAL_360_FIXED",
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 3,
                    "period": "WEEKS"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 20,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_WITH_INTEREST_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "applyInterestOnPrepayment": "AUTOMATIC",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 400,
                "enableCollateral": true,
                "enableFundingSource": true,
                "maxInterestCommision": 100,
                "minInterestCommision": 10,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "defaultInterestCommision": 30
            },
            "accounting": {
                "feeIncome": "0000000178",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-17T08:39:05.389Z",
            "updated_at": "2023-08-22T08:26:29.836Z"
        },
        {
            "id": "fb0d417c-e7d0-4cf6-9345-fa0c6858f05c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "af70b82d-e71f-4926-adcc-5c646173ee33",
            "name": "test loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "abuja",
                "marina, CMS"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxGracePeriod": 10,
                "minGracePeriod": 1,
                "maxInstallments": 200,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": true,
                "defaultGracePeriod": 5,
                "principalCollected": 10,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "VERTICAL",
                "prepaymentRecalculation": "RESCHEDULE_REMAINING_PAYMENT",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 100,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 50
            },
            "accounting": {
                "feeIncome": "0000000152",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T17:53:34.789Z",
            "updated_at": "2023-12-09T17:04:29.286Z"
        },
        {
            "id": "2a4089bf-99c8-4eed-890e-3215851b340d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "040c299f-f78d-4688-aee1-ab80a79a92ec",
            "name": "test 3",
            "type": "INTEREST_FREE_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "a191a92b-84f9-40cb-8f1e-305dec259f8d"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 3000,
            "maxAmount": 30000,
            "tranches": null,
            "interest": {},
            "scheduling": {
                "paymentMade": {
                    "value": 30,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 20,
                "defaultInstallments": 20,
                "defaultDueDateOffset": 20,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "VERTICAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "FIXED_INTEREST_COMMISION",
                "maxFundedInterestCommision": 3000,
                "minFundedInterestCommision": 100,
                "defaultFundedInterestCommision": 300
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T15:47:23.662Z",
            "updated_at": "2023-10-20T09:17:05.973Z"
        },
        {
            "id": "0e2bd505-4da7-439c-adcd-a45cace459a4",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "test loan product 2",
            "type": "DYNAMIC_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "740f3847-407f-4c24-8f3b-705d741c06ed"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 1000000,
            "tranches": null,
            "interest": {},
            "scheduling": {
                "paymentMade": {
                    "value": 20,
                    "period": "MONTHS"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 4,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_WITH_INTTEREST_*_#_NO_LATE_DAYS_*_PENALTYRATE"
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 100,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 50
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T15:26:02.368Z",
            "updated_at": "2023-08-12T15:36:48.930Z"
        },
        {
            "id": "07f4dc4f-aef9-4f93-9794-c62fdf5e562c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "first loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "first loan product",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 500000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 19,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 14,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 14,
                "minGracePeriod": 7,
                "maxInstallments": 14,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 7,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 12,
                "principalCollected": 4,
                "defaultInstallments": 7,
                "defaultDueDateOffset": 3,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 21,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 16,
                "penaltyTolerancePeriod": 12,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 12,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 15,
                "minFundedInterestCommision": 8,
                "defaultFundedInterestCommision": 13
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-09T04:59:50.802Z",
            "updated_at": "2023-09-01T09:57:24.343Z"
        }
    ]
}```json
{
    "data": [
        {
            "id": "79963366-6aad-489a-82db-84d5374f707a",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "testing new ",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "ererererer",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "ikeja",
                "marina, CMS"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 10000,
            "maxAmount": 100000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 8,
                "minInterestRate": 1,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 5,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 3,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 10,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 10,
                "defaultInstallments": 4,
                "defaultDueDateOffset": 4,
                "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 30,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "FIXED_INTEREST_COMMISION",
                "maxFundedInterestCommision": 50,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 30
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "1017320405",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-10-30T12:18:21.799Z",
            "updated_at": "2023-11-27T12:45:52.720Z"
        },
        {
            "id": "125c0936-6ab3-4cea-b54b-9ea8f94ea7fe",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "4eec1097-c286-4f4c-870b-d20abd5ddfe5",
            "name": "aaaaa",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 100,
            "maxAmount": 1000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 6,
                "minInterestRate": 2,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 4,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 7,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 9,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 3,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 3,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000165",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-06T11:38:59.175Z",
            "updated_at": "2023-09-07T19:25:35.731Z"
        },
        {
            "id": "a16967de-2e84-4267-9fb2-d5d751817c5d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "af70b82d-e71f-4926-adcc-5c646173ee33",
            "name": "test334455",
            "type": "TRANCH_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "wewewewewew",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": 10,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 10,
                "minInterestRate": 1,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 5,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 10,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 2,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 5,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "VERTICAL",
                "prepaymentRecalculation": "RESCHEDULE_REMAINING_PAYMENT",
                "applyInterestOnPrepayment": "MANUAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 10,
                "minPenaltyRate": 1,
                "defaultPenaltyRate": 5,
                "penaltyTolerancePeriod": 10,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 5,
                "enableCollateral": true,
                "enableFundingSource": false
            },
            "accounting": {
                "feeIncome": "0000000165",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-06T07:23:36.376Z",
            "updated_at": "2023-09-06T11:29:41.349Z"
        },
        {
            "id": "49d44b0e-52b3-4532-b601-c1090957f36c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "03a19bb1-3a5b-4434-9da7-ee61166317f4",
            "name": "a new loan334455",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "sdsdsdsd",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 15,
                "minInterestRate": 1,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 10,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 5,
                "minInstallments": 1,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 10,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 2,
                "defaultInstallments": 2,
                "defaultDueDateOffset": 5,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-04T08:21:05.671Z",
            "updated_at": "2023-09-04T08:21:05.671Z"
        },
        {
            "id": "f20ae394-c5db-41c6-ad0d-6d154ca0f5c0",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "new testish",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "sdsdsdsd",
            "userType": [
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 2000,
            "maxAmount": 4000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 2,
                    "period": "WEEK"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 100,
                "defaultInstallments": 20,
                "defaultDueDateOffset": 20,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_WITH_INTEREST_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 2,
                    "penalty": 0,
                    "interest": 1,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T13:53:17.959Z",
            "updated_at": "2023-09-01T13:53:17.959Z"
        },
        {
            "id": "24e7b10a-adda-455d-90f6-9199223aa842",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "compound flat interest",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "compound flat interest",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 30000,
            "maxAmount": 4000000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 16,
                "minInterestRate": 6,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 10,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 13,
                "minInstallments": 3,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 7,
                "minDueDateOffset": 1,
                "enableGracePeriod": false,
                "principalCollected": 10,
                "defaultInstallments": 9,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T10:34:46.054Z",
            "updated_at": "2023-10-27T08:48:42.331Z"
        },
        {
            "id": "81968542-7692-4d32-862f-e450b5b045af",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "compound Flat interest",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "for simple flat interest test",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 20000,
            "maxAmount": 100000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 21,
                "minInterestRate": 8,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 17,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 5,
                "minGracePeriod": 1,
                "maxInstallments": 7,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 5,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 2,
                "principalCollected": 10,
                "defaultInstallments": 5,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-09-01T10:08:28.451Z",
            "updated_at": "2023-09-01T10:21:03.642Z"
        },
        {
            "id": "d9123589-c136-46af-90f7-3e2a166eb30d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "new test oan 34334343",
            "type": "INTEREST_FREE_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "dfdfdfdfd",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 360,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 1000,
                "minInterestRate": 10,
                "repaymentInterest": "NUMBER_OF_DAYS",
                "defaultInterestRate": 100,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 10,
                    "period": "WEEK"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 400,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000178",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-29T11:07:28.029Z",
            "updated_at": "2023-08-30T16:27:48.516Z"
        },
        {
            "id": "1cb8f3a0-cca5-4aae-ad59-526a48e5d5f9",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "University Loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "new unddergraduate loan",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 20000,
            "maxAmount": 2000000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 20,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 11,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 6,
                "minGracePeriod": 2,
                "maxInstallments": 5,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 5,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 3,
                "principalCollected": 2,
                "defaultInstallments": 3,
                "defaultDueDateOffset": 2,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 1,
                    "penalty": 0,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 18,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 14,
                "penaltyTolerancePeriod": 7,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 12,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-29T09:25:45.808Z",
            "updated_at": "2023-08-29T09:25:45.808Z"
        },
        {
            "id": "cfd72fb9-4680-4e64-8b18-c0bfc241d6e8",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "admin4567",
            "type": "REVOLVING_CREDIT",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing ",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 1000,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 100,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 10,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 200,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 100,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 200,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN"
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-24T15:28:20.052Z",
            "updated_at": "2023-08-28T16:19:40.996Z"
        },
        {
            "id": "fed36374-fcd2-4fac-a820-8100a6ae97af",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "4eec1097-c286-4f4c-870b-d20abd5ddfe5",
            "name": "test45",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "a test",
            "userType": [
                "companies"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": "ACTUAL_360_FIXED",
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_YEAR",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 3,
                    "period": "WEEKS"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 20,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_WITH_INTEREST_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "HORIZONTAL",
                "applyInterestOnPrepayment": "AUTOMATIC",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 400,
                "enableCollateral": true,
                "enableFundingSource": true,
                "maxInterestCommision": 100,
                "minInterestCommision": 10,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "defaultInterestCommision": 30
            },
            "accounting": {
                "feeIncome": "0000000178",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-17T08:39:05.389Z",
            "updated_at": "2023-08-22T08:26:29.836Z"
        },
        {
            "id": "fb0d417c-e7d0-4cf6-9345-fa0c6858f05c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "af70b82d-e71f-4926-adcc-5c646173ee33",
            "name": "test loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PARTIAL_APPLICATION",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "abuja",
                "marina, CMS"
            ],
            "enableLinking": true,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 10000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "COMPOUND_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_REPAYMENT",
                "maxInterestRate": 100,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 50,
                "interestCalculation": "DECLINING_BALANCE"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxGracePeriod": 10,
                "minGracePeriod": 1,
                "maxInstallments": 200,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": true,
                "defaultGracePeriod": 5,
                "principalCollected": 10,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": true,
                "paymentAllocation": "VERTICAL",
                "prepaymentRecalculation": "RESCHEDULE_REMAINING_PAYMENT",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 100,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 50
            },
            "accounting": {
                "feeIncome": "0000000152",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T17:53:34.789Z",
            "updated_at": "2023-12-09T17:04:29.286Z"
        },
        {
            "id": "2a4089bf-99c8-4eed-890e-3215851b340d",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": "040c299f-f78d-4688-aee1-ab80a79a92ec",
            "name": "test 3",
            "type": "INTEREST_FREE_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "a191a92b-84f9-40cb-8f1e-305dec259f8d"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 3000,
            "maxAmount": 30000,
            "tranches": null,
            "interest": {},
            "scheduling": {
                "paymentMade": {
                    "value": 30,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 20,
                "defaultInstallments": 20,
                "defaultDueDateOffset": 20,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "VERTICAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": false
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "FIXED_INTEREST_COMMISION",
                "maxFundedInterestCommision": 3000,
                "minFundedInterestCommision": 100,
                "defaultFundedInterestCommision": 300
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "portfolioControl": "0000000181",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T15:47:23.662Z",
            "updated_at": "2023-10-20T09:17:05.973Z"
        },
        {
            "id": "0e2bd505-4da7-439c-adcd-a45cace459a4",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "test loan product 2",
            "type": "DYNAMIC_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "testing",
            "userType": [
                "clients",
                "companies"
            ],
            "branch": [
                "740f3847-407f-4c24-8f3b-705d741c06ed"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 1000000,
            "tranches": null,
            "interest": {},
            "scheduling": {
                "paymentMade": {
                    "value": 20,
                    "period": "MONTHS"
                },
                "paymentMethod": "BALLON_PAYMENT",
                "maxInstallments": 100,
                "minInstallments": 10,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 100,
                "minDueDateOffset": 10,
                "enableGracePeriod": false,
                "principalCollected": 4,
                "defaultInstallments": 50,
                "defaultDueDateOffset": 50,
                "currencyRoundingSchedule": "NO_ROUNDING",
                "principalRoundingSchedule": "NO_ROUNDING"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 100,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 50,
                "penaltyTolerancePeriod": 50,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_WITH_INTTEREST_*_#_NO_LATE_DAYS_*_PENALTYRATE"
            },
            "security": {
                "enableCollateral": false,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 100,
                "minFundedInterestCommision": 10,
                "defaultFundedInterestCommision": 50
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-12T15:26:02.368Z",
            "updated_at": "2023-08-12T15:36:48.930Z"
        },
        {
            "id": "07f4dc4f-aef9-4f93-9794-c62fdf5e562c",
            "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
            "depositProductId": null,
            "name": "first loan",
            "type": "FIXED_TERM_LOAN",
            "currency": "NGN",
            "initialState": "PENDING_APPROVAL",
            "description": "first loan product",
            "userType": [
                "companies",
                "clients"
            ],
            "branch": [
                "all_branches"
            ],
            "enableLinking": false,
            "enablePenalty": false,
            "minAmount": 1000,
            "maxAmount": 500000,
            "tranches": null,
            "interest": {
                "daysInAYear": 365,
                "interestType": "SIMPLE_INTEREST",
                "interestCharged": "%_PER_MONTH",
                "interestPosting": "ON_DISBURSEMENT",
                "maxInterestRate": 19,
                "minInterestRate": 10,
                "repaymentInterest": "REPAYMENT_PERIOD",
                "defaultInterestRate": 14,
                "interestCalculation": "FLAT"
            },
            "scheduling": {
                "paymentMade": {
                    "value": 1,
                    "period": "MONTH"
                },
                "paymentMethod": "STANDARD_PAYMENT",
                "maxGracePeriod": 14,
                "minGracePeriod": 7,
                "maxInstallments": 14,
                "minInstallments": 2,
                "paymentInterval": "INTERVAL",
                "maxDueDateOffset": 7,
                "minDueDateOffset": 1,
                "enableGracePeriod": true,
                "defaultGracePeriod": 12,
                "principalCollected": 4,
                "defaultInstallments": 7,
                "defaultDueDateOffset": 3,
                "currencyRoundingSchedule": "TO_NEAREST_WHOLE_UNIT",
                "principalRoundingSchedule": "PRINCIPAL_REMAINDER_TO_LAST_REPAYMENT"
            },
            "collection": {
                "acceptPrepayment": false,
                "paymentAllocation": "HORIZONTAL",
                "prepaymentAllocationOrder": {
                    "fee": 0,
                    "penalty": 1,
                    "interest": 2,
                    "principal": 3
                }
            },
            "penalty": {
                "enablePenalty": true,
                "maxPenaltyRate": 21,
                "minPenaltyRate": 10,
                "defaultPenaltyRate": 16,
                "penaltyTolerancePeriod": 12,
                "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
            },
            "security": {
                "requireSecurity": 12,
                "enableCollateral": true,
                "enableFundingSource": false,
                "funderInterestCommision": "PERCENTAGE_OF_LOAN",
                "maxFundedInterestCommision": 15,
                "minFundedInterestCommision": 8,
                "defaultFundedInterestCommision": 13
            },
            "accounting": {
                "feeIncome": "0000000181",
                "methodology": "ACCRUAL",
                "feeReceivable": "0000000181",
                "penaltyIncome": "0000000152",
                "interestIncome": "0000000152",
                "writeOffExpense": "40927315414",
                "penaltyReceivable": "0000000181",
                "transactionSource": "0000000181",
                "interestReceivable": "0000000181"
            },
            "status": "active",
            "created_at": "2023-08-09T04:59:50.802Z",
            "updated_at": "2023-09-01T09:57:24.343Z"
        }
{
  "data": [
      {
          "id": "79963366-6aad-489a-82db-84d5374f707a",
          "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
          "depositProductId": null,
          "name": "testing new ",
          "type": "FIXED_TERM_LOAN",
          "currency": "NGN",
          "initialState": "PENDING_APPROVAL",
          "description": "ererererer",
          "userType": [
              "clients",
              "companies"
          ],
          "branch": [
              "ikeja",
              "marina, CMS"
          ],
          "enableLinking": false,
          "enablePenalty": false,
          "minAmount": 10000,
          "maxAmount": 100000,
          "tranches": null,
          "interest": {
              "daysInAYear": 360,
              "interestType": "SIMPLE_INTEREST",
              "interestCharged": "%_PER_MONTH",
              "interestPosting": "ON_DISBURSEMENT",
              "maxInterestRate": 8,
              "minInterestRate": 1,
              "repaymentInterest": "REPAYMENT_PERIOD",
              "defaultInterestRate": 5,
              "interestCalculation": "FLAT"
          },
          "scheduling": {
              "paymentMade": {
                  "value": 3,
                  "period": "MONTH"
              },
              "paymentMethod": "BALLON_PAYMENT",
              "maxInstallments": 10,
              "minInstallments": 1,
              "paymentInterval": "INTERVAL",
              "maxDueDateOffset": 10,
              "minDueDateOffset": 1,
              "enableGracePeriod": false,
              "principalCollected": 10,
              "defaultInstallments": 4,
              "defaultDueDateOffset": 4,
              "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
              "principalRoundingSchedule": "NO_ROUNDING"
          },
          "collection": {
              "acceptPrepayment": false,
              "paymentAllocation": "HORIZONTAL",
              "prepaymentAllocationOrder": {
                  "fee": 0,
                  "penalty": 1,
                  "interest": 2,
                  "principal": 3
              }
          },
          "penalty": {
              "enablePenalty": false,
              "maxPenaltyRate": 100,
              "minPenaltyRate": 10,
              "defaultPenaltyRate": 30,
              "penaltyTolerancePeriod": 50,
              "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
          },
          "security": {
              "enableCollateral": false,
              "enableFundingSource": false,
              "funderInterestCommision": "FIXED_INTEREST_COMMISION",
              "maxFundedInterestCommision": 50,
              "minFundedInterestCommision": 10,
              "defaultFundedInterestCommision": 30
          },
          "accounting": {
              "feeIncome": "0000000181",
              "methodology": "ACCRUAL",
              "feeReceivable": "0000000181",
              "penaltyIncome": "0000000152",
              "interestIncome": "0000000152",
              "writeOffExpense": "1017320405",
              "portfolioControl": "0000000181",
              "penaltyReceivable": "0000000181",
              "transactionSource": "0000000181",
              "interestReceivable": "0000000181"
          },
          "status": "active",
          "created_at": "2023-10-30T12:18:21.799Z",
          "updated_at": "2023-11-27T12:45:52.720Z"
      }
  ],
  "pagination": {
      "currentPage": 1,
      "perPage": 15,
      "totalCount": 15,
      "totalPages": 1,
      "previousPage": 0,
      "nextPage": 1
  }
}

Get loan product details

GET {base url}/v1/loanProducts/{loanId}

Get single loan product details

Query Parameter

Name
Type
Description

loanId*

string

Loan product id

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

{
    "message": "unauthorized",
    "code": 92
}

{
    "data": {
        "id": "79963366-6aad-489a-82db-84d5374f707a",
        "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
        "depositProductId": null,
        "name": "testing new ",
        "type": "FIXED_TERM_LOAN",
        "currency": "NGN",
        "initialState": "PENDING_APPROVAL",
        "description": "ererererer",
        "userType": [
            "clients",
            "companies"
        ],
        "branch": [
            "ikeja",
            "marina, CMS"
        ],
        "enableLinking": false,
        "enablePenalty": false,
        "minAmount": 10000,
        "maxAmount": 100000,
        "tranches": null,
        "interest": {
            "daysInAYear": 360,
            "interestType": "SIMPLE_INTEREST",
            "interestCharged": "%_PER_MONTH",
            "interestPosting": "ON_DISBURSEMENT",
            "maxInterestRate": 8,
            "minInterestRate": 1,
            "repaymentInterest": "REPAYMENT_PERIOD",
            "defaultInterestRate": 5,
            "interestCalculation": "FLAT"
        },
        "scheduling": {
            "paymentMade": {
                "value": 3,
                "period": "MONTH"
            },
            "paymentMethod": "BALLON_PAYMENT",
            "maxInstallments": 10,
            "minInstallments": 1,
            "paymentInterval": "INTERVAL",
            "maxDueDateOffset": 10,
            "minDueDateOffset": 1,
            "enableGracePeriod": false,
            "principalCollected": 10,
            "defaultInstallments": 4,
            "defaultDueDateOffset": 4,
            "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
            "principalRoundingSchedule": "NO_ROUNDING"
        },
        "collection": {
            "acceptPrepayment": false,
            "paymentAllocation": "HORIZONTAL",
            "prepaymentAllocationOrder": {
                "fee": 0,
                "penalty": 1,
                "interest": 2,
                "principal": 3
            }
        },
        "penalty": {
            "enablePenalty": false,
            "maxPenaltyRate": 100,
            "minPenaltyRate": 10,
            "defaultPenaltyRate": 30,
            "penaltyTolerancePeriod": 50,
            "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
        },
        "security": {
            "enableCollateral": false,
            "enableFundingSource": false,
            "funderInterestCommision": "FIXED_INTEREST_COMMISION",
            "maxFundedInterestCommision": 50,
            "minFundedInterestCommision": 10,
            "defaultFundedInterestCommision": 30
        },
        "accounting": {
            "feeIncome": "0000000181",
            "methodology": "ACCRUAL",
            "feeReceivable": "0000000181",
            "penaltyIncome": "0000000152",
            "interestIncome": "0000000152",
            "writeOffExpense": "1017320405",
            "portfolioControl": "0000000181",
            "penaltyReceivable": "0000000181",
            "transactionSource": "0000000181",
            "interestReceivable": "0000000181"
        },
        "status": "active",
        "created_at": "2023-10-30T12:18:21.799Z",
        "updated_at": "2023-11-27T12:45:52.720Z",
        "productFees": [
            {
                "id": "3607de7a-0023-4666-8395-ae1662a6c4e6",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-10-30T12:18:21.799Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "d2a4dc5c-be53-4dec-9b8f-506a242a9d9d",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-01T10:21:10.776Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "6f75cb82-e25b-41ea-86ac-dad84d00d475",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:27:17.906Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "0e0e511d-4952-4d73-944e-40ae65cdeefe",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:33:12.514Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "4bd7ee7f-5b82-4514-94dd-8928f61f66d2",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:18:32.572Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "533d86fd-6b52-44c3-b7e4-bd923c9cf54e",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:26:51.685Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "6d26f4a6-943f-4fba-bf69-9b4f55cf9b81",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:33:52.355Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            }
        ]
    }
}
{
    "data": {
        "id": "79963366-6aad-489a-82db-84d5374f707a",
        "organizationId": "a5f38f16-6c44-408f-b7ff-6775f02b83ac",
        "depositProductId": null,
        "name": "testing new ",
        "type": "FIXED_TERM_LOAN",
        "currency": "NGN",
        "initialState": "PENDING_APPROVAL",
        "description": "ererererer",
        "userType": [
            "clients",
            "companies"
        ],
        "branch": [
            "ikeja",
            "marina, CMS"
        ],
        "enableLinking": false,
        "enablePenalty": false,
        "minAmount": 10000,
        "maxAmount": 100000,
        "tranches": null,
        "interest": {
            "daysInAYear": 360,
            "interestType": "SIMPLE_INTEREST",
            "interestCharged": "%_PER_MONTH",
            "interestPosting": "ON_DISBURSEMENT",
            "maxInterestRate": 8,
            "minInterestRate": 1,
            "repaymentInterest": "REPAYMENT_PERIOD",
            "defaultInterestRate": 5,
            "interestCalculation": "FLAT"
        },
        "scheduling": {
            "paymentMade": {
                "value": 3,
                "period": "MONTH"
            },
            "paymentMethod": "BALLON_PAYMENT",
            "maxInstallments": 10,
            "minInstallments": 1,
            "paymentInterval": "INTERVAL",
            "maxDueDateOffset": 10,
            "minDueDateOffset": 1,
            "enableGracePeriod": false,
            "principalCollected": 10,
            "defaultInstallments": 4,
            "defaultDueDateOffset": 4,
            "currencyRoundingSchedule": "UP_TO_NEAREST_WHOLE_UNIT",
            "principalRoundingSchedule": "NO_ROUNDING"
        },
        "collection": {
            "acceptPrepayment": false,
            "paymentAllocation": "HORIZONTAL",
            "prepaymentAllocationOrder": {
                "fee": 0,
                "penalty": 1,
                "interest": 2,
                "principal": 3
            }
        },
        "penalty": {
            "enablePenalty": false,
            "maxPenaltyRate": 100,
            "minPenaltyRate": 10,
            "defaultPenaltyRate": 30,
            "penaltyTolerancePeriod": 50,
            "penaltyCalculationMethod": "OVERDUE_PRINCIPAL_*#_OF_LATE_DAYS_*_PENALTY_RATE"
        },
        "security": {
            "enableCollateral": false,
            "enableFundingSource": false,
            "funderInterestCommision": "FIXED_INTEREST_COMMISION",
            "maxFundedInterestCommision": 50,
            "minFundedInterestCommision": 10,
            "defaultFundedInterestCommision": 30
        },
        "accounting": {
            "feeIncome": "0000000181",
            "methodology": "ACCRUAL",
            "feeReceivable": "0000000181",
            "penaltyIncome": "0000000152",
            "interestIncome": "0000000152",
            "writeOffExpense": "1017320405",
            "portfolioControl": "0000000181",
            "penaltyReceivable": "0000000181",
            "transactionSource": "0000000181",
            "interestReceivable": "0000000181"
        },
        "status": "active",
        "created_at": "2023-10-30T12:18:21.799Z",
        "updated_at": "2023-11-27T12:45:52.720Z",
        "productFees": [
            {
                "id": "3607de7a-0023-4666-8395-ae1662a6c4e6",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-10-30T12:18:21.799Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "d2a4dc5c-be53-4dec-9b8f-506a242a9d9d",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-01T10:21:10.776Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "6f75cb82-e25b-41ea-86ac-dad84d00d475",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:27:17.906Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "0e0e511d-4952-4d73-944e-40ae65cdeefe",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:33:12.514Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "4bd7ee7f-5b82-4514-94dd-8928f61f66d2",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:18:32.572Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "533d86fd-6b52-44c3-b7e4-bd923c9cf54e",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:26:51.685Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            },
            {
                "id": "6d26f4a6-943f-4fba-bf69-9b4f55cf9b81",
                "loanProductId": "79963366-6aad-489a-82db-84d5374f707a",
                "fees": [
                    {
                        "value": 200,
                        "feeName": "test 1 2",
                        "feeType": "ON_EVERY_REPAYMENT",
                        "feePayment": "FLAT"
                    },
                    {
                        "value": 2,
                        "feeName": "one of off fee",
                        "feeType": "ONE_OFF_ON_FIRST_REPAYMENT",
                        "feePayment": "PERCENTAGE_0F_DISBURSE_AMOUNT"
                    }
                ],
                "created_at": "2023-11-06T12:33:52.355Z",
                "updated_at": "2023-11-27T12:45:52.777Z"
            }
        ]
    }stri
PreviousCompany documentsNextLoans

Last updated 8 months ago

Was this helpful?