Changelog

Path Global API: settlement, clearing, treasury and risk

Treasury, risk and intelligence on one ledger. A guarantee level on every quote, SETTL and receipt; settlement instructions; clearing periods and participants.

What changed

  • New prefixes and scopes. /treasury/v1 (scope treasury), /risk/v1 (scope risk) and /intelligence/v1 (scope intelligence). The approver scopes treasury_approve and risk_approve decide approvals. /liquidity/v1 adds POST /discover, GET /paths, GET /depth, and pausing and resuming a pool; /operations/v1 adds network calendars, capabilities and compatibility, closing a netting set, settling a period and sandbox scripting.
  • Guarantee on quotes, SETTLs and receipts. Each carries guarantee, one of atomic, conditional, receipt_first, value_dated, bounded_exposure. Guarantee levels states what each level means and the level of each pair of network kinds; GET /settlement/v1/guarantees answers it.
  • Instructions. A route is settled by one settlement instruction, read at GET /settlement/v1/instructions/:id and GET /settlement/v1/instructions?settl=. A SETTL carries instruction, holding, refs and version. POST /settlement/v1/exchanges runs a payment versus payment or a delivery versus payment. Settlement.
  • Periods and participants in clearing. Obligations net in netting sets, by period, with signed period reports. GET /clearing/v1/participants/me, /positions, /queue, /sets, /periods, /periods/:id, /periods/:id/report and POST /clearing/v1/obligations/:id/accept. The debtor records an obligation; a call by the creditor stores a proposal, which the debtor accepts. Clearing.
  • Positions, transfers, fundings and refuel cycles. Each balance is an account of one ledger. Treasury reads positions and the treasury view, proposes transfers, declares expected fundings, reconciles each account against its statement and follows refuel cycles.
  • Corridors, limits, breakers, approvals. Risk admits each payment within its corridor, its limits and its breakers. A change that loosens a control or moves value out of a position waits for a second person.
  • Forecasts and advice. Intelligence forecasts the net outflow of each position, reads the health of each corridor and gives advice within its bounds.
  • Calendars and sandbox. Calendars of each network, and a sandbox with scripted outcomes and funded positions.
  • Access to objects. A caller reaches only its own accounts, routes and verdicts. A verdict carries owner.

What breaks

  • SettlementState gains review, in_doubt, rerouting, refunding and manual_review. refund_required is not terminal: the terminal states are closed and expired.
  • Routes. A route can return executing and settle later; read it again until it is settled or failed.
  • POST /clearing/v1/cycles/:id/close and /settle exist in test mode only.
  • Omni Account sources. A route from an Omni Account draws on the balance of its holding; a holding that does not hold the amount is refused.
  • Decisions. A route decision states its source: model or baseline. The default router of an intent is path-flash-1.0; Path Global chooses the route.
  • Operator routes. Every route of /treasury/v1, /risk/v1 and /intelligence/v1, and the operator routes of /operations/v1, need the scope of their prefix and, in live mode, the signature of a registered operator who carries that scope.
  • Proof decisions. POST /proof/v1/checks/:id/decision needs the scope risk, and the decider is another credential.
  • Idempotency. A request holds its key for 300 seconds while it runs.
  • SDK and MCP. mode is test for a key_test_ key and live for any other key. The MCP tool treasury_propose_transfer takes rebalance, refuel, sweep, defunding, conversion, fees and gas; an arrival from outside is an expected funding.
  • Deposits. A deposit carried by a route has the status converting while the route runs.

On this page