Path GlobalPrivate APIs are now on Path Global.Open Path Global

07 — PIPs · PIP-0039

Mandate proofs

A signed statement by the grantor that a subject authorised a connection, a mandate or a delegation of PATH CONNECT, with the terms a third party needs and no more. A standing proof says the authorisation is in force; an operation proof says one operation was made within it.

DraftCore
Number
PIP-0039
Status
draft
Type
Core
Author
PATH
Date
2026-11-26
Source
On the register

Why

A connection, a mandate and a delegation of PATH CONNECT are read only by their parties, and are not served at /path/{reference}. Others need to know that they exist and what they allow: the payee's member receiving a payment under a mandate, a rail executing a debit, an auditor, a member asked to act for an agent. None of them needs the counters, the other capabilities or the subject.

This PIP defines the mandate proof: the grantor states, to one audience, that the subject authorised this grant, with the terms that audience needs, and that it is in force or that one operation was made within it.

The proof

{
  "kind": "mandate_proof",
  "issuer": "member-a",
  "of": { "type": "path.mandate", "reference": "7kvutmf69fzzhc" },
  "grantee": "member-b",
  "delegate": null,
  "audience": "member-c",
  "mode": "persistent_consent",
  "consented_at": "2026-09-09T10:00:00Z",
  "consent_digest": "8f29…",
  "terms": {
    "capabilities": { "payment_request": true },
    "max_single": "100000",
    "currency": "USD",
    "expires_at": "2027-01-01T00:00:00Z"
  },
  "operation": {
    "capability": "payment_request",
    "amount": "5000",
    "currency": "USD",
    "operation_ref": "ledger-4412",
    "occurred_at": "2026-11-26T10:12:00Z"
  },
  "status": "active",
  "checked_at": "2026-11-26T10:12:01Z",
  "expires_at": null,
  "nonce": "b0b5c4e2a9d14f6e",
  "protocol_version": "0.2.0",
  "signed_at": "2026-11-26T10:12:01Z",
  "kid": "op_member_a_2026_01",
  "signature": "…"
}
FieldRule
`issuer`The grantor: the member that collected the subject's consent and reads the grant's state on every operation
`of``type` is `path.connection`, `path.mandate` or `path.delegation`, with its reference
`grantee`The grantee of the connection
`delegate`For a delegation, the delegate. `null` otherwise
`audience`The member the proof is for. A proof is not transferable
`mode``per_operation_signature` or `persistent_consent`
`consented_at`When the subject agreed
`consent_digest`The digest of the consented terms, as on the connection
`terms`The members of the consented terms the requester asked to disclose, copied unchanged from `consent`
`operation`For an operation proof: the operation, as the usage log records it. Absent for a standing proof
`status`The state of the grant at `checked_at`
`expires_at`For a standing proof, at most 24 hours after `checked_at`. `null` for an operation proof
`nonce`The requester's, 8 to 128 characters

Two proofs

ProofStatesLifetime
StandingThe grant is `active` at `checked_at`, with these termsUntil `expires_at`
OperationThe operation was consumed within the grant: its capability, its currency and both ceilings checked, and for a delegation an exact match of `binds_to`Permanent: it states a past fact
  • A standing proof is issued only for a grant that is active. A grant revoked or expired answers 410 path.connect.inactive.
  • An operation proof is issued only for an operation in the usage log. It stays available after the grant ends: revocation ends the permission, not the record of what was done under it.
  • A proof for a delegation states the delegation's terms, and those of its parent connection that the requester discloses. An operation proof for a delegation states that the parent's ceilings were checked as well.

Rules

  • The grantee or the delegate asks for a proof, for an audience it names. The grantor also issues one at the subject's request.
  • terms holds only the members the requester names in disclose. The signature covers them with consent_digest. The consent envelope stays with the parties; in a dispute the grantor produces it, and its digest is consent_digest.
  • A proof never names the subject, an account, a balance, a counter or another grant.
  • A proof is signed by the grantor at the time it is issued. The audience verifies it against the grantor's keys, checks audience and nonce, and for a standing proof expires_at.
  • A receipt of a payment made under a grant may carry the operation proof in attestations[] (PIP-0011).
  • A grant the caller is not a party to answers 404 path.core.not_found, whether or not it exists.

The subject's authorisations

The grantor shows the subject, in its own product, every connection, mandate and delegation it holds for that subject, with its terms, its counters and its usage, and revokes each at the subject's request. Revocation takes effect at the next operation, as PATH CONNECT requires.

Interface

CallCredentialEffect
`POST /connect/connections/{reference}/proofs`Member: the grantee, or the grantor`{ audience, disclose, operation_ref, nonce }`. Without `operation_ref`, a standing proof. Answers a `mandate_proof`
`POST /connect/delegations/{reference}/proofs`Member: the delegate, the parent grantee, or the grantorThe same, for a delegation

disclose lists members of the consented terms: capabilities, max_single, max_total, currency, expires_at, schedule. The writes take Path-Idempotency-Key (PIP-0022).

CodeStatusWhenWhat the caller does
`path.connect.inactive`410A standing proof for a grant that is revoked or expiredAsk the subject for a new grant

An operation_ref that is not in the usage log answers 404 path.core.not_found.

Conformance

ProfileRequires
`PATH-CONNECT.Proofs`Proofs signed by the grantor, for one audience; `terms` copied unchanged from `consent`, only as disclosed; standing proofs only for active grants, within 24 hours; operation proofs only for logged operations; no subject, account or counter in any proof

Compatibility

Additive. A new signed envelope, two calls and one code. Connections, mandates, delegations and their reads are unchanged.