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(scopetreasury),/risk/v1(scoperisk) and/intelligence/v1(scopeintelligence). The approver scopestreasury_approveandrisk_approvedecide approvals./liquidity/v1addsPOST /discover,GET /paths,GET /depth, and pausing and resuming a pool;/operations/v1adds 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 ofatomic,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/guaranteesanswers it. - Instructions. A route is settled by one settlement instruction, read at
GET /settlement/v1/instructions/:idandGET /settlement/v1/instructions?settl=. A SETTL carriesinstruction,holding,refsandversion.POST /settlement/v1/exchangesruns 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/reportandPOST /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
SettlementStategainsreview,in_doubt,rerouting,refundingandmanual_review.refund_requiredis not terminal: the terminal states areclosedandexpired.- Routes. A route can return
executingand settle later; read it again until it issettledorfailed. POST /clearing/v1/cycles/:id/closeand/settleexist 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:modelorbaseline. The defaultrouterof an intent ispath-flash-1.0; Path Global chooses the route. - Operator routes. Every route of
/treasury/v1,/risk/v1and/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/decisionneeds the scoperisk, and the decider is another credential. - Idempotency. A request holds its key for 300 seconds while it runs.
- SDK and MCP.
modeistestfor akey_test_key andlivefor any other key. The MCP tooltreasury_propose_transfertakesrebalance,refuel,sweep,defunding,conversion,feesandgas; an arrival from outside is an expected funding. - Deposits. A deposit carried by a route has the status
convertingwhile the route runs.