Get exact payment
get_paymentCalculate the exact monthly payment for one car the buyer has chosen, on the buyer's terms, with the same engine as hunter.lease. Returns the monthly payment before tax, term, miles per year, amount due at signing, money factor and residual (lease) or APR (finance), MSRP, selling price, incentives, tax rate, the service fee when it is on, and a deal_url whose page shows this same figure. Unset inputs default to how the car's page opens: lease, the car's best term, 7,500 miles a year (or the lowest the make offers), Tier 1 · 740+, ZIP 90210 and the amount due at signing shown for this car. Terms are final only for the stated tier, and the bank decides approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"car_id": "<car_id>"
},
"name": "get_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Buyer California ZIP, sets the tax rate. Default 90210. | |
| lang | No | Language of the page behind deal_url. Default en. | |
| mode | No | Deal type. Default lease. | |
| car_id | Yes | The id of the car, as given in the id field of a car search result. A car that is no longer listed returns the error car_not_available. | |
| first_ev | No | Lease of an electric car by a buyer who has never owned one. Ask the buyer, do not assume. | |
| credit_tier | No | Buyer credit tier by score: t1 = Tier 1 · 740+, t2 = Tier 2 · 720-739, t3 = Tier 3 · 680-719, t4 = Tier 4 · 660-679, t5 = Tier 5 · 620-659, t6 = Tier 6 · <620. Payments are calculated for every tier in this list, so pass the buyer's own tier. If omitted, the calculation uses t1. A payment is final only for the tier you name, and the bank decides approval. | |
| term_months | No | Lease: 24, 27, 30, 33, 36, 39, 42, 45, 48. Finance: 24, 36, 48, 60, 72, 84. Default is the best term for this car. | |
| miles_per_year | No | Lease miles per year. Default 7,500, or the lowest the make offers. | |
| due_at_signing_usd | No | Amount due at signing in dollars. Default is the amount shown on the site for this car. |