>_ Trust Center

Data boundary
by design.

P402 meters economics, not content. Prompt and response storage are off by default. Every privacy mode, subprocessor, contract, custody role, and security check is documented here. No sales call required.

Data boundary

Data boundary by design

P402 separates economic metadata from content. Prompt and response storage are off by default. You choose retention, redaction, privacy mode, and deployment model. The five modes below describe exactly what each tier persists and what it does not.

Metadata-onlyDefault
+
Best for: CFOs, regulated teams, healthcare, finance, legal, privacy-sensitive SaaS
P402 receives
  • request_id
  • tenant_id
  • api_key_id
  • department_id
  • employee_id
  • customer_id
  • feature_id
  • workflow_id
  • task_type
  • action_type
  • model
  • provider
  • input_tokens
  • output_tokens
  • cost_usd
  • latency_ms
  • cache_hit
  • budget_id
  • policy_id
  • governance_decision
  • deny_code
  • output_status
  • quality_score
  • evidence_status
P402 never receives
  • prompt text
  • response text
  • files
  • documents
  • chat history
  • PHI
  • PII
  • secrets
  • source code
Supports
  • Meter
  • Monitor
  • Control
  • budget enforcement
  • department/employee/feature/customer margin
  • forecasting
  • basic optimization
  • evidence exports
Limits
  • ·Semantic cache is off in P402 cloud for Metadata-only
  • ·Limited prompt-level optimization
  • ·Limited context-bloat analysis
  • ·Limited duplicate-work detection
Fingerprint-only
+
Best for: Teams that want duplicate detection without exposing content
P402 receives
  • metadata above, plus:
  • HMAC prompt fingerprint (tenant-secret HMAC, not plain SHA-256)
  • HMAC response fingerprint
  • token shape
  • optional prompt length bands
  • optional document hash
P402 never receives
  • raw prompt or response content
  • embeddings (treated as sensitive — opt-in only)
Supports
  • Duplicate request detection
  • Retry loop detection
  • Repeated task detection
  • Cache opportunity estimates
  • Same-input cost analysis
Limits
  • ·Semantic cache is off in P402 cloud for Fingerprint-only
  • ·No prompt-level rewrite suggestions
  • ·No semantic similarity grouping unless embeddings explicitly enabled
Redacted trace
+
Best for: Developers and enterprises wanting stronger optimization with bounded exposure
P402 receives
  • redacted prompt sample
  • redacted response sample
  • trace summary
  • tool-call summary
  • retrieval summary
  • policy summary
P402 never receives
  • unredacted PII, PHI, secrets, API keys, emails, phone numbers, addresses, or custom-regex-matched content (redacted client-side before send)
Supports
  • Context waste detection
  • Prompt compression recommendations
  • Retry-loop diagnosis
  • Tool-call waste analysis
  • Quality review
  • Better model selection by action
Limits
  • ·Redaction is your responsibility before send
  • ·Opt-in per tenant/project/key/workflow
  • ·Semantic cache is off unless the tenant explicitly opts in
Private Gateway
+
Best for: Large enterprise, regulated enterprise, high-value customers
P402 receives
  • economic events
  • recommendation summaries
  • savings proofs
  • policy results
  • evidence hashes
  • aggregate analytics
P402 never receives
  • raw prompts (planned to stay in customer VPC)
  • raw responses (planned to stay in customer VPC)
  • embeddings unless explicitly exported
Supports
  • Customer-controlled routing path
  • Deeper optimization scope
  • Tenant-scoped trace inspection
  • Tenant-scoped redaction
  • Tenant-scoped policy enforcement
  • Enterprise evidence export
Limits
  • ·Enterprise deployment path; availability subject to agreement and deployment scope
  • ·Operational responsibilities defined per engagement
  • ·No P402-cloud semantic cache for Private Gateway
Full trace, opt-in
+
Best for: Small developer teams wanting maximum debugging and optimization
P402 receives
  • prompt
  • response
  • tool calls
  • trace
  • retrieval context
  • output status
  • quality score
