API reference
Endpoints
/endpoints — the endpoints a PATH address receives on, their anchors, and the deposits that arrive on them.
Scope endpoints.
https://api.pathglobal.finance/endpointsAn endpoint is what an address receives on: an identifier, the networks and assets it receives, and its anchor. It has no balance: its anchor says where a deposit goes. A caller reaches its own endpoints and deposits only.
Endpoints
GET /issuable
{ "issuable": [ { type, issuer, asset, networks, format } ] }: what can be issued, per type, format
and asset, with the networks an identifier receives on. It follows the mode of the key, and lists
only the links that are issuable today.
| Parameter | Selects |
|---|---|
network | Entries whose identifier receives on one of the networks |
type | Endpoint types |
asset | Asset codes |
format | Format ids |
Each parameter takes one value, a comma-separated list or the parameter repeated, up to 50 values.
A network, type or format the catalogue does not have, or an empty value, answers
400 pathglobal.core.malformed_request with details: { parameter }, and unknown for an unknown
value. The formats of each network, with what is issued in each, are on the
catalogue.
POST /
Takes Idempotency-Key.
{ "address": "addr_…", "type": "viban", "asset": "EUR", "country": "DE", "anchor": { "holding": "va_…" } }| Field | Required | Notes |
|---|---|---|
address | yes | An address of the caller |
type | yes | One of the types |
asset | yes | The asset it receives |
network, country | no | Where the identifier is issued |
format | no | An endpoint format of the catalogue issued with type, and of network when it is given: btc-p2tr for a Taproot address, pathglobal:acquirer-token for an acquirer's card reference |
anchor | no | Where its deposits go; see below |
label | no | Up to 64 characters |
Without network, the identifier is issued on the first network of the catalogue that the issuer
serves, that carries the format and that carries the asset. A format that is not issued with
type, or not a format of network, answers 400 pathglobal.core.malformed_request. A link that is
not issuable today answers 422 pathglobal.endpoints.issuer_unavailable with
details: { format, network, status, status_date, virtual_issuance }.
201 with the endpoint:
| Field | Notes |
|---|---|
identifier | The identifier: an address, an IBAN, an account number, an alias, a card number or a card token |
format | Its endpoint format: a format of the register, or one of Path Global's (pathglobal:…) |
pay_to | What the payer sends, in the form of format: { identifier }, with memo for an address with a memo, and fields for an account number. On an account number, pay_to.identifier is the account part and pay_to.fields carries routing (and branch), plus holder_name, holder_tax_id or reference when set; identifier keeps the composite <routing>-<account> |
issuer, networks, assets | Who issued it, every network it receives on, every asset it receives |
status | active or removed |
anchor, anchor_history | Where its deposits go, and every anchor it has had |
format_status | { status, status_date } of the link of its format on its first network; null when the catalogue has no link for it |
and the fields of its type.
An endpoint that is anchored is a receive target of its address on the PATH network, for each rail of the address that is on; see Receive targets.
Format status
Each link of a format to a network of the register has a status and a status_date
(Registers), and says whether it allows per-client
issuance (virtual_issuance). A link is issuable on a date, the UTC date of the request, when it
allows per-client issuance and:
status | Issuable |
|---|---|
live | Yes |
phasing_in | From status_date |
phasing_out | Until status_date |
proposed | No |
A link of Path Global's own (origin: "pathglobal") is issuable whatever its status. An endpoint
issued on a link that is phasing out stays active; its client receives the event
endpoint.format_phasing_out, once, within 30 days of status_date, with
{ endpoint, address, format, network, status_date }.
Types
| Type | Identifier | Fields |
|---|---|---|
wallet_address | An address on a blockchain | address_format (hex, eip55, base58, base58check, bech32, bech32m, strkey), chain_scope: evm for the same address on every EVM network listed, network for one network |
wallet_address_memo | A pooled address, credited with a memo | memo: { type, value }, address_format, chain_scope. The payer sends pay_to.identifier and pay_to.memo |
virtual_address | A TIP-1022 virtual address on tempo, which credits its master address | address_format, chain_scope |
viban | A virtual IBAN | country, bic (of the issuing institution), rails_enabled, holder_name when set |
account_number | A bank account number with its routing | country, routing: { scheme, value }, account_number, account_type (checking, savings, payment, other), rails_enabled; bic, branch, holder_name, holder_tax_id and reference when the format has them |
alias | A key of a directory: a Pix key, a UPI handle | alias_kind, directory, resolves_to: the formats the alias resolves to |
card_pan | A card number | card_scheme (visa, mastercard, gim-uemoa), card_type (debit, prepaid, credit), expiry (YYYY-MM), pan_last4; country when known |
card_token | A network token, or an acquirer's reference for a card | card_scheme, token_type (network_token, vault_reference); expiry and pan_last4 for a network token |
rails_enabled lists the rails the identifier is credited through, among the rails of its
networks. Two active endpoints never share an address and a memo on a network. Removing an endpoint
of type wallet_address_memo releases its memo; the pooled address keeps receiving for the other
memos.
In test mode
Test identifiers pass the format of every network they receive on. They are not to be paid on a live network.
| Type | Networks |
|---|---|
wallet_address | The EVM networks of the catalogue, with one address; solana, bitcoin (btc-p2wpkh, or btc-p2tr with format), tron, stellar, sui |
wallet_address_memo | tempo, arc, stellar |
virtual_address | tempo |
viban | sepa-inst, sepa-ct and swift for EUR; swift for another currency. Countries DE, NL, LT, AT, LU, IE, BE, FR, and GB for GBP; another country answers pathglobal.endpoints.issuer_unavailable |
account_number | ach-us, fednow, rtp-us, fedwire |
alias | pix (a random key), upi (a handle) |
card_pan | visa, mastercard, and spei with a debit card. No test card is issued on gim-uemoa |
card_token | visa, mastercard |
Card numbers in test mode are published test card numbers, shared between test endpoints: the endpoint id identifies the endpoint, and a test deposit names it. Card numbers are issued in test mode only.
GET / · GET /:id
{ "endpoints": [ … ] }, by ?address= when given; or one endpoint.
PUT /:id/anchor · DELETE /:id/anchor
The anchor is { "holding" }, a holding of the caller, or { "forward": { to, deliver? } }, a
destination outside Path Global: to is { network, identifier, holder? } or { path }, and
deliver converts on the way. PUT replaces the anchor; DELETE removes it, and the address stops
accepting the rails only this endpoint served.
DELETE /:id
Removes the endpoint from its address. The record is kept.
Deposits
GET /deposits · GET /:id/deposits
{ "deposits": [ … ] }: the caller's deposits, or those of one endpoint.
| Field | Notes |
|---|---|
status | received, converting (carried by a route), credited, forwarded, review, returned, failed |
holding, route | Where it was credited, or the route that forwards it |
rail_reference, rail_reference_type, payer, reason | When known. rail_reference_type names the kind of reference: end_to_end_id, tx_hash, … |
receipt | { reference, status, reason_code?, sync_error? }: its payee receipt, when it has one |
A deposit on an endpoint without an anchor returns to the payer. On a holding frozen with scope
all, it is held for review. A credited deposit appears in
GET /accounts/holdings/:id/entries.
A deposit is returned when the endpoint is removed or not anchored, the address is revoked, the
rail is off, or the anchor does not take the asset. On a pledged address, a deposit below
min_single or above max_single of its capability is returned with the reason
outside the limits of the address.
The payee receipt
A deposit through a rail the address publishes (published: true), that carries a
rail_reference, 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.
| Deposit | Receipt |
|---|---|
| Recorded, before it is checked | pending |
credited, or handed to its route (converting, forwarded) | settled, with received and rail_references |
review | pending |
returned: endpoint removed or not anchored, address revoked, rail off, anchor without a destination, holding that does not take the asset | failed, reason_code: "destination_closed" |
returned: Proof fail | failed, reason_code: "compliance_blocked" |
returned: outside the pledged limits | failed, reason_code: "limit_exceeded" |
failed before it is settled: its route could not start, or ended without settling | failed, reason_code: "destination_closed" |
failed after it is settled | settled |
A deposit decided at once is stated pending, then moved: two statements of one chain. The receipt
names the PATH address (payee: { member, address }), the capability it came through (via), what
was received, in the canonical decimal form of PATH, and the rail reference, typed with
rail_reference_type when the rail names that type, else with the rail's first type. It carries
route: null. It names no holding, endpoint, route, guarantee or provider.
The deposit carries the reference and the status of its receipt. The signed statements are read
with the Path Tools receipt_read and receipt_chain, and verified with receipt_verify
(Path Tools). A client reads the receipts of its deposits and does
not move them. The receipt and the deposit follow the same outcome; a statement the PATH network
does not take at once is written later, under the same reference. A statement the PATH network
refuses is not written again: the receipt carries sync_error, the PATH code of the refusal.
POST /:id/deposits
Test mode. A deposit arrives on the endpoint, as a network would notify it.
{ "amount": { "value": "120.00", "asset": "EUR" }, "network": "sepa-inst", "payer": { "name": "Example Payer" } }network, payer, rail_reference and rail_reference_type (1 to 64 characters) are optional.
201 with the deposit. A deposit named by its rail reference is recorded once: sent again, it is
answered as recorded.
Errors
| Code | Status | When |
|---|---|---|
pathglobal.endpoints.anchor_incompatible | 422 | The target does not receive what the endpoint receives |
pathglobal.endpoints.issuer_unavailable | 422 | No endpoint of that type is issued for that asset, network, format or country; details.issuable lists what is issued with the type. On a link that is not issuable today, details carries format, network, status, status_date and virtual_issuance |
pathglobal.core.malformed_request | 400 | The format is not issued with the type, or is not a format of the network |
Addresses
/addresses — the PATH membership addresses are issued under, subjects with their identifiers and aliases, and PATH addresses with their rails, their terms and their pledges.
Treasury
/treasury — positions, the treasury view, policies, transfers, expected fundings, the allowlist, reconciliation, inbound items, refuel cycles and the ledger.