# AgentPay Gate v4.0 — SaaS Contract Redlining & Risk Scoring

> AgentPay Gate v4.0 — SaaS Contract Redlining & Risk Scoring is a paid API for AI agents from agentpay-gate.run402.com, paid per call via x402, $15/call, status unknown (last checked 2026-10-19).

Analyzes a SaaS vendor domain or contract URL and returns a risk score, GDPR/DPA verification status, and a redlined contract bundle

## Facts

- Endpoint: GET https://agentpay-gate.run402.com/api/x402-joint-bundle?utm_source=zero.xyz
- Price: $15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-dd56e864
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x5lr9D7t2IYooZ2SAkMaP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-dd56e864
```

Example prompt: Can you score the contract risk and check GDPR/DPA compliance for stripe.com — I need to know if it's safe to sign before we finalize the procurement?

## When to prefer this

Choose this endpoint when you need an automated, pay-per-call SaaS contract risk score and GDPR/DPA compliance check without a long-term subscription, especially in procurement workflows where you need a downloadable redlined contract bundle as output. Less suitable if you need human legal review, deep clause-by-clause negotiation, or integration with a document management system.

## Known failure modes

- Missing or invalid URL query parameter returns an error response
- Unreachable or non-HTTPS target domain may result in failure to score
- Payment not completed (x402 protocol) results in 402 response before processing
- Unknown or unsupported domain may return low-confidence or empty results
- Download bundle URL may be ephemeral and expire after a short window

## How this service works

Real-time server-side SaaS contract risk scoring, DPA/GDPR verification, and surgical clause redlining backed by PostgreSQL, Node 22 Serverless, TON Connect 2.0, and x402 API.

## Output

Returns a JSON object with an overall geo/risk score (0-100), domain identifier, a verified license key indicating compliance status, and a download URL pointing to a ZIP bundle containing the redlined contract documents and risk report.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Target HTTPS URL or buyer domain"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "domain": "stripe.com",
  "geo_score": 94,
  "license_key": "PRO-X402-VERIFIED-2026",
  "download_bundle_url": "https://ai-cloud-studio.surge.sh/releases/citepulse-ai-v4.0-turnkey-pro-7f9a2c.zip"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-dd56e864/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay-gate.run402.com](https://www.zero.xyz/host/agentpay-gate.run402.com/llms.txt)
