Network

API reference

Clearing

/clearing — obligations recorded by their debtor, participants, running positions, netting sets, periods and their signed reports.

Scope clearing. The key acts for one participant: a provider, a partner or a client of Path Global. Participants and their caps are set by Path Global, which also sets the participant a key acts for.

https://api.pathglobal.finance/clearing

An obligation is a debt between two participants in one asset. It enters their running positions in a netting set (<ASSET>@<network>: the asset and the network the set settles on). A set is netted by period (<set>#<seq>). A period closes at a cut-off of the set, or earlier under the terms of the set. At the close, each position is netted; a net debtor pays its net amount in, and a net creditor is paid out.

A participant's cap bounds what it may owe: a net debit cap per asset, allocated between its sets, with optional bilateral bounds and a net credit cap. An obligation the caller records beyond the debtor's headroom is refused; obligations Path Global records for a participant can wait in its queue.


Obligations

POST /obligations

The caller records an obligation it owes. When the caller is the creditor, the obligation is stored as a proposal, which its debtor accepts.

{
  "set": "USD@fedwire",
  "debtor": "sandbox-member",
  "creditor": "meridian-markets",
  "amount": { "value": "12500.00", "asset": "USD" },
  "reference": "inv-2026-11-0042"
}
FieldRequiredNotes
debtor, creditoryesParticipant ids, at most 53 characters each
amountyesNo finer than the precision of its asset
referenceyesUp to 140 characters
setnoThe netting set; default <ASSET>@book
cyclenoThe cycle of the cycle surface, below

The body holds these fields and nothing else. 201 with the obligation.

FieldNotes
stateproposed (waits for its debtor; rejected once past its time), pending, accepted, queued (waits for headroom), rejected, settled. A debtor's call answers accepted, a creditor's call proposed
periodThe period it was netted in
entryThe ledger entry that recorded it
ErrorWhen
404 pathglobal.clearing.participant_unknownThe key acts for no participant
403 pathglobal.clearing.not_debtorThe caller is neither the debtor nor the creditor
422 pathglobal.clearing.cap_exceededThe obligation passes a cap of the debtor
409 pathglobal.clearing.participant_suspendedA party is suspended
409 pathglobal.core.conflictThe netting set is paused, or the obligation changed meanwhile

POST /obligations/:id/accept

The debtor accepts a proposal. The obligation is recorded as if the debtor had sent it.

GET /obligations/:id

An obligation the caller is a party of. Another one answers 404.


The caller's participant

GET /participants/me

{
  "id": "sandbox-member",
  "kind": "client",
  "name": "Sandbox Member",
  "status": "active",
  "settlement": [{ "asset": "USD", "network": "fedwire", "account_ref": "…" }],
  "caps": [
    {
      "asset": "USD",
      "net_debit_cap": "<amount>",
      "sets": { "USD@fedwire": "<amount>" }
    }
  ],
  "version": 3
}

kind is provider, partner or client. A participant written with kind: "member" is read as client, and answers carry client. status is pending, active, restricted, suspended or exited. The credentials of the participant are not answered.

GET /positions

{ "positions": [ { participant, asset, net } ] }: the caller's running positions, per set.

GET /queue

{ "obligations": [ { id, set, debtor, creditor, amount, priority, recorded_at } ] }: the caller's obligations that wait for headroom.


Sets and periods

GET /sets

{ "sets": [ { id, asset, settles_on_network, cutoffs, status } ] }. settles_on_network is the network the set settles on; cutoffs are UTC HH:MM. A set written with settles_on is read as settles_on_network.

GET /periods?set= · GET /periods/:id

{
  "id": "USD@fedwire#14",
  "kind": "clearing.period",
  "set": "USD@fedwire",
  "seq": 14,
  "status": "closed",
  "state": "settled",
  "opened_at": "2026-11-19T00:00:00.000Z",
  "closed_at": "2026-11-19T17:00:00.000Z",
  "gross": { "value": "4200000.00", "asset": "USD" },
  "positions": [
    { "participant": "sandbox-member", "asset": "USD", "net": "-180000.00" },
    { "participant": "meridian-markets", "asset": "USD", "net": "180000.00" }
  ],
  "netting_efficiency": 0.957142,
  "instructions": ["in_…"]
}
FieldNotes
stateopen, closed, settling, settled, partially_settled
positionsThe net position of each participant at the close; with Path Global, they sum to zero
netting_efficiency1 − net / gross, between 0 and 1
instructionsThe ids of the executions that pay the net creditors out, read at GET /settlement/executions/:id
carriedPositions carried to the next period
reportOnce settled: the signed report, as GET /periods/:id/report answers it

A net debtor pays its net amount to the settlement account of the set, under the rail reference ns.<asset>.<network>.<seq>.<participant>. A net creditor with no settlement account for the set stays credited on the book.

GET /periods/:id/report

The signed report of a settled period, with the head { seq, hash } of the ledger journal.


The cycle surface

GET /cycles, GET /cycles/current, GET /cycles/:id keep their shapes: a cycle per set on the book, with its obligations, its netting_efficiency in percent and its net positions. POST /cycles/:id/close and POST /cycles/:id/settle exist in test mode only.


Closing a set and settling a period

In test mode, a key with operations and risk closes a set now and settles a closed period: POST /operations/clearing/sets/:id/close and POST /operations/clearing/periods/:id/settle. In live mode these are operator routes.

On this page