API reference
Operations
/operations — calendars, capabilities and compatibility of networks, closing a netting set and settling a period, and sandbox scripting.
Scope operations. Every route of /operations is an operator route. In test mode a test key
calls it with no signature. In live mode it is available to a key whose agreement includes operator
access; every request carries the signature of a registered operator
(operator headers).
https://api.pathglobal.finance/operationsThe routes that run the platform itself are reserved to Path Global.
Networks
GET /connectivity/calendars/:network
The calendar of a network and whether it is open now. See Calendars.
GET /connectivity/capabilities?network&router
What each network can do now, per operation: supported, open_now, healthy, opens_at, limits,
expected_fee, and reason when an operation is not supported.
GET /connectivity/compatibility?from&to
{ "edges": [ … ] }: the edges between two nodes (ASSET@network). An edge has a kind (book,
intrabank, same_asset, bridge, ramp, convert), its cost in basis points, its time in
seconds, whether it is open now and whether it takes an escrow (lockable).
Clearing
Each route below also needs the scope risk.
POST /clearing/sets/:id/close
Closes the open period of a set now. :id is the netting set, <ASSET>@<network>, URL-encoded.
200 with the closed period.
POST /clearing/periods/:id/settle
Settles a closed period as far as it can be settled now. :id is the period, <set>#<seq>,
URL-encoded. 200 with the period.
A net debtor of a closed period pays under the rail reference
ns.<asset>.<network>.<seq>.<participant>. See Clearing.
POST /sandbox/script
Test mode. Gives matching orders an outcome at the sandbox bank. See Sandbox.