P402 never receives
  • data the customer does not send
Supports
  • Deepest optimization
  • Full trace replay
  • Per-request quality review
Limits
  • ·Never the default; must be explicitly enabled
  • ·Short retention required
  • ·Semantic cache is off unless the tenant explicitly opts in
  • ·Project-level enablement (planned for enterprise deployment)
  • ·Role-gated access (planned for enterprise deployment)
  • ·Audit log of access (planned for enterprise deployment)
  • ·Delete/export controls (planned for enterprise deployment, subject to agreement)

Privacy mode is recorded on every economic event and shown on every evidence bundle as privacy_mode, alongside prompt_stored and response_stored booleans. You can verify which mode applied to any specific call.

Semantic cache is off unless the tenant opts in and the active privacy mode is Redacted-trace or Full-trace. It is off in P402 cloud for Metadata-only, Fingerprint-only, and Private Gateway, and off when the tenant has not enabled it. Missing tenant configuration and configuration lookup errors fail closed.

Subprocessors

Who else touches your data

These are the third parties P402 may share data with, what each is used for, and which privacy modes route data to them. We notify customers of material changes to this list.

Google (Gemini)
Sentinel anomaly detection (aggregate cost metadata only in default mode). Forensic analysis available by enterprise agreement and opt-in deployment scope.
US / multi-region
Aggregate spend metadata by default. Prompt content only in Full-trace opt-in mode.
OpenRouter
Upstream model provider aggregator for hosted routing
US
Prompt + response in Hosted Router mode. Not used in Meter-Only SDK or Private Gateway modes.
Neon (PostgreSQL)
Primary database for economic events, sessions, billing, mandates, audit
US-hosted managed Postgres
Whatever the active privacy mode persists. Metadata-only by default. Region documented during onboarding.
Cloudflare
CDN, WAF, optional Cloudflare-based facilitator endpoint
Global edge
HTTP request metadata. Request bodies are not persisted at the CDN/WAF edge. Optional facilitator flows process settlement payloads only.
Stripe
Fiat subscription billing only
US
Customer billing identity and card metadata. Never sees AI prompt or response content.
Coinbase Developer Platform (CDP)
Optional server wallets for agent custody flows
US
Wallet addresses, signed authorizations. No prompt content.
Posture

Retention, encryption, audit status

Retention
  • Economic metadata: 30 days default, configurable per tenant.
  • Trace / prompt logs (when opt-in is active): 30 days default, configurable down to 7.
  • Evidence bundles and transaction receipts: retained per tenant policy, configurable, and documented during onboarding.
  • Tenant-level data deletion: available on request. SLA documented during onboarding.
Encryption
  • In transit: TLS 1.2+ on all endpoints; HSTS enforced on p402.io.
  • At rest: AES-256 via managed Postgres (Neon) storage encryption.
  • API keys: SHA-256 stored; raw key returned exactly once.
  • Wallet signatures: EIP-712 typed data; no private key custody by P402.
Audit status
  • Smart contract audit: P402Settlement, SubscriptionFacilitator — third-party audit not yet engaged. Source verifiable on Basescan. Status will be published here when audit is commissioned.
  • SOC 2: not yet completed. Enterprise compliance roadmap available during procurement review.
  • HIPAA / BAA: BAA path planned for enterprise deployment. Not available on hosted routing today. Public demos use synthetic data only.
  • Security disclosure: security@p402.io. Acknowledgement timing documented during onboarding.

This section is intentionally honest. P402 is pre-SOC-2 and pre-third-party-audit. Buyers requiring those before deployment can engage on the Private Gateway path (enterprise deployment, subject to agreement) to scope data exposure to aggregates while those certifications are pursued.

On-chain verification

Deployed contracts

All contracts are deployed on Base Mainnet (Chain ID: 8453). Verify independently on Basescan.

USDC (USD Coin)
Base Mainnet
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

