Changelog

Path Global API: paying a PATH address or an alias

The router pays a PATH address or an alias as a member of the PATH network: SONAR, RESOLVER, the commitment and a payment instruction of the payee's member. A route states a payer receipt. The default router is path-flash-1.0, powered by the decision model of the same name. Settlement executions and liquidity offers take their names.

The Path Global API version stays 2026-11-20.genesis. Path Global calls the PATH network with Path-Version: 2026-10-04.genesis and protocol version 0.2.0, and resolves an alias at its holding member under PIP-0028 (0.16.0).

What changed

  • Paying a PATH address or an alias. A destination { path } is a PATH address, path: and 12 to 64 hexadecimal digits, read in lower case. A destination { alias } is an alias of the PATH network: alias:<network>:<name>, or @name and name, read in the network of the PATH member Path Global reaches (openconnect in test mode). An alias is a destination, not a source. Path Global pays as a member of the PATH network: SONAR names the holding member (skipped for an address or an alias Path Global holds), RESOLVER at that member gives what the address accepts, the commitment of its terms is read at that member and checked, and at execution the payee's member issues a signed payment instruction (PIP-0009). Each answer is verified against the keys the holding member publishes. An alias travels in the body of a signed request. Paying a PATH address or an alias.

  • What is payable. A route pays an entry of the payee's accepts whose network the catalogue knows, that carries the asset delivered, and whose rail has beneficiary formats: sepa-inst, pi-spi and token transfers on blockchain networks. Other entries are skipped; with none left the quote answers 422 pathglobal.router.no_route.

  • Limits, preference and reference. A candidate outside min_single and max_single, of its entry or else of the address in the same asset, is not quoted. Between candidates the decision ranks equal, the earlier entry of the payee wins. The reference carried on the rail is the payment_reference of the instruction when it has one (always on an entry with reference_required), then reference of the intent. A conversion whose provider delivers to the payee is a candidate only when the provider carries the reference of the payment.

  • Quote. For a PATH destination, quote.route.destination is { network, path_address, alias?, capability, commitment, intent_version }: path_address is the address an alias designates, capability the PATH Capability of the entry paid on, commitment and intent_version those of the terms verified, null on derived terms. A quote names no identifier, no holding member and no endpoint of a member.

  • Route. A route to a PATH destination carries path_instruction: { reference, expires_at }, the instruction it pays, read with the Path Tool instruction_read. The instruction is asked before anything is drawn, held or settled. A resumed route reuses an open instruction; a route without a SETTL whose instruction expired asks for another, three at most. An instruction for another amount, or with limits the amount does not meet, is not paid. failure.details holds path_code, reason, check or field, as the error of the code states them. Routes.

  • The payer receipt. A route to a PATH destination carries payer_receipt: { reference, status, reason_code?, sync_error? }, a path.receipt with issued_by: "payer" that names the instruction, the payee ({ member, address }), via and sent, with route: null. It is pending once the route's SETTL exists and stays pending when the route is delivered: the payee's member states the settlement. It is failed with rail_rejected, rail_unavailable, insufficient_funds, limit_exceeded or compliance_blocked when the route is refunded, and with expired when its SETTL expires. A route that fails before its SETTL has none. A statement the PATH network has not taken is sent again later under the same key; one it refuses sets sync_error. The status of the route never depends on it. It is read with receipt_read and receipt_chain. The payer receipt.

  • Idempotency. Each write Path Global makes on the PATH network for a route carries a Path-Idempotency-Key made from the route id. A route executed twice under one Idempotency-Key, or resumed, reaches one instruction and one payer receipt.

  • SETTL. refs holds the reference of the PATH instruction a route pays, and GET /settlement/settlements?reference= finds the SETTL by it. failure_reason gives the reason of the first leg that failed, provider for a conversion that failed, or expired. The SETTL.

  • Router and decision model. intent.router is path-flash-1.0 by default: the router of Path Global, powered by the decision model path-flash-1.0, chooses the route. Any other value is a router of the catalogue; one that is not answers 400 pathglobal.router.router_unknown with details.routers, path-flash-1.0 first. path-flash-1.0 is the default model of GET /decision/models and of POST /decision/routes; baseline decides when it gives no answer. The model, the router and the routed rail path-flash-1.0 of the register carry one version. Decision.

  • Precision. An amount is read and computed at the precision of its asset: the ISO 4217 minor units of a currency, 2 except BIF, CLP, DJF, GNF, ISK, JPY, KMF, KRW, PYG, RWF, UGX, UYI, VND, VUV, XAF, XOF and XPF (0), BHD, IQD, JOD, KWD, LYD, OMR and TND (3), CLF and UYW (4); the decimals of a token in the PATH token register: ETH, POL, BNB, AVAX and CELO 18, SOL and SUI 9, BTC 8, XLM 7, TRX, USDC, USDT and EURC 6. Conventions.

  • Settlement executions. An execution of Path Global is read at GET /settlement/executions/:id and GET /settlement/executions?settl=, with kind: "pathglobal.execution"; a SETTL names it in execution. The operator routes are POST /operations/settlement/executions/:id/resolve and POST /operations/settlement/executions/:id/returns. The /instructions paths answer the same. In an object Path Global publishes on the PATH network, instruction is the reference of a PATH instruction. Executions.

  • Liquidity offers. POST /liquidity/offers answers where an amount can be delivered on a node now. POST /liquidity/discover answers the same. Offers.

  • Clearing. A netting set names the network it settles on in settles_on_network; a request may write settles_on. A participant that is a client of Path Global has kind: "client"; a request may write member. Clearing.

  • Path Connect. An account at another member named by an alias is found with FINDER, then resolved at its holding member with the alias in the body of a signed lookup. Connect.

  • Sandbox fixture payees. In test mode the sandbox network holds three PATH addresses of the member path-global on openconnect, paid through the same steps: path:4a91c2f7e8d3, alias alias:openconnect:ada.moreau, pledged, accepting sepa-inst EUR up to 10 000 EUR a payment, base USDC and pi-spi XOF; path:b81e07d2c4a9, pledged, sepa-inst EUR with reference_required; path:5c3d9e1f7a20, derived terms, base USDC. An address issued in the sandbox is paid through the same steps, its instruction naming the endpoint anchored to the capability paid. Fixture payees.

  • Path Tools. resolver_lookup takes { key, nonce }, an alias in the signed body, and answers the resolver_answer of the address it designates, with key (the alias normalised: lower case, separators removed), address, nonce and requester. resolver takes a PATH address. In test mode, sonar, resolver, commitment, payee_check, instruction_issue and instruction_read answer the fixture payees; instruction_issue answers for a fixture or an address issued in the sandbox, open 30 minutes. receipt_issue takes instruction; a receipt issued by the payer names payee and moves only to failed. Path Tools.

  • Errors. pathglobal.router.payee_unknown (404: the address or the alias does not resolve, one answer for every case), pathglobal.router.payee_unavailable (503, details.path_code when the network gave one), pathglobal.router.terms_unverifiable (502, details.check: sonar, discovery, signature, answer, commitment or instruction) and pathglobal.router.instruction_refused (409, details.path_code, or details.reason: amount or limits). At execution the same codes end a route failed in failure.code. Errors of a PATH destination.

  • SDK. @pathglobal/sdk 0.4.0:

    • Endpoint takes { alias } (AliasEndpoint, PathAddressEndpoint); Source excludes an alias. CandidateDestination carries alias, capability as a PathCapability, commitment and intent_version. Route carries path_instruction and payer_receipt (PayerReceipt, PayerReason), and failure.details.
    • Settlement carries execution and failure_reason (RailReason). Execution, ExecutionKind and ExecutionState; Instruction, InstructionKind and InstructionState name the same types. NettingSet.settles_on_network; Participant.kind client.
    • settlement.execution, settlement.executions, liquidity.offers and operations.resolveExecution; settlement.instruction, settlement.instructions, liquidity.discover and operations.resolveInstruction call the same routes.
    • tools.resolverLookup(alias, nonce?), and tools.run('resolver_lookup', { key, nonce }) typed by TypedTools. ResolverAnswer and ResolverLookupInput.
    • PATHGLOBAL_FLASH_ROUTER and PATHGLOBAL_DECISION_MODEL (path-flash-1.0), and the codes PAYEE_UNKNOWN, PAYEE_UNAVAILABLE, TERMS_UNVERIFIABLE, INSTRUCTION_REFUSED and ROUTER_UNKNOWN of PATHGLOBAL_ERROR_CODES.

    Client.

  • MCP. @pathglobal/mcp 0.3.0: router_quote takes a destination { alias }; router_quote, router_route_get and router_execute describe the payment of a PATH destination, path_instruction and payer_receipt. router defaults to path-flash-1.0; decision_route and decision_models name path-flash-1.0. settlement_execution and liquidity_offers read executions and liquidity offers. path_resolver takes nonce and runs resolver_lookup for an alias. MCP.

