Get exact payment
get_paymentExact payment for one car and the buyer's terms. Same engine as the site. Returns a deal_url with these terms filled in.
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 a car from find_cars. | |
| 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. Default t1. Terms are final only for the stated tier. | |
| 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 10000. | |
| due_at_signing_usd | No | Amount due at signing in dollars. Default is the amount shown on the site for this car. |