DALP 3.2 changes the Platform API, TypeScript SDK, and CLI in ways that can break a client built against DALP 3.1 or 3.0. Each entry states what changed, who is affected, how to detect it, and what to update. Deployment operators follow Upgrade a deployment to DALP 3.2.
The v2 API is stable from DALP 3.2 onward. Future breaking changes to v2 ship only on a new API version after a deprecation notice of at least 90 days. See Versioning and deprecation.
Start here
Regenerate your client from the 3.2 OpenAPI document in the V2 API reference and compile before working through the sections below. A typed client surfaces removed operations, new required fields, removed response fields, and renamed path parameters at compile time.
New error responses on unchanged routes appear only at run time. Review both New token refusals in 3.2 and New platform refusals in 3.2 regardless of client tooling.
Clients without generated types encounter every change in this table as a run-time error.
Client libraries and tools
The TypeScript SDK
What changed. @settlemint/dalp-sdk builds its client from the generated route tree:
- Create the client with
create. The 3.1Dalp Client({ base Url, api Key }) urland top-levelorganizationIdoptions are gone because the credential scopes the organisation. - Routes live under
dalp.api.*and accept one flat argument object instead of{ params, query, body }. - Token routes rename
{tokenAddress}to{assetId}. - Helpers such as
waitForTransaction, the auth client, and the webhook verifier move from the package root to subpaths such as@settlemint/.dalp- sdk/ wait- for- transaction requestValidationandresponseValidationoptions are removed because the client validates every success response automatically.- Queue-backed writes default to
Prefer: wait=15unless you passsettlementTimeoutMs(3.1 sentPrefer: wait=99).
Who is affected. Every application importing @settlemint/dalp-sdk.
How to detect it. Upgrade the package and run type-checking. Changed calls, imports, and options fail at compile time.
What to do. Follow the TypeScript SDK migration guide. Set settlementTimeoutMs if you relied on a 99-second wait, and handle the { transaction handle returned when a write exceeds the wait. See Calling routes.
The CLI
What changed. The 3.2 CLI generates commands from the v2 API with the verb first (dalp get contacts instead of dalp contacts list). HTTP methods map to get, create, patch, replace, and delete. Only login, logout, whoami, config, and org remain hand-written.
Who is affected. Shell scripts, CI jobs, and AI agents invoking dalp.
How to detect it. 3.1 command names fail as unknown commands.
What to do. Run dalp -- and update scripts to verb-first commands. For agents using dalp --, see dalp -- offers reads only by default, CLI commands and AI agents.
The CLI no longer loads the working folder's .env and bunfig.toml
What changed. The installed dalp command no longer loads .env files or bunfig.toml from the working directory. Running dalp requires both Node.js and Bun on PATH at the versions listed in @settlemint/dalp-cli's engines field: Node.js starts the command cleanly without loading local .env or bunfig.toml files, then invokes Bun.
Who is affected. Machines and CI images running dalp, and teams storing DALP_URL, DALP_CONFIG_DIR, DALP_ORG, or DALP_WALLET_CODE in a local .env file.
How to detect it. Without Node.js on PATH, dalp -- fails before starting with a command-not-found error. Without Bun, dalp exits 127. Values kept only in .env stop applying: commands fall back to ~/.config/dalp, dalp login reads .dalprc.json or global config, and non-interactive logins stop with kit..
What to do. Install both Node.js and Bun (matching engines) on developer machines and CI images so Bun does not start dalp directly and load local folder files. Export DALP_URL, DALP_CONFIG_DIR, DALP_ORG, and DALP_WALLET_CODE in the shell or CI environment (or pass dalp login --), and remove DALP_URL and DALP_CONFIG_DIR from .env. See Install and configure the DALP CLI.
dalp -- mcp offers reads only by default
What changed. The MCP server that dalp -- starts no longer offers one tool per command. It offers three tools, search_tools, get_tool_details and call_read_tool, and only commands that read: the get commands, whoami, org_list, org_current, config_get and config_list. call_write_tool, the create, patch, replace and delete commands, login, logout, config_set and org_switch are offered only when the server starts with --allow-writes. No configuration key or environment variable turns writes on, but a project-level MCP configuration can carry the flag, so read the dalp command in a cloned project's configuration. Every call_read_tool and call_write_tool result, and each progress message, now arrives inside <untrusted source="dalp- tags with its strings cleaned, as reads do on the hosted MCP server.
The new dalp login -- creates an API key scoped read. The platform refuses every write that carries it apart from revoking the key itself, which dalp logout does as for any other CLI key.
The change ships with the 3.2 dalp CLI, not with the platform upgrade.
Who is affected. Operators who registered dalp -- with an agent that sends writes, and agents or MCP clients that parse results as bare JSON.
How to detect it. tools/list returns three tools without call_write_tool, and call_read_tool returns Unknown tool: {tool for a write. On a server started with --allow-writes, call_read_tool returns Tool is not read- for a write, and call_write_tool returns Tool is read- for a read. A client that parses a result as JSON fails on the opening tag.
What to do. To keep writes for an agent you supervise, register the server again with dalp mcp add -- and keep the agent host's approval step on for call_write_tool. In a client that parses call_read_tool or call_write_tool results, take the text between the opening and the closing tag and parse it as JSON. search_tools, get_tool_details and error results arrive untagged, so parse them as before. Strings inside the tags are cleaned, as Read results arrive tagged describes, so read the original value from the platform when an exact match matters. For an agent that only inspects, sign in with dalp login --. See Writes through the MCP server.
Changes to every error response
Error bodies drop defined
What changed. Error responses on both v1 and v2 now return four top-level fields (code, status, message, data) instead of five. defined is removed. data always carries id (DALP-...), why, fix, retryable, and category, plus any failure-specific fields.
Who is affected. Clients checking defined to distinguish declared errors from unexpected ones.
How to detect it. defined is absent from every error response.
What to do. Match errors by data.id, check data.retryable before retrying, and surface data.fix to operators. See Errors.
Every password change turns off API keys
What changed. In 3.1, only a user changing their own password disabled their API keys. In 3.2, a password reset or an administrator-set password also disables every API key that user holds across all organisations before storing the new password, and disconnects apps in Connected apps.
Each API server can accept a disabled key for up to 30 seconds after the change. Disabled keys remain listed as “Disabled” until re-enabled. If DALP cannot disable the keys, the password change is refused and the old password stays active. See Connected apps and revocation.
Who is affected. Integrations and dalp CLI logins using an API key whose holder resets their password or has it reset by a platform administrator.
How to detect it. Requests return 401 Unauthorized with data.id DALP-14386 (v2) or DALP-0002 (v1), and the key record shows enabled: false. See Manage keys.
What to do. Only the key holder can re-enable a key by selecting Enable in the key's row menu and confirming with wallet verification. The key value stays unchanged. If the password changed due to suspected compromise, revoke the old key and issue a new one. See When your keys stop or keep working and What stops a key.
Removed v2 operations
What changed. DALP 3.2 removes 180 v2 operations published in 3.1. Of these, 149 have 3.2 successors (folding narrow routes into role-sets, transitions, /api/v2/custody/wallets, and parameterised stats routes). Of the remaining 31, eight still have a v1 route, five are replaced by the custody provider-configuration routes (/) with no one-to-one successor, and 18 have no replacement. See Removed v2 operations and their successors.
Who is affected. Any client calling a removed v2 operation.
How to detect it. Generated clients fail to compile. Direct HTTP callers receive 404 Not Found with ROUTE_NOT_FOUND (DALP-18235).
What to do. Migrate each call to its listed successor and check the updated request body (for example, to on transitions calls). Drop calls with no replacement or switch to the listed v1 route where available.
Required fields added to v2 requests
What changed. Eight v2 routes now require fields that were optional or absent in 3.1, and POST /api/ and PATCH /api/ reject removed fields:
Freeze and unfreeze reason is an object with code (aml-review, sanctions-screening, fraud-investigation, court-order, regulatory-request, client-request, or other) and optional text (required, 1 to 500 characters, when code is other). custodyAccountId binds the invitation, acceptance, or organisation to a specific custody account.
Who is affected. Clients that freeze or unfreeze holdings, manage invitations, create organisations or users, or update the signed-in user.
How to detect it. Generated clients fail to compile. At run time, requests return 400 Bad Request with REQUEST_INVALID naming the field in data.errors.
What to do. Supply the new fields and remove refused ones. Read custodyAccountId from GET /api/.
Custody account requests
What changed. POST /api/ (and its /continue, /proof, /approve, and /finalize routes) replaces POST /api/ and POST /api/. Only the user who owns a participant can open, advance, or archive lifecycle requests for that participant's custody accounts. User creation, participant creation, and identity recovery open custody accounts for other users through their own identity-manager routes.
Calling a lifecycle route for another user's participant returns 403 CUSTODY_SCOPE_DENIED (DALP-12406), even for organisation owners. Calling /continue, /proof, /approve, /finalize, or archive on another user's request or account returns 404 CUSTODY_ (DALP-12257).
For client-held keys, sign a personal_sign message of DALP custody- followed by a single newline (\n) and challengeDigest (with no trailing newline), then submit it to /proof. Managed keys are attested automatically. Invalid signatures, platform attestation on client-held keys, and Canton signature proofs return 422 CUSTODY_PROOF_INVALID (DALP-12274). Unanswered requests expire as expired (PROOF_EXPIRED). Creating a smart wallet on a network with an open add or onboard request returns 409 CUSTODY_ (DALP-12421).
Who is affected. Clients migrating wallet creation to custody account lifecycle routes, acting on another user's custody accounts, or creating smart wallets while an onboarding request is open.
How to detect it. Lifecycle calls return 403 CUSTODY_SCOPE_DENIED, 404 CUSTODY_, or 422 CUSTODY_PROOF_INVALID. Smart wallet creation returns 409 CUSTODY_.
What to do. Call lifecycle routes using the owning user's session or API key and required walletVerification. Sign challengeDigest for client-held keys and complete or let expire any open lifecycle request before deploying a smart wallet.
v2 response shapes that changed
What changed. Several v2 response payloads changed shape:
- Discriminated unions: Rows on
GET /api/,v2/ transaction- requests GET /api/, andv2/ users/ me/ events GET /api/wrap fields in a union discriminated byv2/ addons/ xvp- settlements family(EVM fields remain underfamily: "evm").GET /api/rows arev2/ tokens { ref, token }discriminated bytoken._tag(evm,canton, ordeploying). - User and balance fields: User asset balances drop
byWallet.GET /api/keeps its 3.1 fields. The new platform-adminv2/ user- admins GET /api/carries no wallet fields orv2/ admin/ users dob(read configured profile fields fromGET /api/).v2/ users/ {user Id}/ profile GET /api/and single-user reads carry optionalv2/ users wallet,signingAddress,executorAddressanddob. List rows also carryaccountStatus, which isnullwhen the member holds no live wallet and otherwise includesreasonCode. List queries acceptfilter[accountStatus]andfilter[account, matching a member when any of their wallets holds the status or code.Reason Code] POST /api/includesv2/ users wallet(nullwhile provisioning). - Transaction status:
GET /api/keeps the 3.1 status enum, adding optionalv2/ transaction- requests/ {transaction Id} workflowonState: "AWAITING_ WORKFLOW" QUEUEDwrites (while approval-held writes remainPENDING_APPROVAL). - Projections, templates, and handles: Member lists return a union of full and projected rows when
view=summaryorfields[user]is passed. Asset type templatefeatureConfigis nownullor an array of feature attachments instead of an object. Queued202 Acceptedwrites return{ transactioninstead of aId, status, status Url } 200body copy. Several optional fields are now explicitly nullable.POST /api/returnsv2/ organizations/ networks/ bundler fundingasfundedorask-raised(no longerunknown).
Who is affected. Clients with strict response decoders, generated clients, and callers sending featureConfig as an object.
How to detect it. Generated clients fail to compile where they read moved or removed fields without narrowing on family or token._tag.
What to do. Narrow on family or token._tag before reading variant fields, fetch wallet details from custody accounts, send featureConfig as an array, and poll statusUrl on 202 Accepted.
Participant account status per organisation
What changed. Participant account status is now stored per wallet subscription inside each organisation rather than shared across organisations. Status endpoints under / changed accordingly:
GET .../returns the strictest status across the participant's subscriptions in your organisation, plus astatus subscriptionsarray detailing each wallet's status, inheritance source, and scheduled change.reasonCodeisnulluntil a change sets the status.POST .../requiresstatus reasonCode(kyc-failed,aml-review,client-request,staff-investigation,dormant,legal-order, orother) alongsidereason(a note of up to 500 characters), and takes optionalsubscriptionId(defaulting to all live subscriptions in your organisation). It returns{ change. Every history row and scheduled change recordsId, rows } reasonCode.PATCH .../requiresstatus changeId(UUID) and returns{ change.Id, rows } GET .../addsstatus/ history subscriptionId,wallet, andchangeIdper row.POST .../restores each suspended subscription in your organisation to the status it held before suspension.status/ resumptions GET .../previews a change before you apply it, reporting affected and skipped subscriptions, any guard it would trigger, and multisig wallets that could not reach threshold without the participant's signer seats.status/ impact?status= POST,PATCH, andPOST .../require the identity manager role (status/ resumptions 403for system managers or claim issuers without it). Unknown subscriptions return404PARTICIPANT_(SUBSCRIPTION_ NOT_ FOUND DALP-190193), and unscheduled changes return404PARTICIPANT_(STATUS_ CHANGE_ NOT_ FOUND DALP-190194). Only a person has an account status: every route under.../statusanswers404PARTICIPANT_NOT_FOUND(DALP-14222) for an organisation participant.- Status writes return
409PARTICIPANT_(STATUS_ CHANGE_ REFUSED DALP-190197) when your own account is suspended, closed, or terminated in the organisation. Changes tosuspended,closed, orterminatedare also refused on your own account, the last owner, or a role's sole holder (suspended, closed, terminated, or scheduled holders do not count), and any scheduled lock-out on you blocks all writes to your own status.data.guardnames the reason anddata.roleslists roles to hand over first.
When a participant's status in your organisation is suspended, closed, or terminated:
- Outbound writes blocked: Any v2 write signing as that participant returns
403CUSTODY_ACTOR_SUSPENDED(DALP-190195) before signing. Reads, sign-in, KYC profile edits, starting a custody account request (approval waits until active again), and writes in other organisations remain allowed. - Queued writes rechecked before signing: A write queued by that participant's wallet before the status took effect ends
failedwithout sending, with the reasonThe preparation's account cannot execute this request: Suspended by this organisation.(Closed by this organisation.orTerminated by this organisation.for those statuses). - Multisig co-signing blocked: A multisig co-signer with that status cannot open, co-sign, or submit an approval on the wallet in your organisation, except an approval that lowers the threshold and removes that co-signer's own seat when the wallet cannot reach its threshold without it. Pending approval reads report the weight of co-signers still in standing in
collectedWeightand itsstatus. - Open venue orders cancelled: Open orders on your organisation's venues cancel within about one minute with
cancel, and a stop order that triggers while its trader or recipient holds one of those statuses cancels the same way instead of joining the book. Orders on other organisations' venues stay open, aReason: "operator- participant" restrictedstatus cancels no orders, and resuming never restores cancelled orders. - Inbound transfers blocked: Transfers, mints, batch issuances, orders naming the wallet as recipient, token-sale purchases or deliveries, XvP payouts, conversion mints, delegated redemptions, batch redemption cash legs, rights exercises and excess applications, and waterfall releases return
403RECIPIENT_SUSPENDED(DALP-190196) before queueing. A token write queued before the status took effect that pays the wallet fails withTOKEN_when its workflow submits it, and a queued multisig execution whose stored operation pays the wallet endsQUEUE_ WRITE_ REFUSED failedwithout sending once its signatures are read. Fund subscription settlements reject that investor's request asrecipient-suspended. Corporate actions skip the holder (skip), pushed dividends skip withReason: "recipient- suspended" suspended, compliance checks reportrecipient, and assistant payout top-ups refuse withEligibility: "account- suspended" recipient-suspended. Forced transfers, refunds, custodian payouts, and burns remain allowed. - Bank rail credits and custody gateway deposits held: Bank rail credits for such a client park with
parkand mint nothing, already-minted gateway credits fail to send (Reason: "client- suspended" send-failed), and allocating suspense returns403DALP-190196. Custody gateways hold deposits crediting that client under review reasonclient-suspended, and clearing, retrying, or recovering a deposit or unsupported coin to that wallet returns403DALP-190196.
Who is affected. Clients managing participant account status, clients relying on cross-organisation status sharing, and workflows interacting with suspended, closed, or terminated participants.
How to detect it. Generated clients fail to compile on the updated response shape or when sending a status change without reasonCode. Run-time calls return 403 (DALP-190195, DALP-190196, or missing identity manager role), 404 (DALP-190193, DALP-190194), or 409 (DALP-190197). Clients switching over skipReason, dividend push skip reasons, recipientEligibility, assistant execution refusal reasons, fund subscription settlement rejection reasons, a bank credit's parkReason, or a gateway deposit's review reason encounter one new value each.
What to do. Grant the identity manager role to status writers, and send reasonCode with every change and resumption. Read .../status/impact before locking a person out and hand over any roles it names. Subscribe wallets before setting status, set status per organisation, read per-wallet states from subscriptions, and store changeId to amend or cancel scheduled changes.
Trading venue reads
What changed. GET /api/, GET /api/, and v1 token event reads expose only the caller's own side of settled venue trades. swap.buyer, swap.seller, transfer from/to, decoded order hashes, and involved can be null for non-operators (venue operators still see both sides).
Instrument sessionState and calendar appliedState add trade-at-last, and calendar endpoints accept optional tradeAtLastTime.
Who is affected. Clients reading counterparties from trade events or switching exhaustively on session states.
How to detect it. Null counterparty fields on venue trade events or an unrecognised trade-at-last session state.
What to do. Use venue operator reads with operator credentials when counterparty details are required. Treat unknown session states as non-tradable rather than open.
Webhook registration replays
What changed. POST /api/ now replays identical retries under the same Idempotency-Key and returns the existing endpoint with signing. It echoes the effective Idempotency-Key header (including generated keys).
Reusing a key with a different body, for a deleted endpoint, or after an incomplete registration returns 409 WEBHOOK_ (DALP-0537, non-retryable). Retrying while creation is in flight returns 409 WEBHOOK_ (DALP-0538, retryable). All /api/v2/webhooks writes and POST /api/ now finish synchronously and return 200 (no 202).
Who is affected. Clients retrying webhook registration or expecting signingSecret on replays.
How to detect it. Replayed registrations return signing.
What to do. Save signingSecret from the first 200 response and store the echoed Idempotency-Key. Retry WEBHOOK_ after a short delay, use a new key on WEBHOOK_, and rotate the signing secret if the original secret was lost.
Webhook endpoints that predate 3.2
What changed. Endpoints created before upgrading to 3.2 keep the 3.1 transfer event contract: token.transfer.final (version 1) at index time, token.transfer.retracted (version 1) on chain reorganisations, no token., and related.idxr_token set to the indexer token ID. Endpoints created after upgrading receive token. followed by token.transfer.final (version 2) after finality. See Webhook lifecycle.
Who is affected. Integrators keeping webhook endpoints registered on 3.1 across the upgrade.
How to detect it. Inspect deliveries (no API field exposes the mode): pre-3.2 endpoints emit no token. and send version 1 token.transfer.final payloads.
What to do. Keep your version 1 handler while using the existing endpoint. To migrate, register a new endpoint alongside the old one, deduplicate by evt_id, verify processing, and delete the old endpoint.
Removed v1 operations
What changed. DALP 3.2 removes three v1 operations without the 90-day deprecation notice:
Who is affected. v1 clients calling any of these three routes.
How to detect it. Requests return 404 Not Found with text/plain body {"code":"NOT_ and no data object.
What to do. Move each call to its v2 replacement and update error parsing per Error bodies drop defined.
v1 reads drop wallet and gas fields
What changed. GET /api/, GET /api/, and user results in GET /api/ no longer return wallet. GET /api/ and the v1 user and admin lists return wallet, signingAddress, and executorAddress as optional nullable fields because users can hold multiple custody accounts. POST /api/ returns a non-null wallet, adds participantId, activationStatus and custodyAccountId, and always returns identity, which can be null. GET /api/ drops gasPrice and gasUsed.
Who is affected. v1 clients reading wallet from me or search routes, or gas fields from user events.
How to detect it. Generated clients fail to compile. Untyped clients see missing fields with no error.
What to do. Fetch custody accounts from GET /api/ using participantId from GET /api/ or GET /api/. Treat gasPrice and gasUsed as absent.
The assistant starts off
What changed. The assistant is new and experimental in 3.2, so how it works can still change. The hosted MCP server at /api/mcp has its own switch, mcpServer, which is off by default. While mcpServer is false, every signed-in request to /api/mcp returns 403 with mcp_server_off. While it is true, /api/mcp answers whether the assistant is on or off. The platform-wide assistant switch starts on. While a platform administrator has it off, /api/mcp returns the same 403. The assistant starts off in every organisation until an organisation owner or a platform administrator turns it on. While it is off, watchers do not run. The DALP CLI and its local dalp -- server work whether the assistant is on or off.
Who is affected. Apps and agents that connect to /api/mcp.
How to detect it. GET /api/ returns enabled: false while the organisation's assistant is off, and mcp while the MCP server is off. The error_description of an mcp_server_off refusal names the platform-wide assistant switch when it is off, and otherwise the organisation's MCP server switch. A platform administrator finds the platform-wide assistant switch in the enabled field of GET /api/.
What to do. An organisation owner or a platform administrator sends PATCH /api/ with mcp to open /api/mcp, and with enabled: true to turn the assistant on. In the Console, they open “Organisation settings”, then Assistant, and turn on MCP server for /api/mcp and Assistant in search for the assistant.
Upgrading from 3.0
Clients built against DALP 3.0 require the same changes listed on this page. DALP 3.1 removed no 3.0 operations, though the original asset families refusal was introduced in 3.1.19 and applies on upgrade from 3.0.
Next steps
- Upgrade a deployment to DALP 3.2 for operator upgrade steps.
- Versioning and deprecation for v2 compatibility rules from 3.2 onward.
- Errors for error envelope handling and retry rules.