Skip to main content

Build on one stable API and a generated SDK

From 3.2 v2 breaks only on a new API version or after 90 days' notice, the SDK is generated from its routes, and webhooks arrive in order.

Build your back-office integrations on a stable v2 API, a generated TypeScript SDK and ordered webhooks. From 3.2, breaking changes ship only on a new API version or after a deprecation notice of at least 90 days. Connect your organisation's own Xero app and DALP posts each final money event to your ledger once, with full visibility and retries in the Console.

A stable v2 contract from 3.2, a generated client and ordered webhook delivery

Breaking changes ship alongside the current version, and operations retire only after a published sunset date. SDK and CLI types generate directly from the public v2 routes.

v2 API
Stable from 3.2
Deprecation notice
At least 90 days before sunset
Webhooks
Signed and ordered per endpoint
Accounting
Direct posting to your Xero app

Before and after

Before 3.2: v2 routes could shift between releases, so upgrades risked moving fields or dropping calls that back-office jobs depended on. Webhook consumers received events without per-endpoint ordering and had to re-sequence ledger postings themselves.

With 3.2: v2 follows a strict compatibility contract with automated build checks against removed operations or newly required inputs, plus review for narrowed values or removed fields. Every deprecated route announces its sunset on every response. The SDK and CLI generate from the same v2 routes, most reads support ETag caching, and each webhook endpoint receives signed events in order.

How an integration calls the v2 API and receives its events.Your back office calls the v2 API through the TypeScript SDK, which is generated from the public v2 routes. From 3.2 a breaking change to v2 ships only on a new API version. Most reads carry an ETag and answer 304 when nothing changed. A write returns the settled resource, or a handle to follow when it has not settled within its wait. Every event takes the next number in each endpoint's sequence and is delivered signed and in order, a correction after its cause. An operation that is going away answers with the Deprecation and Link headers, and with Sunset once a sunset date is set, at least 90 days after the deprecation.How an integration calls the v2 API and receives its events.Your back office calls the v2 API through the TypeScript SDK, which is generated from the public v2 routes. From 3.2 a breaking change to v2 ships only on a new API version. Most reads carry an ETag and answer 304 when nothing changed. A write returns the settled resource, or a handle to follow when it has not settled within its wait. Every event takes the next number in each endpoint's sequence and is delivered signed and in order, a correction after its cause. An operation that is going away answers with the Deprecation and Link headers, and with Sunset once a sunset date is set, at least 90 days after the deprecation.

Your back office calls the v2 API through the generated SDK, reads revalidate with an ETag, and each webhook endpoint receives signed events in order.

Build against a v2 contract that holds from 3.2

From 3.2, the versioning policy keeps breaking changes off v2. Breaking changes ship only on a new API version served beside v2, and an operation retires only after its sunset date.

Your integration team sees each endpoint's deliveries and success rate.

Every response from a deprecated route, including errors, carries Deprecation and Link headers naming its successor paths, plus a Sunset header at least 90 days ahead once scheduled. The OpenAPI specification marks the operation deprecated so engineering teams can migrate on a known date.

/api/v1 accepts no new operations. Releases can still add new operations, optional request fields, response fields and error codes inside v2, so clients should handle errors by class and retryable flag and ignore unknown fields.

POST /api/v2/tokens/{assetId}/claim-revocations now takes an optional issuerAddress, the identity address of the issuer whose claim you remove. GET /api/v2/tokens/{assetId} returns that address in identity.claims[].issuer.id for each claim on the token's on-chain identity.

Send issuerAddress when more than one issuer holds an unrevoked claim under the same topic, which includes a claim from an issuer the asset no longer trusts. The platform then removes only that issuer's claim. Without it, the platform refuses such a request with 422 TOKEN_CLAIM_VALIDATION_FAILED (DALP-12020) and submits no transaction. A topic with one unrevoked claim needs no issuerAddress. To revoke, you need the asset's governance role and confirm the request with a wallet step-up.

Call the API through a generated SDK and safer CLI

The TypeScript SDK generates its route tree and types directly from public v2 routes, catching invalid calls at compile time. Every route sits under dalp.api with one flat argument object, such as dalp.api.token.read({ assetId }).

  • Writes and caching: writes resolve with the settled resource or a handle carrying transactionId and statusUrl when still settling. Every route also ships TanStack Query factories with derived cache keys.
  • Verb-first CLI: the dalp CLI generates from the same routes with verb-first commands like dalp get contacts.
  • Safer instance targeting: dalp login shows the target URL and asks for confirmation when a project .dalprc.json or .env points elsewhere (or stops with kit.cli.LOGIN_HOST_UNCONFIRMED without a terminal unless --url is passed). Commands warn on standard error when local config differs from the stored login, and dalp no longer auto-loads a working directory's .env file.
  • Agent writes are opt-in: an AI agent that a developer connects through dalp --mcp reads your organisation's data but changes nothing through that server until the developer starts it with --allow-writes (Writes through the MCP server). Every read and write result reaches the agent marked as data it must not follow. For a limit the platform enforces whatever the agent runs, shell commands included, dalp login --read-only signs the CLI in with a key whose writes the platform refuses. Reads still return unmasked names, wallet addresses and balances to the agent and its model provider.

