# Context Engine Glossary – Payments

**General**

The context engine is a large database of retrievable variables, available for use throughout LoanPro software.

Because the payment variable includes multiple elements (there is usually more than one payment made on an account), this variable will usually need to be used in a loop. For information on how to select single values out of an array-style variable like this one see Working with Custom Forms Variables.

Here is an example of a loop, with an explanation of each element:

The following is a list of all available properties for this variable. The list elements are formatted as follows:

Property | Example of the property being used in a loop with the payments variable | Explanation of the property |

system-id | [[BEGIN payments]] [[$system-id]],[[END]] | Displays the system ID of each payment that has been made on an account. |

display-id | [[BEGIN payments]] [[$display-id]],[[END]] | Displays the display ID of each payment that has been made on an account. |

payment-method | [[BEGIN payments]] [[$payment-method]],[[END]] | Displays the payment method of each payment that has been made on an account. |

payment-info | [[BEGIN payments]] [[$payment-info]],[[END]] | Displays the info of each payment that has been made on an account. |

payment-date | [[BEGIN payments]] [[$payment-date]],[[END]] | Displays the date of each payment that has been made on an account. |

full-payment-amount | [[BEGIN payments]] [[$full-payment-amount]],[[END]] | Displays the total amount of each payment that has been made on an account. |

payment-fee-amount | [[BEGIN payments]] [[$payment-fee-amount]],[[END]] | Displays the amount that went towards fees of each payment that has been made on an account. |

payment-amount | [[BEGIN payments]] [[$payment-amount]],[[END]] | Displays the amount of each payment being applied to an account. |

after-days-past-due | [[BEGIN payments]] [[$after-days-past-due]],[[END]] | Displays the new amount of days past due after each payment that has been made on an account. |

after-amount-past-due | [[BEGIN payments]] [[$after-amount-past-due]],[[END]] | Displays the new amount past due after each payment that has been made on an account. |

after-next-due-amount | [[BEGIN payments]] [[$after-next-due-amount]],[[END]] | Displays the new next amount due after each payment that has been made on an account. |

after-next-due-date | [[BEGIN payments]] [[$after-next-due-date]],[[END]] | Displays the new next due date after each payment that has been made on an account. |

after-payoff | [[BEGIN payments]] [[$after-payoff]],[[END]] | Displays the remaining payoff amount after each payment that has been made on an account. |

after-principal-balance | [[BEGIN payments]] [[$after-principal-balance]],[[END]] | Displays the remaining principal balance after each payment that has been made on an account. |

before-days-past-due | [[BEGIN payments]] [[$before-days-past-due]],[[END]] | Displays the days past due on an account prior to each payment that has been made on the account. |

before-amount-past-due | [[BEGIN payments]] [[$before-amount-past-due]],[[END]] | Displays the amount past due on an account prior to each payment that has been made on the account. |

before-next-due-amount | [[BEGIN payments]] [[$before-next-due-amount]],[[END]] | Displays the next due amount on an account prior to each payment that has been made on the account. |

before-next-due-date | [[BEGIN payments]] [[$before-next-due-date]],[[END]] | Displays the next due date on an account prior to each payment that has been made on the account. |

before-payoff | [[BEGIN payments]] [[$before-payoff]],[[END]] | Displays the payoff amount prior to each individual payment that has been made on an account. |

before-principal-balance | [[BEGIN payments]] [[$before-principal-balance]],[[END]] | Displays the remaining principal balance prior to each individual payment that has been made on an account. |

loan-substatus | [[BEGIN payments]] [[$loan-substatus]],[[END]] | Displays the loan substatus of an account at the time of each payment that has been made on the account. |

loan-status | [[BEGIN payments]] [[$loan-status]],[[END]] | Displays the loan status of an account at the time of each payment that has been made on the account. |