API reference
Sandbox
Test mode of the Path Global API — what it starts with, the fixture payees of the sandbox network, outcomes scripted by keyword or by rule, funding a position, and the routes that exist in test mode only.
A test key reaches the sandbox: simulated partners behind every network, a sandbox bank that keeps
a balance per physical account, three liquidity providers, six pools, the positions of Path Global,
two clearing participants and the checks of Proof. Nothing leaves the sandbox. Partners, accounts
and participants of the sandbox are marked sandbox.
A test key (key_test_…) reaches the sandbox. Path Global issues it with the scopes of your
agreement; the examples read it from $PATHGLOBAL_TEST_KEY.
curl -s https://api.pathglobal.finance/treasury/positions?purpose=safeguarding \
-H "Authorization: Bearer $PATHGLOBAL_TEST_KEY" \
-H "Path-Version: 2026-11-26.genesis"What the sandbox starts with
Positions. The physical accounts of test mode, each with its nostro on the ledger:
| Account | Purpose | Starts with |
|---|---|---|
| One per pool, on the network of the pool | liquidity (hot) | What the pool's suppliers supplied |
na_sandbox_<asset>_liquidity[_n], one per network and asset that has no pool | liquidity (hot) | A sandbox balance worth 1 000 000 USD |
| One per network and asset that receives client funds; one per asset is the default | safeguarding (segregated) | Nothing: client funds arrive by deposits and routes |
| One per netting set | settlement | Nothing |
| One per chain | gas | A sandbox balance in the chain's fee asset |
One per prefunded provider, on network provider | liquidity | The balance held with the provider |
Each position with a band has its policy and each asset its safeguarding policy. Every own account is on the allowlist. A transfer proposed through the API waits for a checker.
Pools. USD on fednow, EUR on sepa-inst, USDC on base, MXN on spei, BRL on pix, XOF on
pi-spi, supplied by sandbox-liquidity-partner.
Providers. meridian-markets, harbor-liquidity and atlas-otc, each with its corridors and
funding terms (GET /liquidity/corridors).
Endpoints. The sandbox issues every endpoint type. Test identifiers pass the format of every network they receive on; they are not to be paid on a live network. Card numbers are published test card numbers.
Clearing. sandbox-member and meridian-markets (net terms). Path Global sets which participant
a test key acts for. A netting set
<ASSET>@<network> is created on first use.
Risk. A pair with no corridor gets a sandbox corridor on first use, bounded in the asset paid. The
sandbox corridor advances a pay-in that can still be recalled or disputed — a card, a pull debit —
up to its advance limit: such a payment is bounded_exposure in test mode. A client the sandbox
does not know is a verified identity with verdict sandbox.
Path Tools. SONAR, FINDER, the federated search, RESOLVER (by address, and by alias), the
commitment, the payee check, instructions, requests and receipts answer from the subjects,
addresses and aliases of the key and from the fixture payees, as the objects of
the PATH protocol: sonar_answer, { step1, step2 }, { nonce, holders, unavailable },
resolver_answer, path.address.commitment, payee_check, path.instruction, path.request and
path.receipt in grammar 2. Each is signed by the test key published at /.well-known/path-keys,
and verifies with verifyEnvelope of @pathprotocol/sdk. The
list gives each answer and the tools the sandbox serves.
Fixture payees
The sandbox network holds three PATH addresses that resolve in test mode, so that a route to a PATH
address or an alias runs end to end. They are held by the member path-global on the network
openconnect. The router pays them through SONAR, RESOLVER, the commitment and a payment
instruction, as it pays any PATH destination.
| Address | Alias | Payee | Terms | accepts, in order |
|---|---|---|---|---|
path:4a91c2f7e8d3 | alias:openconnect:ada.moreau | Ada Moreau, a person | Pledged | sepa-inst EUR, max_single 10 000 EUR; base USDC; pi-spi XOF |
path:b81e07d2c4a9 | Harbor Supplies, a legal entity | Pledged | sepa-inst EUR, reference_required | |
path:5c3d9e1f7a20 | Lumen Studio, a legal entity | Derived: commitment: null | base USDC |
{
"amount": { "value": "250.00", "asset": "EUR" },
"source": { "omni_account": "oa_4f2k9q" },
"destination": { "alias": "@ada.moreau" },
"deliver": { "asset": "EUR" },
"reference": "invoice-1042"
}The payee check of a fixture compares the name sent with the payee's name above. The instruction
of a fixture names a test beneficiary, valid for the format of its rail, and is open 30 minutes on
the clock of the sandbox. On path:b81e07d2c4a9, the reference carried on the rail is the
payment_reference of the instruction. An address or an alias issued in the sandbox with the same
spelling as a fixture is answered as issued. A PATH address that is neither a fixture nor issued in
the sandbox answers 404 pathglobal.router.payee_unknown.
A PATH address issued in the sandbox is paid through the same steps: its instruction names the endpoint anchored to the capability paid.
Outcomes by keyword
The sandbox bank gives an order an outcome when the reference of the payment contains one of these words, as a whole word:
| Word | Outcome |
|---|---|
fail | The order is refused |
timeout | The order is accepted and the call does not answer |
unknown | The bank has no trace of the order |
slow | The order is final two minutes after it is accepted |
return | The order is final, then returned |
short | A collect brings less than instructed |
over | A collect brings more than instructed |
charge | A fee line is added to the statement |
outage | The bank does not answer |
{
"amount": { "value": "250.00", "asset": "USD" },
"source": { "omni_account": "oa_4f2k9q" },
"destination": { "network": "spei", "identifier": "<CLABE of the beneficiary>" },
"deliver": { "asset": "MXN" },
"reference": "invoice-1042 return"
}Outcomes by rule
POST /operations/sandbox/script
Test mode. Scope operations. Gives every order that matches an outcome. Rules are not kept across
a reset of the sandbox.
{ "match": "chargeback-77", "outcome": "fail" }| Field | Notes |
|---|---|
match | Text contained in the payment reference |
outcome | One of the words above |
200 with { "scripted": { "match", "outcome" } }. A new rule with the same match replaces the
first.
Funding a position
POST /treasury/positions/:account/fund
Test mode. Scope treasury. Credits a position, with the same credit at the sandbox bank. :account is the ledger reference of the nostro, URL-encoded.
curl -s -X POST \
"https://api.pathglobal.finance/treasury/positions/nostro%3A-%3Ana_sandbox_USD_liquidity%3AUSD/fund" \
-H "Authorization: Bearer $PATHGLOBAL_TEST_KEY" -H 'Content-Type: application/json' \
-H "Path-Version: 2026-11-26.genesis" \
-d '{ "amount": { "value": "1000000.00", "asset": "USD" }, "reference": "topup-1" }'| Field | Required | Notes |
|---|---|---|
amount | yes | In the asset of the position |
reference | no | The reference of the funding. The same reference funds once |
200 with the ledger result: the batch, its sequence number and the funding entry.
POST /treasury/positions/:account/defund
The same body. Takes value out of the position, with the same debit at the sandbox bank.
Other ways in
| Route | What it credits |
|---|---|
POST /accounts/holdings/:id/fund | A holding of the caller, from the sandbox bank |
POST /endpoints/:id/deposits | A deposit on an endpoint, as a network would notify it |
POST /liquidity/pools/:id/supply | A position of the caller in a pool |
Routes that exist in test mode only
| Route | |
|---|---|
POST /operations/sandbox/script | Outcome rules |
POST /treasury/positions/:account/fund · /defund | Funding a position |
POST /accounts/holdings/:id/fund | Funding a holding |
POST /endpoints/:id/deposits | Simulating a deposit |
POST /liquidity/pools/:id/supply | Supplying a pool |
POST /liquidity/pools/:id/withdraw without destination | Paying a pool position out at once |
POST /clearing/cycles/:id/close · /settle | Closing and settling a cycle of the cycle surface |
On a live key each answers 404 pathglobal.core.not_found.
Time in the sandbox
The sandbox advances on its own: a route, a transfer or a period moves through its states without a call. Read the object again to follow it.
Approvals in the sandbox
An approval is decided by another credential and another operator than its maker. Ask Path Global
for a second test key, for another person, with risk and the approver scope of the action, and
decide with it. Test mode asks for no signature.
Calendars
Opening hours, cut-offs, holidays, value dates, recall and dispute windows of each network, and how Path Global plans around them.
Router and decision
/catalogue, /router and /decision — the networks of the catalogue, signed quotes and routes with their guarantee level, payment to a PATH address or an alias, and route decisions.