Receive

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/endpoints

An 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.

ParameterSelects
networkEntries whose identifier receives on one of the networks
typeEndpoint types
assetAsset codes
formatFormat 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_…" } }
FieldRequiredNotes
addressyesAn address of the caller
typeyesOne of the types
assetyesThe asset it receives
network, countrynoWhere the identifier is issued
formatnoAn 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
anchornoWhere its deposits go; see below
labelnoUp 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:

FieldNotes
identifierThe identifier: an address, an IBAN, an account number, an alias, a card number or a card token
formatIts endpoint format: a format of the register, or one of Path Global's (pathglobal:…)
pay_toWhat 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, assetsWho issued it, every network it receives on, every asset it receives
statusactive or removed
anchor, anchor_historyWhere 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:

statusIssuable
liveYes
phasing_inFrom status_date
phasing_outUntil status_date
proposedNo

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

TypeIdentifierFields
wallet_addressAn address on a blockchainaddress_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_memoA pooled address, credited with a memomemo: { type, value }, address_format, chain_scope. The payer sends pay_to.identifier and pay_to.memo
virtual_addressA TIP-1022 virtual address on tempo, which credits its master addressaddress_format, chain_scope
vibanA virtual IBANcountry, bic (of the issuing institution), rails_enabled, holder_name when set
account_numberA bank account number with its routingcountry, 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
aliasA key of a directory: a Pix key, a UPI handlealias_kind, directory, resolves_to: the formats the alias resolves to
card_panA card numbercard_scheme (visa, mastercard, gim-uemoa), card_type (debit, prepaid, credit), expiry (YYYY-MM), pan_last4; country when known
card_tokenA network token, or an acquirer's reference for a cardcard_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.

TypeNetworks
wallet_addressThe EVM networks of the catalogue, with one address; solana, bitcoin (btc-p2wpkh, or btc-p2tr with format), tron, stellar, sui
wallet_address_memotempo, arc, stellar
virtual_addresstempo
vibansepa-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_numberach-us, fednow, rtp-us, fedwire
aliaspix (a random key), upi (a handle)
card_panvisa, mastercard, and spei with a debit card. No test card is issued on gim-uemoa
card_tokenvisa, 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.

FieldNotes
statusreceived, converting (carried by a route), credited, forwarded, review, returned, failed
holding, routeWhere it was credited, or the route that forwards it
rail_reference, rail_reference_type, payer, reasonWhen 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.

DepositReceipt
Recorded, before it is checkedpending
credited, or handed to its route (converting, forwarded)settled, with received and rail_references
reviewpending
returned: endpoint removed or not anchored, address revoked, rail off, anchor without a destination, holding that does not take the assetfailed, reason_code: "destination_closed"
returned: Proof failfailed, reason_code: "compliance_blocked"
returned: outside the pledged limitsfailed, reason_code: "limit_exceeded"
failed before it is settled: its route could not start, or ended without settlingfailed, reason_code: "destination_closed"
failed after it is settledsettled

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

CodeStatusWhen
pathglobal.endpoints.anchor_incompatible422The target does not receive what the endpoint receives
pathglobal.endpoints.issuer_unavailable422No 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_request400The format is not issued with the type, or is not a format of the network

On this page