Create a template
The form has three sections, mirroring the money model in Concepts:1
Basic information
Name, currency (ISO 4217 — carried through everywhere, never assumed), and an
optional description.
2
Split rules
Add each party with a role (
merchant, klikit, or other) and a
share entered as a percent. The dashboard shows a running total and blocks
save until it is exactly 100.00%. There must be exactly one merchant
and at most one klikit.3
Fee configuration
MDR (%), service charge (percentage or fixed amount), fee bearer
(merchant/klikit), and tax — rate, base (fees/gross), mode (include/exclude),
and payer (merchant/klikit).
Preview the split
Before saving, enter a sample gross amount and Preview to see the exact computed breakdown (MDR, service charge, fee, tax, distributable pool, and each party’s share). This runs the real engine, so what you see is what a batch will produce.Versioning
Editing a template’s config bumps its version. Instances resolve against the template’s live config, but any batch that has already computed keeps its own frozen snapshot — so editing a template never changes a computed batch.Archiving
Archive a template to stop new instances/edits from using it. Instances already bound keep working off their stored config.The config shape
Templates store a portable, versionedSettlementConfigV1 JSON: