calculate_installments
Calculate the exact monthly payment for a SKU under a chosen installment plan. Applies active promotions, surcharges, fees, and interest to ensure accurate quotes before offering installments.
Instructions
Calculate the exact monthly payment for a SKU under one instalment plan. Applies the active promotion, the plan surcharge, the fee and the interest. Never quote instalments without calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | ||
| plan_id | Yes | Plan id returned by list_installment_plans. | |
| quantity | No | Default 1. |