ERC-20 asset used for all settlements. Circle-issued. Audited.

P402 Treasury
Base Mainnet
0xFa772434DCe6ED78831EbC9eeAcbDF42E2A031a6

Receives USDC from settled payments. Platform fee destination.

P402Settlement
Base Mainnet
0xd03c7ab9a84d86dbc171367168317d6ebe408601

Marketplace settlement contract. Applies 1% platform fee on settlement.

SubscriptionFacilitator
Base Mainnet
0xc64747651e977464af5bce98895ca6018a3e26d7

Handles recurring subscription billing via EIP-2612 permit. Month 1 sets allowance; months 2+ draw without new signatures.

ERC-8004 Identity Registry
Base Mainnet
0x8004A169FB4a3325136EB29fA0ceB6D2e539a432

On-chain agent identity registration and DID resolution.

ERC-8004 Reputation Registry
Base Mainnet
0x8004BAa17C55a88189AE136b182e5fdA19dE9b63

On-chain agent reputation scoring. Read by routing engine for trust-weighted decisions.

EIP-712 domain — USDC on Base
{
  name: 'USD Coin',
  version: '2',
  chainId: 8453,
  verifyingContract: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
}

Used to produce the EIP-712 domain separator for TransferWithAuthorization signatures. Verify against the USDC contract on Basescan.

Custody model

Who controls what

P402 never holds user funds. The facilitator executes signed authorizations — it does not custody assets.

User / Payer

Signs EIP-3009 authorization. Controls validAfter, validBefore, nonce, and value. User never submits a transaction — the facilitator does.

Risk boundary

User sets authorization bounds. Once signed, the facilitator can execute within those bounds before validBefore.

P402 Facilitator

Hot wallet that executes transferWithAuthorization on USDC. Pays gas on behalf of the user. Does not hold user funds.

Risk boundary

If compromised, could execute valid but not-yet-settled authorizations. Mitigated by short validBefore windows and replay protection.

Treasury

Receives settled USDC. Read-only from protocol perspective — only receives, does not send.

Risk boundary

Separate from facilitator wallet. Compromise of facilitator does not affect treasury funds.

Resource Server

Defines paymentRequirements (amount, payTo, asset, resource URL). Calls verify then settle via P402 facilitator API.

Risk boundary

Must validate verify response before serving content. Failure to check valid: true results in serving without confirmed payment.

Security model

Checks before settlement

Every settlement attempt passes all six checks. Any failure returns an ApiError with a code and requestId — no partial state.

1
Replay protection

Every EIP-3009 nonce is recorded in PostgreSQL and Redis before settlement executes. Reuse of any nonce returns REPLAY_DETECTED immediately — no second settlement occurs.

2
Expiry enforcement

validBefore must be in the future at settlement time. Expired authorizations are rejected server-side before any chain interaction.

3
Amount matching

The value field in the authorization must equal maxAmountRequired from the payment requirements. Mismatches are rejected.

4
Gas price guard

Settlements are rejected if Base network gas exceeds a configured limit (default 50 gwei). This prevents facilitator drain during fee spikes.

5
Minimum floor

$0.01 USDC minimum per settlement. Sub-floor amounts are rejected before any signing occurs.

6
Stripe webhook integrity

Billing webhooks use await req.text() before JSON parsing to preserve the raw body required for Stripe signature verification. Signatures are validated via stripe.webhooks.constructEvent before any state changes.

Settlement flow

What happens on each call

01
Client signs

EIP-3009 TransferWithAuthorization. Gas-free for the user.

02
POST /verify

Checks amount, sig, nonce, expiry, gas price. Returns valid: true or error code.

03
POST /settle

Facilitator calls transferWithAuthorization on USDC. Nonce recorded.

04
Chain confirms

Base Mainnet confirms. Tx hash returned with payer metadata.

05
Receipt issued

Receipt ID tied to settled tx. Reusable for repeat access.

Evidence & audit

