MaxLoanCalculatorRequest
Inputs for the Max Loan Calculator — a stateless serviceability calculation that estimates how much each major NZ bank (ANZ, ASB, BNZ, Kiwibank, Westpac) could lend, based on the applicants' income, existing liabilities and living expenses. Not tied to any client or application; nothing is stored. All amounts are sent as strings (NZD).
Required: applicants, dependants, app1AnnualGrossIncome and proposedLoanTerm. app2AnnualGrossIncome is also required when applicants = "2". All other fields are optional.
Living expenses: by default (useBankBenchmark = "Y") the bank's own benchmark living-expense figure is used and the individual expense fields below (rentBoard … clothingPersonalCare) are ignored. Set useBankBenchmark = "N" to have the calculator use the declared expense fields instead. Income, liability and loan-term fields are always used.
- app1Type: string
Annual Gross Income requiredRequired. Applicant 1's gross (before-tax) income per year, in NZD.
- applicantsType: stringrequired
Required. Number of loan applicants. Allowed values: '1' or '2'.
- dependantsType: stringrequired
Required. Number of financial dependants (e.g. children). Allowed values: '0' to '5'.
- proposedType: string
Loan Term requiredRequired. Proposed loan term in whole years, 1–30 (affects repayments and therefore max lending). Defaults to '30'.
- app1Type: string
Student Loan Does Applicant 1 have an NZ student loan (adds a repayment obligation)? 'Y' or 'N'.
- app2Type: string
Annual Gross Income Applicant 2's gross (before-tax) income per year, in NZD. Required when applicants = '2'; leave empty for a single applicant.
- app2Type: string
Student Loan Does Applicant 2 have an NZ student loan? 'Y' or 'N'.
- boarderType: string
Income Gross Weekly Gross weekly income received from boarders/flatmates (NZD/week).
- bodyType: string
Corp Ground Rent Body corporate fees and ground rent. Only used when useBankBenchmark = 'N'.
- childcareType: string
Schooling Childcare and schooling costs. Only used when useBankBenchmark = 'N'.
- childType: string
Support Child support / maintenance payments. Only used when useBankBenchmark = 'N'.
- clothingType: string
Personal Care Clothing and personal care. Only used when useBankBenchmark = 'N'.
- creditType: string
Card Limit Total approved credit-card limit across all cards (NZD). The limit, not the balance owing.
- existingType: string
Mortgages Total outstanding balance of existing mortgages that will remain after this loan (NZD).
- groceriesType: string
Food Groceries and food. Only used when useBankBenchmark = 'N'.
- hireType: string
Purchase Other Loan Monthly Payment Total monthly payment on hire purchase and any other loans (NZD/month).
- homeType: string
Content Car Insurance Home, contents and vehicle insurance premiums. Only used when useBankBenchmark = 'N'.
- kiwisaverType: string
Contribution KiwiSaver contributions. Only used when useBankBenchmark = 'N'.
- lifeType: string
Health Insurance Life and health insurance premiums. Only used when useBankBenchmark = 'N'.
- otherType: string
Expenses Any other regular living expenses not covered above. Only used when useBankBenchmark = 'N'.
- otherType: string
Income Net Weekly Any other net (after-tax) income per week, e.g. benefits or dividends (NZD/week).
- overdraftType: string
Limit Total approved overdraft facility limit across accounts (NZD). The limit, not the drawn amount.
- personalType: string
Loan Monthly Repayment Total monthly repayment on personal loans (NZD/month).
- phoneType: string
Internet Phone and internet costs. Only used when useBankBenchmark = 'N'.
- ratesType: string
Water Council rates and water charges. Only used when useBankBenchmark = 'N'.
- rentalType: string
Income Gross Weekly Gross weekly rental income from investment property, before expenses (NZD/week).
- rentType: string
Board Rent or board paid by the applicants. Only used when useBankBenchmark = 'N'.
- transportType: string
Vehicle Transport and vehicle running costs (fuel, servicing, public transport). Only used when useBankBenchmark = 'N'.
- useType: string
Bank Benchmark Which living-expense figure the calculation uses. 'Y' (default) = use each bank's benchmark living-expense estimate and IGNORE the individual expense fields below. 'N' = use the declared expense fields below instead. 'Y' or 'N'.
- utilitiesType: string
Utilities such as power and gas. Only used when useBankBenchmark = 'N'.