Guides

Overview

An operator on the PATH network: a private API for accounts, routing, liquidity, clearing, settlement, treasury and risk on one ledger.

What Path Global is

Path Global is a private company that runs an implementation of PATH. It is one operator among possible others. The protocol defines what crosses a boundary between two organisations; rails, custody, pricing and the ledger stay with each operator. Path Global offers what it runs as an operator through a private API:

https://api.pathglobal.finance

The API is organised in products, each under /<product>. A client calls it from its own server with a key that Path Global issues. This page describes what the API does for a client. The guides and the API reference describe how to call it.

One ledger

Every balance Path Global keeps is an account of one double-entry ledger: the holdings of its clients, the positions on each network, the pools and the headroom of each clearing participant.

  • A change is one batch. A batch is applied whole or not at all, and balances per asset.
  • A line never changes. A correction is a new line.
  • Signed reports carry the head of the journal, { seq, hash }, at the time they are made.
  • Client funds are held on segregated safeguarding accounts.

A route, a clearing period, a treasury transfer and a pool trade all move value the same way: by batches on that ledger. A caller reaches only its own accounts and verdicts; an object of another client answers as one that does not exist.

What each engine does for a client

EngineWhat it does for a client
Accounts and endpointsOmni Accounts and their holdings, one balance per asset. PATH addresses for the client's subjects, published on the PATH network with their receive targets and, once the client pledges them, what they accept. Endpoints, identifiers a payer sends to such as a vIBAN, anchored to a holding so that a deposit is credited to its holder.
ConnectivityThe one way an order reaches a network. It knows each network's kind, calendar and capabilities. An order goes out once, and its outcome is read from evidence: a notification alone books nothing.
Router, decision and proofA quote for a payment intent, with a guarantee level, a fee and an expiry; the execution of that quote; the state of the route until it settles or fails. A route pays an identifier on a network, an Omni Account, or a PATH address or an alias, which Path Global pays as a PATH member. The default router of an intent is path-flash-1.0, the router of Path Global, powered by the decision model of the same name. Proof runs the checks a route passes before it executes and signs a verdict: pass, review or fail.
LiquidityPools of Path Global's positions in each asset and network. A pool quote gives a rate, a fee in basis points and the amount bought. Liquidity offers say where an amount can be delivered now; paths and depth list the paths between two assets and networks and the depth on each. Depths and amounts short of a request are given in bands, except to a key with the treasury scope.
ClearingObligations between clearing participants, recorded by the debtor or proposed by the creditor, netted by netting set over a period. At the close of a period, the net positions settle by net-settlement executions, and the period has a signed report. Participants and caps are set by Path Global.
SettlementOne execution per movement, with its type, its legs and its state, and a signed receipt at the end. Two-party exchanges: payment versus payment (pvp) and delivery versus payment (dvp).
RefuelCycles that bring the positions on each network back inside their policy, so that deliveries from a prefunded position can be made. Each cycle ends with a signed report.
TreasuryThe positions on each physical account, safeguarding, expected fundings, the allowlist of destinations, reconciliation and transfers between positions.
IntelligenceForecasts of what each position pays out, the health of each corridor, and advice. It only tightens a control within its bounds, or proposes a treasury transfer that waits for a person. It never loosens a control, approves, or moves value.
Compliance and riskCorridors, limits, exposures and breakers; identities and cases; an audit log. A payment outside them is refused with an error code, or held for review.

Treasury, risk and intelligence are operator products. They act on the whole deployment, not on the caller's own objects, and are available to a key whose agreement includes operator access. In live mode every request to them carries the signature of a registered operator.

Guarantee levels

Every payment carries a guarantee level. The level is on the quote, the execution, the settlement record and the signed receipt, and on each liquidity offer.

LevelWhat it promises
atomicBoth sides post in one ledger batch or one chain transaction, or neither does.
conditionalOne side is held and released only on definitive evidence about the other.
receipt_firstPath Global delivers from a prefunded position only after final receipt.
value_datedThe exchange waits for the finality of the slower network.
bounded_exposureDelivery comes before the end of the window in which the receipt can be returned. The account that bears the exposure and the capped amount are on the execution.

The levels are listed from the strongest to the weakest. The level follows from how Path Global receives and how it delivers. A two-party exchange takes the weaker of its two directions, and is atomic only when both pay-ins are held on the book. Legal finality comes from scheme rules and contracts. The full table of network kinds is in Guarantee levels.

Three receipts

Path Global signs three kinds of receipt. Each says something different and is read on its own.

The settlement receipt of Path Global

