CTinFold
Whitepaper · No. 01 · The Payment Registry
Working Paper · Series 01 · Registry Mechanisms
Sealed 14 May 2026
Page 01 / 01
A primer on financial integrity at the level of an obligation

The Payment Registry.
A mechanism for the due file of maturity.

How CTinFold turns a user's payment obligations into a single, sealed source of truth. One evidence, one chain, one residual count. Across leases, loans, finance payments and every other relation in which time and money are owed.

Abstract

The Payment Registry is CTinFold's answer to the one question every financial dispute eventually arrives at. How many payments remain, and against what proof. One registry per user. One sealed evidence per obligation. A series of payments that decrements only through declarations the registry itself has accepted. Nothing implicit. Nothing assumed. Nothing on disk that the user did not declare.

§ I

A record is not a count. A receipt is not proof.

Every user holds a certificate. Every issuer holds a security. In any dispute over a financial obligation, a lease, a loan, a finance payment, a structured Murabahah, the question is never "did a payment happen?" It is "how many payments remain, and against which evidence?"

The conventional answer is to count by hand. Pull the contract. Match the certificates. Adjust for the reschedule, the partial, the commission, the deferred service fee. The answer takes hours and is provisional. Both parties leave the room with a different number.

The Payment Registry replaces the count with a declaration. Each payment is declared once, against a sealed evidence hash, and the registry decrements the remaining series automatically. The number you see is the number the registry will defend.

"Maturity becomes due only when a defined annuity has been declared. The registry is not the contract. It is the file that tells the contract where it stands."
§ II

Terminology of the file.

The registry inherits the vocabulary of finance and uses it strictly. Where conventional usage is ambiguous, the registry's usage is the operative one.

Maturity
When the instrument falls due
The annuity for which a financial instrument must be paid in full. A 5-year bond, a 6-month deposit, a 12-payment lease. Each has a maturity stated by the instrument itself.
Due
The state once mature
A claim is due only after a defined annuity has matured. Until then, what is due is not yet due.
Payable
Obligation owed
From the user's side, what falls due. From the issuer's side, the mirror, receivable.
Liquidity
Ability to settle at full price
The capacity to sell an asset quickly and at its full market value. The registry treats satisfying liquidity as one valid mode of payment under a leasing relation.
Residual Claim
What remains after all obligations
A claim on assets satisfied only after every prior obligation has been fully and completely settled. Equity is residual. The registry's counter is also residual, with respect to a finite set.
Sealed Evidence
The hashed proof of one obligation
An invoice, contract, or reference. Hashed at the moment of first declaration. Cannot be altered. Cannot be tampered with. The unique key by which the registry recognises an obligation.
Series of Payments
The declared count
The number of payments the user stated were owed when the evidence was first sealed. Twelve. Four. One. The registry decrements. It does not invent.
Relation
The class of obligation
Lease, rent, payments, finance, finance-payments, insurance, insurance-payments, and the full family of loan obligations. The registry binds itself only to eligible relations.

A note on Lease and Rent.

Two relations. Two horizons. Lease, an asset for a known annuity, returned at the end. Rent, an open tenancy, paid month after month, with no horizon to close. The registry survives either. But only lease can be sealed as a finite series. Rent runs forever, and forever is not a number.

A note on Commission and Ujrah.

Two ways an asset earns a return. Two names for them. Commission, a percentage on the asset. Variable. Expressible against the total. Capable of compound logic. Claimed once at maturity, but pre-defined from day one. Ujrah, a flat fee. Declared at signing. Paid up-front. Indifferent to the size of the transaction. The registry treats them differently in only one place, the amount due (§ VII). Both must be pre-defined. Neither may surface after the fact.

§ III

One source of truth per rule.

One registry per user. The Payment Registry observes the rule of a single source of truth without exception. Principle 7 of the CTinFold corpus binds it.

