Changelog
Within a version, changes are additive. A change that is not additive needs a new Holdyn-Version. See Versioning.
Version 2026-11-01#
The first version of the mandates API, and the version every endpoint in this documentation belongs to.
- Mandates replace transactions as the core object: terms are versioned, accepted by both parties and fingerprinted; collections (money in) and stages (money out) are separate lists; each release is checked by the gate before money moves.
- Test and live modes per account, selected by API key or by the
X-Holdyn-Modeheader, with a sandbox, a test clock and simulated outcomes. - Your own Stripe account. Money is collected on and paid from the tenant's Stripe account through a restricted key.
- Members and roles replace the single account login. Sensitive actions need a second member and, in live mode, two-step verification.
- The independent record with daily signed checkpoints, receipts and public verification.
- Signed webhooks for every state change, with a timestamp for replay protection and a documented retry schedule.
- Idempotency on every write, with replay of the stored answer.
- Cursor pagination and expansion on every list.
Corrections to earlier documentation#
If you built against earlier documentation, check these.
| Earlier documentation | Correct behaviour |
|---|---|
Live keys start with htlk_. | Live keys start with hlive_. Test keys start with htst_. |
| Signing up returns a session. | Signing up never returns a session. It answers 202 and emails a verification link; sign in afterwards. |
An error code expired_portal_session. | The portal answers portal_session_expired, portal_session_revoked and the access-token codes listed in Errors. |
Compare webhook signatures with timingSafeEqual. | Compare buffers of equal length only, because timingSafeEqual throws on unequal lengths, and reject timestamps more than 5 minutes old. See Webhooks. |
| The API base is the dashboard address. | The API has its own address, shown on every page of this documentation. |
| Access links carry the token in the path. | The token is in the part after #, which is never sent to a server. |
Legacy transactions API#
The earlier /transactions API keeps working for accounts that already use it and is deprecated. See Legacy transactions API.
