---
title: "LoanActivitySegment"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/LoanActivitySegment"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# LoanActivitySegment

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://qa.api.zinnia.io
components:
  schemas:
    SegmentActivity:
      type: object
      properties:
        segmentId:
          type: string
          description: A unique identifier assigned to a particular segment for a specific
            fund account within the investment structure
          example: segment1
        appliedRate:
          type: number
          description: "For funds: The rate at which an activity (e.g., interest,
            withdrawal, allocation) is applied. For match: The percentage rate
            at which the match or bonus contribution current value grows. For
            loans: The interest rate applied to the loan balance to calculate
            accrued interest"
          format: double
          example: 100
        appliedAmount:
          type: number
          description: "For funds: The specific amount or percentage applied for
            withdrawal, transfer, or reallocation from the particular segment
            selected for a fund. For match: This is transaction level amount
            which tracks changes to match current value. This gets calculated on
            events such as interest credit match, premium, match bonus vesting.
            For loans: This is transaction level amount which tracks changes to
            loan balance . This gets calculated on events such as interest
            loan,loan repayment, loan true up,new loan,etc."
          format: double
          example: 100
        appliedInterest:
          type: number
          description: Applied Interest refers to the amount of loan interest that has
            been posted (charged) to the policy’s outstanding loan balance
            during a specific accounting period. This interest is based on the
            terms of the policy loan, such as the loan type (fixed or variable),
            rate, and method of interest
          format: double
          example: 100
    LoanActivitySegment:
      type: object
      properties:
        segmentId:
          type: string
          description: A unique identifier assigned to a specific loan segment
          example: Segment1
        loanBalance:
          type: number
          description: The outstanding loan amount, including both principal and accrued
            interest at segment level
          example: 100
          format: double
        loanAccruedInterest:
          type: number
          description: The accumulated interest on the outstanding loan balance at segment
            level
          example: 100
          format: double
        percentageOfAccountValue:
          type: number
          description: Percentage of Account Value refers to a value that is calculated as
            a percentage of the total account value of an insurance or annuity
            contract. It is often used to determine allocations, fees, benefits,
            or charges that are based on how much money is currently held in the
            policy's account value.
          example: 1500.72
          format: double
        repaymentInterestAmount:
          type: number
          example: 100
          format: double
          description: Loan Interest Repaid with current Repayment Transaction
        segmentActivity:
          $ref: "#/components/schemas/SegmentActivity"
```
