post
https://example.com/accounts/create
Single LA-side endpoint covering both flows:
- Create new —
bindInfois absent. The LA generates a fresh wallet on the
asset's network. - Bind existing —
bindInfocarries the caller-suppliednetworkAccount
andownershipSignature(proof-of-ownership hint).
The LA issues a challenge (signatureTemplate / walletConnect / deposit /
fireblocksApproval / …) which the user must fulfill. Two response shapes:
207 Multi-Status— challenge ready immediately; body haschallengeand
operationResponseStrategy.202 Accepted— LA needs more time; body hascidand
operationResponseStrategy. Asset node polls or awaits callback per strategy;
the challenge arrives viaGET /operations/status/{cid}.
The ledger.accounts.wallets jsonb column is updated only after challenge verification.