Evidence bundles

Every transaction produces a structured evidence bundle. Export it from the dashboard or via API for risk review, compliance, or dispute resolution.

requestId — unique per call
payer address + payTo address
asset contract + amount + chainId
txHash — on-chain reference
receiptId, mandateId, policyId
deny code (if rejected)
timestamps (initiated, settled, expired)
trace events summary
audit findings summary
Export endpoint
GET /api/v1/analytics/evidence-bundle
Authorization: Bearer $P402_API_KEY

# Query by request ID:
?requestId=req_01HX...

# Or by date range:
?from=2025-01-01&to=2025-01-31

# Response:
{
  "requestId": "req_01HX...",
  "payer": "0x...",
  "txHash": "0xabc...",
  "receiptId": "rcpt_...",
  "denyCode": null,
  "timestamps": { ... },
  "auditFindings": [ ... ]
}

Also available from the Transactions page and Audit page in the dashboard. Bulk export supported via date range.

Procurement FAQ

Common questions

Does P402 see our prompts?+

Not by default. The default privacy mode is Metadata-only: P402 receives token counts, costs, owner attribution, model, latency, and policy results, and does not store prompt or response content. Prompt content reaches P402 cloud only if you explicitly enable Redacted-trace or Full-trace mode. Private Gateway is the enterprise deployment path for customer-controlled routing, where prompt content stays within the customer-controlled boundary defined by the engagement; availability is subject to enterprise agreement and deployment scope.

Does the Sentinel (Gemini) inspect every prompt?+

No. The Sentinel runs cost-anomaly detection on aggregate spend metadata (cost_usd, timestamps, model, tenant) — not on prompt content. Prompt-level jailbreak inspection is an opt-in capability available only when you select a privacy mode that sends content. In Metadata-only mode, no prompt or response content is sent to Google.

What does each evidence bundle record about privacy?+

Every evidence bundle records privacy_mode (the mode that applied to this call), prompt_stored (boolean), and response_stored (boolean). You can audit any specific request to verify which mode was active and whether any content was retained.

How long is data retained?+

Economic metadata: 30 days default, configurable per tenant. Trace/prompt logs (only when opt-in modes are active): 30 days default, configurable down to 7. Evidence bundles and transaction receipts are retained per tenant policy, configurable, and documented during onboarding. Tenant-level data deletion is available on request. SLA documented during onboarding.

Is the settlement contract third-party audited?+

Not yet. P402Settlement and SubscriptionFacilitator source is verifiable on Basescan. A third-party audit has not yet been engaged; status will be published on this page when commissioned. Customers requiring a completed audit before deployment can engage on the Private Gateway path (enterprise deployment, subject to agreement) or wait for audit completion.

Is there a BAA / HIPAA path?+

BAA path planned for enterprise deployment. Not available on hosted routing today. Public demos use synthetic data only.

Does P402 hold user funds at any point?+

No. The facilitator wallet executes transferWithAuthorization on the USDC contract. Funds move directly from the user's wallet to the treasury or resource server. The facilitator is never in the custody chain.

What happens if a settlement fails mid-flight?+

All billing events use INSERT ... ON CONFLICT to prevent duplicate charges. If the chain call fails after nonce recording, the nonce is consumed — the user must re-sign with a fresh nonce. No double charge can occur.

How are API keys stored?+

Raw API keys (p402_live_...) are returned exactly once at creation. Only the SHA-256 hash is stored. P402 cannot recover a lost key — the user must generate a new one.

Can we verify the contracts ourselves?+

Yes. All contract addresses are listed above with direct Basescan links. Source code is verifiable on-chain. Chain ID 8453 (Base Mainnet).

What is the platform fee?+

1% of each settled payment, taken at settlement time by the P402Settlement contract. See /pricing for plan-level fees and limits.

Where do I report a security issue?+

Email security@p402.io. Include reproduction steps, affected endpoint, and requestId if available. Acknowledgement timing documented during onboarding.