Instalment rules (Rules JSON)
How you write the interest payments plans in Rules JSON: count, rate_bps, label, price limits, ready examples and often errors.
Each shot is a line with three elements:
| Key | What is it? | Limits |
|---|---|---|
count | Number of instalments | 2 to 60 |
rate_bps | Interest rate on basis points: 100 = 1%, 300 = 3%, 550 = 5.5% | 0 to 10000 |
label | The text that the client sees | Optional. If missing: N installments |
Example with Greek labels#
[{"count":3,"rate_bps":300,"label":"3 δόσεις (+3%)"},{"count":6,"rate_bps":550,"label":"6 δόσεις (+5,5%)"},{"count":12,"rate_bps":900,"label":"12 δόσεις (+9%)"}]

The interest rates are indicative. Set them based on the cost of your bank's installments and in consultation with your accountant.
Rules applying the plugin#
- Lines off limits are silently ignored. The rest are stored.
- If two lines have the same
countThe last one is held. - The shots are shown sorted by number of instalments.
- Use not
rate_bps0. Version 1.0.0 is waiting for a line of interest in each order with instalments, so a plan without interest is rejected in completion. The interest-free instalments are set at the payment gate. - Do not exceed the maximum number of instalments approved by your bank.
Often pension errors#
- Single quotes instead of doubles (
"). - Party after the last line.
- Decimal in
rate_bps(e.g.5.5Write.550.
It's not solved?
Request support
Send a request; the plugin and the article are automatically completed.