Each user holds one registry. That registry is not shared with any other user. It is not derived from any other file. It does not delegate its logic to the wider code path. The registry is the only object in the system that decides whether a series of payments has decremented.

The registry does not exist until the user declares a relation that requires it. A one-off transfer, a cash settlement, none of these create the registry. Only an eligible relation, declared against an issuer, with a stated annuity and a stated series of payments, brings the registry into being.

Signal protocol

On declaration, the registry asks one diagnostic. Is this declaration receivable in full for Actor 2? If yes, the obligation is treated as cleared at maturity and the file proceeds without a residual count. If no, the registry asks the next question, and only then does it reveal itself to the user. How many payments remain, including this one? The user answers. The registry seals.

§ IV

The three actions.

Once an obligation is sealed, every subsequent declaration against the same issuer must take one of three forms. The registry permits no fourth path.

01
Action · d1
Drop a payment
against predefined evidence.
The normal path. The user selects the existing obligation. The counter decrements by one. A payment-level evidence is recorded for that single payment. The chain grows by one row. The sealed evidence is untouched.
02
Action · d2
Append new evidence
to an existing obligation.
For reschedules and extensions. The parent hash is carried forward. The new evidence claims a new finite count, governed by the ceiling rules of § V. The annuity resets. The third payment of the new chain is when the amount becomes binding.
03
Action · d3
New security
toward the same actor.
A wholly new obligation against the same issuer. No parent hash. Its own chain. Its own counter. Its own annuity. Treated, for the purpose of commission and ujrah, exactly as a first declaration.

Each action carries a single rule the registry will not waive. One source of truth per rule, one payment per declaration. If a user wishes to declare two payments, two declarations are required. The registry does not aggregate.

§ V

Determination of the registry and the verdict.

When new evidence is appended to an obligation, it does not enter freely. The validating verdict, CTinFold's policy, applies six ceiling rules to determine whether the appended set is admissible. The rules are stated below in the form the verdict evaluates them.

6B
Same series, conditional. An appended evidence may claim the same series of payments as the sealed evidence only if exactly one payment from the sealed set has been consumed. More than one. Rejected.
6C
Ceiling at sealed minus one. An appended evidence may claim a series up to n − 1, where n is the sealed count of the very first evidence. Any lower count is admissible. Any higher is governed by 6J.
6D
Exact-match rejection. If the user claims that the new evidence carries the identical finite count as the sealed one, and more than one payment has been consumed, the verdict rejects the append.
6E
The minus-one chain. On the third, fourth and every subsequent append, the ceiling continues to step down by one against the latest sealed evidence. If the second evidence sealed 12, the third may seal 11. The fourth, 10. And so on. The rule compounds against the most recent sealed count, not the original.
6F
Evidence is immutable. Sealed evidence cannot be altered, replaced, or tampered with. The only path to amend an obligation is to append new evidence under 6B to 6E, or to declare under d3.
6J
Upward exception. A new evidence may claim a finite count greater than the sealed one and remain admissible. If twelve payments were declared and the appended evidence claims twenty-four, the registry accepts. The path upward is always open.

The asymmetry between 6C and 6J is deliberate. The registry permits an obligation to grow. Users frequently extend a lease, restructure a loan, expand a finance arrangement. But it does not permit an obligation to silently shrink. Downward revision must pass through minus one.

§ VI

Commission and Ujrah. Four conditions only.

The registry asks the commission-or-ujrah question on exactly four occasions. Anywhere else, the question would invite a user to attach a fee retroactively. And the registry's first principle is that no value enters the record after the fact.

Condition 1
First payment of a sealed evidence.
The very first declaration that seals the obligation. The fee, if any, is pre-defined here and follows the payment for the life of the chain.
Condition 2
+1 exception append.
When exactly one payment has been consumed under the sealed evidence and the user appends a new evidence under rule 6B claiming the same series.
Condition 3
First payment of each new append.
Every appended evidence carries its own first-payment moment. The registry asks again because the fee may have changed.
Condition 4
New security under d3.
A new obligation against the same actor is, for fee purposes, treated as a fresh first declaration.
§ VII

