Skip to content

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.

Applies to v1.0 Updated 5 Nov 2026 1 min read Step 6 of 13
v1.0 · WooCommerce 8.5+ · PHP 7.4+ Buy Support

Each shot is a line with three elements:

KeyWhat is it?Limits
countNumber of instalments2 to 60
rate_bpsInterest rate on basis points: 100 = 1%, 300 = 3%, 550 = 5.5%0 to 10000
labelThe text that the client seesOptional. 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 ‘Rules JSON’ field with the example of the three planets with Greek labels
The example in "Rules JSON".

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_bps 0. 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.
Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support