API reference
Treasury
/treasury — positions, the treasury view, policies, transfers, expected fundings, the allowlist, reconciliation, inbound items, refuel cycles and the ledger.
Scope treasury, an operator scope. Treasury acts on the positions of the whole deployment, not on
the caller's objects. In test mode a test key exercises it in the sandbox 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.
A position is a nostro of the
ledger with its physical account. An account is addressed by its
ledger reference, URL-encoded: nostro%3A-%3Ana_sandbox_USD_safeguarding%3AUSD. The id of a physical
account (na_…) names a policy and a funding.
https://api.pathglobal.finance/treasuryA route that writes under an approval answers 202 with the
approval while it waits; the same call after the decision applies the change.
Positions
GET /positions
Filters: network, asset, purpose (safeguarding, liquidity, settlement, gas), tier (hot, warm, cold), partner.
{
"positions": [
{
"account": "nostro:-:na_sandbox_BRL_safeguarding:BRL",
"network_account": "na_sandbox_BRL_safeguarding",
"networks": ["pix"],
"partner": "sandbox",
"asset": "BRL",
"purpose": "safeguarding",
"tier": "warm",
"balance": { "value": "0", "asset": "BRL" },
"reserved": { "value": "0", "asset": "BRL" },
"pending_in": { "value": "0", "asset": "BRL" },
"pending_out": { "value": "0", "asset": "BRL" },
"in_transit_to": { "value": "0", "asset": "BRL" },
"available": { "value": "0", "asset": "BRL" },
"limits": {},
"observed": { "balance": { "value": "0.00", "asset": "BRL" }, "at": "2026-11-19T13:40:03.304Z", "difference": "0" },
"status": "open"
}
]
}| Field | Notes |
|---|---|
in_transit_to | Value of transfers on their way to this account |
available | balance − reserved − floor |
band | min, target, max of its policy, when it has one |
observed | The balance its partner last reported, and the difference with the ledger |
reconciled_at | The latest reconciliation |
GET /positions/:account
One position.
GET /view
The treasury view, in the reporting asset (USD), with the head { seq, hash } of the ledger journal:
| Key | One row per |
|---|---|
by_asset | Asset: what is held, in transit and reserved, the open position, the gap and the value in the reporting asset |
by_network | Network and asset: balance, available, target, claims, location_gap |
GET /fx
{ "positions": [ { asset, open_position, reference_value } ] }: the open position per asset and
its value in USD.
GET /safeguarding
{ "assets": [ { asset, gap, effective, policy } ] }: per asset, the safeguarding gap (client
claims against the cash on segregated accounts), its effective value and the safeguarding policy.
Client funds are held on segregated safeguarding accounts.
GET /accounts
The physical accounts: id, partner, networks, router, asset, purpose, segregated,
tier, ledger (the nostro), mask, status. The identifier of an account is never answered.
Policies
GET /policies/:account · PUT /policies/:account
:account is the id of a physical account. PUT writes under an approval policy_change.
{
"band": { "min": "<amount>", "target": "<amount>", "max": "<amount>" },
"min_ceiling": "<amount>",
"target_floor": "<amount>",
"target_ceiling": "<amount>",
"buffer_bps": "<bps>",
"closure_cover": true,
"allow_convert": true,
"max_cost_bps": "<bps>",
"daily_charge_allowance": "<amount>",
"rule": "<rule id>",
"pool_min_level_bps": "<bps>"
}Values in angle brackets are placeholders: amounts are decimal strings, _bps fields are integers.
| Field | Notes |
|---|---|
band | min ≤ target ≤ max. The refuel cycle brings the position back toward target |
min_ceiling, target_floor, target_ceiling | The bounds the refuel cycle keeps its computed minimum and target within |
buffer_bps | A margin on the target, in basis points |
closure_cover | The target covers the closure of the network |
allow_convert | A refuel may convert from another asset |
max_cost_bps | The highest cost a refuel transfer takes |
daily_charge_allowance | Charges of the network the account takes in a day beyond the expected fee |
rule | The approval rule of its refuels |
pool_min_level_bps | A rebalance out of a pool leaves it at least this share of what was supplied |
GET /safeguarding/:asset · PUT /safeguarding/:asset
The safeguarding policy of an asset: gap_trigger, gap_max, margin_bps. PUT writes under an
approval policy_change.
Transfers
A transfer moves value from a nostro to another own nostro, or out to an allowlisted destination.
POST /transfers
{
"type": "rebalance",
"from": "nostro:-:na_sandbox_USD_liquidity:USD",
"to": "nostro:-:na_sandbox_USD_liquidity_2:USD",
"amount": { "value": "250000.00", "asset": "USD" },
"reason": "cover the afternoon cut-off"
}| Field | Required | Notes |
|---|---|---|
type | yes | rebalance, refuel, sweep, funding, defunding, conversion, fees, gas |
from, to | yes | Ledger references; for a defunding, to is an allowlist entry |
amount | yes | In the asset of from; kept exactly as given |
reason | yes | Up to 280 characters |
advice | no | The advice of intelligence the transfer follows |
202 with the transfer, in state pending_approval, naming its approval. The transfer is
executed once a checker approves it.
Rules, read when the transfer is proposed and again when it is executed:
- the destination is on the allowlist, from its
not_before; - the source is open; the destination is neither frozen nor closed;
- the transfer stays within the policy of both accounts;
- no order goes to a network that is closed: the transfer is
scheduleduntil its opening.
| Error | When |
|---|---|
403 pathglobal.treasury.destination_not_allowed | The destination is not on the allowlist, or not yet |
422 pathglobal.treasury.out_of_policy | The transfer is outside the policy of an account |
409 pathglobal.ledger.account_frozen | An end is frozen or closed |
GET /transfers · GET /transfers/:id
Filters: state, type, asset.
| State | |
|---|---|
proposed, pending_approval | Waits for its approval |
approved, scheduled | Approved; scheduled waits for not_before |
executing, in_transit | The order left; the value is on its way |
in_doubt, blocked | The arrival is not evidenced yet; blocked waits for a decision |
settled | Arrived |
failed, rejected, cancelled | Ended without moving value |
POST /transfers/:id/cancel
Cancels a transfer that has not left: proposed, pending_approval, approved, scheduled.
POST /transfers/:id/resolve
Scope treasury_approve as well. Ends a blocked transfer under an approval instruction_resolve.
{ "approval": "apr_…", "resolution": { "decision": "arrived", "rail_reference": "IMAD-20261119-0042" } }decision is arrived or returned with the rail reference of the evidence, or written_off.
Expected fundings
Prefunding from outside enters as an expected funding: one amount, under one rail reference, on one physical account.
POST /fundings
Under an approval funding_expect.
{
"account": "na_sandbox_USD_liquidity",
"amount": { "value": "1000000.00", "asset": "USD" },
"reference": "PF-2026-11-19-001",
"credit_to": { "house": true }
}credit_to is { "house": true }, { "pool", "owner" } (a supply to a pool, with the position of
the supplier) or { "collateral": <participant> }. The credit is booked when the network evidences it
on the account, for that reference and that amount. A credit of another amount is left to
reconciliation. The same declaration twice returns the first; other content under the same account
and reference is 409 pathglobal.core.reference_taken.
GET /fundings
Filters: state (expected, matched, expired, cancelled), account.
Allowlist
GET /allowlist
{ "entries": [ { id, account | network, mask, holder, not_before, approval, version } ] }. An entry
names an own account, or an external account by its network and mask; its identifier is not
answered.
POST /allowlist
Under an approval allowlist_add. An entry counts from its not_before.
{ "network": "sepa-inst", "identifier": "<IBAN of the account>", "holder": "Example Treasury Ltd" }or { "account": "<ledger reference>" } for an own account. 202 with { approval } while it waits,
then { approval, entry }.
Reconciliation
Each nostro is reconciled against the statement of its physical account. A credit the books do not explain becomes an inbound item. A difference the books do not explain is a break: the account takes no debit until a person resolves the break under an approval.
GET /reconciliations
Filters: account, state (matched, break, resolved).
POST /reconciliations/run
{ "account": "na_…" } reconciles one physical account; an empty body reconciles all.
{ "reconciliations": [ … ] }.
POST /reconciliations/:id/resolve
Scope treasury_approve as well. { "approval": "apr_…" }, an approval break_resolve. Resolves the
break as approved and reopens the account.
Inbound items
A credit that no expected funding or instruction explains is an inbound item. It is claimed, returned or escalated.
GET /inbound
{ "items": [ { id, account, reference, amount, state, first_seen, claimed_by? } ] }. States:
unmatched, claimed, returning, returned, escalated.
POST /inbound/:id/return
Returns the credit to its sender by a return instruction. An item that no one claims is returned
the same way.
POST /inbound/:id/escalate
Scope treasury_approve as well. { "approval": "apr_…", "owner": "<ledger reference>" }, an approval
break_resolve: the credit goes to the owner the request names, and a case is opened.
Refuel cycles
A refuel cycle brings positions back inside their policy, has its transfers approved, follows them, and ends with a signed report.
GET /refuel/cycles · /refuel/cycles/current · /refuel/cycles/:id
{
"id": "rf_20261119",
"kind": "refuel.cycle",
"date": "2026-11-19",
"trigger": "cutoff",
"accounts": ["nostro:-:na_sandbox_USD_liquidity:USD"],
"state": "executing",
"networks": [{ "network": "fedwire", "cutoff_at": "2026-11-19T23:00:00.000Z", "state": "cut" }],
"transfers": ["tt_…"],
"report": "rf_20261119/report"
}| Field | Notes |
|---|---|
id | rf_YYYYMMDD; an intraday cycle rf_YYYYMMDD_nn |
trigger | cutoff or intraday |
state | open, cut, reconciled, planned, executing, settled, partially_settled |
snapshot | The positions of the cycle when it started |
plan | The transfers of the cycle |
shortfalls | What could not be covered, and why |
report | The path of the signed report, once the cycle has ended |
/refuel/cycles lists the latest first.
GET /refuel/cycles/:id/report
The signed report of an ended cycle, with the head { seq, hash } of the ledger journal.
Ledger
GET /ledger/accounts/:id
One ledger account, by its reference. See Ledger.
GET /ledger/entries
By account, reference, rail_reference or instruction; one is required. 200 entries at a time;
after_seq reads on.
GET /ledger/head
{ "seq", "hash" }: the head of the journal.
Test mode
POST /positions/:account/fund and /defund. See Sandbox.
Endpoints
/endpoints — the endpoints a PATH address receives on, their anchors, and the deposits that arrive on them.
Ramp
/ramp — payment providers by payment category, Path Global's own processing (Connect Pay or Path Pay WL), the settings of a client, and the sessions that take a person from one asset to another.