A route of the router ends with a settlement receipt, kind: "settlement.receipt", read at GET /settlement/receipts/:id. It is a record of Path Global, signed by Path Global as a PATH envelope. It states what Path Global did for its client: what was sent and received, the legs of the route, the destination, the guarantee level and the instant it became final. It is read by the client the route belongs to. See Settlement.

The payee receipt of a deposit

A deposit received on a PATH address has a payee receipt: a path.receipt of the PATH protocol (PIP-0011), issued_by: "payee", issued by the PATH member that holds the address. It states, in the terms of the protocol, that a payment reached the address: the PATH address (payee: { member, address }), the capability it came through (via), what was received, the rail reference, and route: null. It names no holding, endpoint, route or guarantee.

StepStatement
The deposit is recordedpending
It is credited, or handed to its routesettled
It is returnedfailed, with a reason code: destination_closed, compliance_blocked or limit_exceeded

Each statement is a new signed envelope that cites the one before (supersedes), so the chain is verified from its first statement. The receipt is public, as on PATH: anyone with its reference reads it and verifies it with Path Tools (receipt_read, receipt_chain, receipt_verify); only the member that issued it moves it. A deposit has one when it arrives through a rail its address publishes and carries a rail reference. See Endpoints.

The payer receipt of a route

A route to a PATH address or an alias has a payer receipt: a path.receipt of the PATH protocol (PIP-0011), issued_by: "payer", that Path Global states as the payer's PATH member. It names the payment instruction the route pays, the payee (payee: { member, address }), the capability (via) and what was sent, and route: null.

StepStatement
The route has a SETTLpending
The route is deliveredStays pending: the payee's member states the settlement
The route is refunded, or its SETTL expiresfailed, with a reason code: insufficient_funds, rail_unavailable, rail_rejected, limit_exceeded, compliance_blocked or expired

The route names it in payer_receipt, beside path_instruction, the instruction of the payee's member. See Router.

The decision model

The router finds the candidates of an intent, prices them and proves them; a decision model chooses one. path-flash-1.0 is the default decision model: it reads the candidates and the constraints of the intent and returns one of them, with a ranking and a reason. It chooses only among the candidates the router built; it changes no price and no leg. When it gives no answer, the baseline model, a deterministic score, decides, and the decision states source: "baseline".

path-flash-1.0 is the routed rail of the PATH register (PIP-0020): a rail that networks list beside their own.

Dual control

A change that loosens a control or moves value out waits for a second person: another credential and another operator.

  1. The first call answers 202 with { approval }.
  2. A checker with the approver scope of that action approves or rejects it.
  3. The call that carries approval applies the change. A treasury transfer executes once approved, with no second call.

An approval applies once, to the change it names, at the version it names. Its states are requested, approved, rejected, consumed and expired. See Approvals.

Test and live

A key selects its mode. Test keys start with key_test_, live keys with key_live_. Every authenticated response carries the mode in PathGlobal-Mode.

ModeWhat it runs on
testThe sandbox: simulated networks, providers, pools and positions. Nothing settles. A few routes exist in test mode only, such as funding a holding.
liveThe networks and corridors Path Global operates. Operator routes carry an operator signature.

Apart from the test-only routes and the operator signature, the same requests, states and errors apply in both modes. See Sandbox.

How Path Global relates to PATH

  • An operator, not the protocol. PATH is complete and implementable without Path Global. Another operator can offer the same services, or none of them.
  • A member on the payer side. A route to a PATH address or an alias is paid in the steps of the protocol: SONAR, RESOLVER at the holding member, the commitment of the terms, and a payment instruction issued by that member. Path Global states the payer receipt.
  • A member on the receive side. Path Global is the PATH member path-global for the addresses of its clients' subjects, in hosted mode. A verified subject is a subject of the PATH network, with its payee record and an attestation of its level of verification. An address publishes its receive targets, and what it accepts in the grammar of the protocol with the PATH commitment of the address. A revoked or replaced address answers as PIP-0027 defines, and never names the address that replaced it.
  • Protocol operations through Path Tools. Path Global exposes the public operations of the PATH protocol to its clients under /tools: read a register, find who holds an identifier, resolve what an address or an alias accepts, check a payee, ask a payment instruction, issue a request, issue a receipt.
  • The Crossway API. Path Global runs the API of PATH CROSSWAY, on request.
  • The Liquidity pillar is reserved. PATH declares PATH LIQUIDITY and does not specify it in this version; a PATH receipt (path.receipt) carries route: null, and PIP-0005 defines the only shape it may take. Path Global's pools, liquidity offers and clearing are products of one operator. They are not that pillar and not part of the protocol.

Access

Access is granted per client, on request at pathglobal.finance. Keys and scopes are issued by Path Global. A key stays on the client's server; it can carry an expiry and the address ranges it is accepted from.

On this page