What breaks

  • PATH addresses. destination.path and source.path are path: and 12 to 64 hexadecimal digits; upper case is read in lower case. Another form answers 400 pathglobal.core.malformed_request with details.field.
  • Resolution on the PATH network. A path destination resolves through the PATH network, in test mode through the sandbox network and its fixture payees. An address that does not resolve answers 404 pathglobal.router.payee_unknown; a holding member that does not answer, 503 pathglobal.router.payee_unavailable; terms that do not verify, 502 pathglobal.router.terms_unverifiable.
  • Payable rails. A PATH address is paid on the sepa-inst, pi-spi and blockchain capabilities of its accepts only. A PATH address that accepts no such capability in the asset delivered answers 422 pathglobal.router.no_route, as does an amount outside its limits.
  • Quote destination. quote.route.destination.capability is a PATH Capability (rail, asset_type, asset_code, and for a token chain, standard, contract, decimals), in place of { rail, asset }.
  • Precision. Amounts in BIF, CLP, DJF, GNF, ISK, KMF, KRW, PYG, RWF, UGX, UYI, VND, VUV and XPF carry no decimal places, in BHD, IQD, JOD, KWD, LYD, OMR and TND three, in CLF and UYW four; ETH, POL, BNB, AVAX and CELO 18, SOL and SUI 9, XLM 7, TRX 6. Amounts Path Global computes are rounded at that precision, and a clearing obligation or a treasury transfer finer than it answers 400. Stored amounts with fewer places stay valid.
  • Settlement. A SETTL names its execution in execution, and an execution carries kind: "pathglobal.execution".
  • Path Tools. resolver with an alias answers 400 pathglobal.tools.refused with details.path_code: "path.core.malformed_request": an alias is resolved with resolver_lookup.
  • Clearing answers. Netting sets answer settles_on_network and participants answer kind: "client".
  • MCP. settlement_instruction is settlement_execution and liquidity_discover is liquidity_offers.
  • Routes created before 0.16.1 complete as they started, with no path_instruction and no payer_receipt.

Database

No migration.

On this page