Venue setup, trade busts and venue report replay remain HTTP-only routes in the v2 API reference rather than SDK methods.

Read again only what changed and page large registries fast

With response caching on by default, most v2 reads return an ETag (response caching). A reporting job polling positions sends If-None-Match and receives 304 with no body whenever nothing changed.

Cached responses stay isolated by organisation, user, roles and active participant. After any write, that caller's reads wait up to a configurable window (60 seconds by default) for the cache to catch up so integrations never read stale data after their own write. Certain reads such as custody reconciliation and deposits carry no tag (uncached reads).

GET /api/v2/system/identities now reads only the requested page, answering sorted and KYC-filtered queries in under a second even on a million-identity registry. meta.total and meta.facets cap at 10,000 (meta.totalIsLowerBound: true), and offsets of 10,000 or more return 400 COLLECTION_PAGE_OFFSET_OUT_OF_RANGE (DALP-9275) so deep readers follow links.next with page[cursor] (Pagination).

Receive events in the order they happened

Each webhook endpoint receives signed events in the exact order DALP produced them. Every event takes the next sequence number for that endpoint and waits behind any earlier pending delivery, and a retraction always waits until its original event delivers or settles.

3.2 expands the public event catalogue at /.well-known/dalp-events.json with families for:

  • Operations and governance: operations cases (operations.case.*), expiring role grants, compliance verdicts and gas funding requirements.
  • Asset servicing and trading: fees (token.fee.final), corporate actions, venue orders, announcements and settlement fills.
  • Custody and cash rails: custody gateway deposits and withdrawals, plus bank rail credits and cash-outs.

Subscriptions naming unknown events are refused at registration. Organisation owners and platform administrators inspect and resend deliveries on Webhooks. Delivery is at least once, so consumers deduplicate by event id. A pending event blocks later events until delivered, failed permanently or past its three-day retry window, while events waiting on chain finality never block other events. Apart from gas funding requirements, the new 3.2 event families are marked beta in the event reference and their payloads can still evolve inside v2.

Post each money event to your Xero ledger once

Keep your organisation's books in your own Xero ledger while DALP posts settled money movements automatically. An organisation administrator connects the organisation's own Xero app from the Console, so no shared Xero credentials sit on the deployment.

DALP posts each mapped final money event as a balanced Xero manual journal exactly once across retries, restarts and configuration updates. Supported events cover trade settlements, fees, bank rail credits and cash-outs, paid dividends, maturity redemptions and claimed bond coupons. Posting policy sends either one journal per trade (default) or one balanced daily journal. Trade busts and other retractions post reversals against the original Xero account codes even if mappings changed later.

Organisation owners review every posting record on Accounting under Organisation settings, showing posted journals, pending items and plain-language failure reasons beside Xero's error. After fixing a cause, selecting Retry posting checks Xero first so retries never duplicate journals. Blocked or failed postings also raise Console operations cases.

DALP never chooses accounts and posts nothing until your rule table, account mapping, posting policy and Xero connection are configured and reachable. Mirror-token issuance and burn, partial redemptions and buybacks stay outside automated posting in 3.2 (What DALP does not post). See Post DALP events to a ledger.

Upgrading

The breaking changes land in 3.2 itself before the v2 stability guarantee starts. Follow Upgrade an integration to DALP 3.2 for every successor and detection check:

  • SDK and CLI: regenerate clients from the 3.2 OpenAPI document and migrate 3.1 SDK code (SDK migration guide). Move CLI scripts to verb-first commands and ensure every machine or CI image running dalp has both required JavaScript runtimes on PATH. If an agent you supervise must keep sending writes, register dalp --mcp with --allow-writes. Every MCP client that parses results unwraps the untrusted tags first (dalp --mcp offers reads only by default).
  • Removed routes and changed shapes: 180 v2 operations from 3.1 are removed (149 with successors) along with three v1 operations. The v1 signed-in user and user search reads drop wallet, some v2 requests add required fields, and error bodies drop defined across v1 and v2.
  • New refusals and retryable errors: existing routes add refusals that compilers cannot catch, including v1 admin writes blocked whenever maker-checker protects the v2 route (v1 writes under maker-checker). A v2 write also returns a retryable 503 if other writes hold the organisation's audit trail for more than 5 seconds (Audit trail busy).
  • API keys and webhook retries: password resets or admin password changes now disable the user's API keys until re-enabled, and an identity recovery deletes them. Retrying webhook registration with the same idempotency key returns the original endpoint without its signing secret, so persist the secret on the first response.

Why it matters

  • Banks: core-banking and reporting integrations on v2 receive deprecation notices and successor links on every response at least 90 days before any route retires.
  • Exchanges, CSDs and market infrastructures: post-trade and surveillance systems consume order, settlement and corporate-action events in strict sequence per endpoint.
  • Partners: a partner generates typed clients directly from the OpenAPI contract and receives signed, ordered webhooks.

Next steps

Was this page helpful?