# PIP-0035 · Reliance on an attestation

A member that relies on another member's attestation holds the person's consent, signed, naming the attestations, the relying member, the duration and whether the file may be requested. It asks the issuing member for the file, member to member. The file never travels on the network.

## Why

A person verified by one member arrives at another. The second member can read the first member's attestations ([PATH ID](/docs/id#attestations), [PIP-0034](/pips/0034)) and skip its own verification. It stays responsible for its due diligence: under its framework, it must be able to obtain the evidence behind the attestation, and it needs the person's agreement to do so.

This PIP defines both: the person's consent to reliance, and the request for the file from the relying member to the issuing member. The file goes from one member to the other and to no one else.

## Terms

| Term | Meaning |
|---|---|
| **Issuing member** | The member that verified the person, issued the attestations and holds the file |
| **Relying member** | The member that relies on those attestations |
| **File** | The evidence of the verification: copies of documents, results of liveness and screening, the verification report |
| **Reliance** | The `path.reliance` object: the person's consent and its state |

## The reliance

```json
{
  "type": "path.reliance",
  "reference": "rcpq2p2gubn0r2",
  "issuer": "member-a",
  "relying": "member-b",
  "attestations": ["9kq3m7vx2pf8dn", "h6mq2revzz55gk"],
  "file": true,
  "purpose": "customer_due_diligence",
  "granted_at": "2026-11-26T10:00:00Z",
  "expires_at": "2027-11-26T10:00:00Z",
  "file_retention_days": 1825,
  "status": "active",
  "consent": { "…": "the envelope signed when the person agreed" },
  "consent_digest": "8f29…",
  "protocol_version": "0.2.0",
  "signed_at": "2026-11-26T10:00:00Z",
  "kid": "op_member_a_2026_01",
  "signature": "…"
}
```

| Field | Rule |
|---|---|
| `issuer` | The issuing member |
| `relying` | The one member the person consented to. A reliance is not transferable |
| `attestations` | References of attestations of the issuer, about the person. Nothing else is covered |
| `file` | `true` when the person consented to the file being requested |
| `purpose` | `customer_due_diligence`, `ongoing_monitoring` or `payment_compliance` |
| `granted_at`, `expires_at` | RFC 3339. The person chooses the duration, within what the issuer offers |
| `file_retention_days` | How long after the end of the reliance the relying member may still request the file, for the period it relied. Shown to the person before it agrees |
| `status` | `active`, `expired`, `revoked` |
| `consent` | The envelope signed when the person agreed, stored byte for byte |
| `consent_digest` | The digest of the consented terms, over canonical JSON |

- The object names no subject. The relying member reads the attestations it covers by reference.
- As for a connection ([PATH CONNECT](/docs/connect)), the outer signature is produced at read, because `status` moves. The terms are read from `consent`, never from the fields beside it.
- A reliance is read by its issuer and its relying member. Any other caller receives `404 path.core.not_found`, whether or not it exists.

## The consent

- The person agrees in the issuing member's product, after the issuing member authenticates it.
- Before it agrees, the person is shown the verified name of the relying member, the attestations, the purpose, the duration, whether the file may be requested, and `file_retention_days`.
- The issuing member signs `consent` at that moment, over those terms.
- When the person holds a holder key ([PIP-0036](/pips/0036)), it signs `consent_digest` with that key, and `consent` carries that signature.
- The person sees every reliance it granted in the issuing member's product, with each file request and each release, and revokes each one at any time.

A reliance starts in either product:

- the relying member asks for it, and the issuing member presents the request to the person;
- the person creates it in the issuing member's product, for a relying member it names, and hands the reference to that member.

How the issuing member reaches the person — a link, a notification — is its own product.

## Reliance in force

- While the reliance is `active`, the relying member may treat the identity step its framework requires as performed by the issuing member, for the claims covered.
- Reliance does not move responsibility. The relying member remains responsible for its due diligence under its framework.
- Each attestation is checked at execution, as always. An attestation revoked or expired is not relied on, whatever the state of the reliance.
- Revocation takes effect at once. It ends reliance for the future. A file request about the period the reliance was in force stays answerable for `file_retention_days`.

