# Soren x402 Test Payment Sandbox

> Soren x402 Test Payment Sandbox is a paid API for AI agents from soren.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Executes a live x402 payment cycle for $0.10 USDC and returns the settled payment receipt, with scenario parameters to trigger specific failure paths at no charge.

## Facts

- Endpoint: GET https://soren.com/v1/testpayment
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/soren-x402-test-payment-sandbox-8c710018
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q49zlujiv__glotqVbKfQ

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 soren-x402-test-payment-sandbox-8c710018
```

Example prompt: Run a live x402 test payment through Soren's sandbox — use the success scenario so I get back a real settlement receipt with the payer address, amount, network, and transaction hash, and I can confirm my 402-sign-retry loop works end to end.

## When to prefer this

Use this endpoint when you are building or testing an x402 payment client and need to verify your full 402-detect, sign, retry, and settlement loop against a live facilitator with real USDC on Base. It is the right choice when you need a settled receipt to assert against in an integration test, or when you want to exercise specific failure modes (max-price guard, expired quotes, underpaid, settlement failure) in a controlled way without needing to construct a mock server yourself.

## Known failure modes

- scenario=underpaid triggers an underpaid error response at no cost
- scenario=expired returns an expired quote error at no cost
- scenario=settle_fail returns a settlement failure at no cost
- scenario=price with a price value above $5.00 is clamped to the maximum
- Payment of $0.10 USDC is required for the success scenario; insufficient funds result in payment rejection
- Network congestion or facilitator downtime may cause real settlement failures on the success path

## How this service works

A paid sandbox for x402 clients. Pay $0.10 and receive your own settled payment back — payer address, amount, network and settlement transaction — so a test can assert your 402, sign, retry and settle loop works against a live facilitator. Scenario parameters exercise the failure paths for free: prove your max-price guard fires, that you abandon an expired quote, handle a rejected payment, and retry a failed settlement.

## Output

A settled payment receipt containing the payer's wallet address, the amount paid, the network on which it settled, and the on-chain settlement transaction hash. For failure scenario parameters (price, underpaid, expired, settle_fail), the response instead returns the corresponding error condition so the client can assert its handling logic. No charge is incurred for simulated failure paths.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "price": {
       "type": "string",
       "examples": [
        "0.50"
       ],
       "description": "With scenario=price, the amount to quote, so you can test your max-price guard. Clamped to $5.00."
      },
      "scenario": {
       "type": "string",
       "examples": [
        "settle_fail"
       ],
       "description": "Force a path: success, price, underpaid, expired, settle_fail. Failure paths are simulated locally and charge nothing."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/soren-x402-test-payment-sandbox-8c710018/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from soren.com](https://www.zero.xyz/host/soren.com/llms.txt)