The amount due. Why the third payment is the first reliable one.

The amount per payment is not surfaced to the user immediately. It cannot be. The first payment may carry a commission or an ujrah, and the registry has no way of knowing, at the moment of sealing, whether that fee was included or paid separately. The second payment is the first clean attempt, but a clean attempt is not yet confirmed.

On the third payment, and only on the third, the registry exposes the amount-per-payment field and binds the obligation to it. From there, the amount is enforced. A declared amount that diverges from the third-payment amount is treated as an exception and routed through the append path.

"The third is reliable. The system forces it from there. The first carried a chance of commission or ujrah. The second was clean but uncertain. The third is the binding." Registry mechanism · Note  6a Σ
§ VIII

Sealed evidence and the hash chain.

Every obligation in the registry is identified by the triple hash(relation + provider_id + evidence). The first two arguments fix the actor and the kind of obligation. The third, the evidence itself, fixes the obligation uniquely. Two leases between the same actors are not the same obligation. Their evidences differ, and so do their hashes.

The hash is also the registry's defense against tampering. The evidence value is stored in two forms. evidence_hash for identity. evidence_raw for regulators and auditors. Any deviation between the two on read is a failure the registry surfaces, not a discrepancy it absorbs.

Worked seal · Registry root hash · 14 May 2026
0d45a619efe7c6d2ac7bb9bfc075a12c75e8869b5bb585d36adc50e9e5758114

This is the Payment Registry root hash sealed on the fourteenth of May, twenty twenty-six. Two hundred and five files. Twenty-eight directories. Four point one megabytes. Zero failures. The hash above is the proof that every byte of the registry as it stood at that moment can be reconstituted byte-for-byte. And that any byte that has since drifted is no longer the due file of maturity.

§ IX

A worked example.

A partner holds a loan obligation toward a counterparty. The first declaration seals the evidence. Two payments later, the partner takes a second loan from the same actor and declares a wholly new security. Then it reschedules the first.

T+0Seal · d1 first. Loan obligation, partner → counterparty. Evidence sealed. Series of payments, 12.remaining 12
T+1d1. First payment dropped. Commission / ujrah question asked, answered no.remaining 11
T+2d1. Second payment dropped. Clean attempt. Amount still not surfaced.remaining 10
T+3d1. Third payment dropped. Amount per payment now surfaced and bound to the obligation.remaining 9
T+4d3 · new security. The partner declares a second, unrelated loan toward the same counterparty. New chain begins.new chain A
T+5d2 · append. The first loan is rescheduled. New evidence claims series 24. Rule 6J applies. Accepted.remaining 24
T+6d1. First payment against the appended evidence. Commission / ujrah question asked again. Condition 3.remaining 23

At every step the registry knows three things at once. Which actor. Which obligation. How much of the series remains. At no step did the registry derive a count from another file. The count is the registry's own.

P1No assumption survives without being written.
P2What is not stored on disk does not exist.
P4Memory is forbidden as a dependency.
P7One source of truth per rule.
P12Integration happens only after storage.
P13Derivation never mutates the source.
P18The project must explain itself without its author.
P20Nothing implicit is trusted.
§ X

Closing.

The Payment Registry is a sealed mechanism, proven by hash and not by claim. It counts the remainder of a series of payments against a sealed evidence, one user at a time. It does not do interest. It does not do reconciliation. It does not summarise. What it offers is the one number every financial dispute eventually arrives at, available on demand, sealed cryptographically, and verifiable by the other side through hash proof alone, without ever exposing the registry itself.

This is, in the end, the whole claim of CTinFold. A financial obligation, once declared, can be carried forward through payments with its proof intact. The Payment Registry is the place where that claim becomes operational.

Declared once. Sealed forever. CTinFold · Series 01