## The file request

The relying member asks the issuing member for the file. Member credential required.

```http
POST /api/path/v1/reliance/rcpq2p2gubn0r2/file-requests
```

```json
{ "reason": "supervisory_request", "nonce": "b590f9228d131119" }
```

| `reason` | The relying member needs the file for |
|---|---|
| `supervisory_request` | A request of its supervisor |
| `audit` | An audit of its due diligence |
| `due_diligence_review` | A review of the customer under its framework |

The issuing member answers with a signed `file_release`, and delivers the file.

```json
{
  "kind": "file_release",
  "issuer": "member-a",
  "relying": "member-b",
  "reliance": "rcpq2p2gubn0r2",
  "request": "cyp512d1xat791",
  "reason": "supervisory_request",
  "contents": ["identity_document", "liveness_result", "verification_report"],
  "digest": "3b1f…",
  "released_at": "2026-11-27T09:00:00Z",
  "nonce": "b590f9228d131119",
  "protocol_version": "0.2.0",
  "signed_at": "2026-11-27T09:00:00Z",
  "kid": "op_member_a_2026_01",
  "signature": "…"
}
```

| Field | Rule |
|---|---|
| `contents` | What the file holds, by kind: `identity_document`, `liveness_result`, `electronic_identity_assertion`, `bank_identity_assertion`, `screening_result`, `proof_of_address`, `company_documents`, `beneficial_ownership`, `verification_report` |
| `digest` | SHA-256 of the file as delivered, lower-case hex |
| `released_at` | When the issuing member delivered it |

- The file released is the evidence of the attestations the reliance covers, and nothing else.
- The file travels between the two members only, encrypted end to end to the relying member, over the delivery the two members agree.
- The file is never sent to the network or its operator, and no PATH object carries it. The `file_release` names what was released, never its content.
- The issuing member answers within the time the network's rulebook sets.
- A request on a reliance with `file: false` answers `403 path.id.file_not_consented`. On a reliance ended longer ago than `file_retention_days`, `410 path.id.reliance_expired` or `410 path.id.reliance_revoked`.
- The relying member keeps the file under its own framework, and for no other purpose than `reason`.

## Interface

At the issuing member, under `endpoints.reliance` of its discovery document.

| Call | Credential | Effect |
|---|---|---|
| `POST /reliance/requests` | Member: the relying member | Asks for a reliance: `{ claims, file, purpose, duration_days, nonce }`. Answers a pending reference, presented to the person |
| `POST /reliance` | Local member | Records a reliance the person created: `{ relying, attestations, file, purpose, expires_at, file_retention_days }` |
| `GET /reliance/{reference}` | Member: the issuer or the relying member | The signed reliance |
| `POST /reliance/{reference}/revoke` | Local member for the person, or the relying member | Ends it. `revoked_by` records which |
| `POST /reliance/{reference}/file-requests` | Member: the relying member | The file request. Answers a `file_release` |

Every write takes `Path-Idempotency-Key` ([PIP-0022](/pips/0022)).

| Code | Status | When | What the caller does |
|---|---|---|---|
| `path.id.reliance_expired` | 410 | The reliance passed `expires_at` | Ask the person for a new reliance |
| `path.id.reliance_revoked` | 410 | The person or a member ended it | Ask the person for a new reliance, or verify the person |
| `path.id.file_not_consented` | 403 | The reliance has `file: false` | Ask the person for a reliance with the file, or verify the person |

## Conformance

| Profile | Requires |
|---|---|
| `PATH-ID.Reliance` | Consent collected after authenticating the person and signed at that moment; reliance read by its two parties only; revocation at once; file requests answered with a signed `file_release`; the file delivered only to the relying member |

## Compatibility

Additive. New object, new calls and three codes. Attestations, and their reads at `GET /attestations/{reference}`, are unchanged.