# x402-gateway: RaaS Project Provision

> x402-gateway: RaaS Project Provision is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.05/call, status unknown (last checked 2026-12-01).

Provision a new referral-as-a-service (RaaS) project with a name, optional description, and optional landing URL for tracking referred traffic.

## Facts

- Endpoint: POST https://x402.freeq.one/tools/raas_project_provision?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-raas-project-provision-52b17a17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-oKFlX-EMGSq_g473iLDF

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 x402-gateway-raas-project-provision-52b17a17 -d '<json body>'
```

Example prompt: Create a new referral project called 'morning-bloom-shop' with description 'Credits for buyers from our blog' and landing URL https://morningbloom.coffee/landing so I can start tracking referred traffic.

## When to prefer this

Choose this endpoint when you need to programmatically create and register a new referral/affiliate project without any account signup, login, or API key — paying per call in USDC via x402. Ideal for agents automating multi-tenant referral campaign setup or bootstrapping referral infrastructure on demand.

## Known failure modes

- Project name exceeds 128 characters — request rejected with validation error
- Landing URL is not a valid https URL or domain cannot be verified — rejected with domain error
- Missing required project name field — returns schema validation error
- Duplicate project name conflicts with existing project — may return conflict error
- Payment failure over x402 protocol — request not processed, no resource created

## How this service works

RaaS Project Provisioner: Provision a Referral-as-a-Service (RaaS) project — one-time $0.05. Returns project_id and apiKey (hashed server-side; shown once — store now). Then call https://api.freeq.one/v1/raas with x-api-key: mint referral codes, track stats, and credit referrers when referred x402 settlements verify on Base. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/raas_project_provision.

## Output

Returns a JSON object containing the provisioned project record, including project ID and configuration details such as name, description, and landing URL, ready for use in referral tracking workflows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "example": "my-shop",
   "description": "Project name (<=128 chars)."
  },
  "description": {
   "type": "string",
   "example": "Credits for buyers referred from the shop blog",
   "description": "Optional human-readable project description."
  },
  "landing_url": {
   "type": "string",
   "example": "https://my-shop.example/landing",
   "description": "Optional https redirect target for referred traffic; must be a host you control (domain verification seeds automatically if not yet proven)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "content": [],
  "isError": false,
  "structuredContent": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-raas-project-provision-52b17a17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
