# Delx Commerce Payout-If-Yes

> Delx Commerce Payout-If-Yes is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Returns a payout value equal to the input share count when the condition is 'yes', enabling conditional pay-per-result logic for agents.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/payout-if-yes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-payout-if-yes-84878dfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zcX7M55Zj17_NQp4C91Q5

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 delx-commerce-payout-if-yes-84878dfa -d '<json body>'
```

Example prompt: Run a payout-if-yes calculation for 200 shares and tell me what I get back — I only want to pay out if the answer is yes.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-result conditional payout computation that only triggers value when a yes condition is met. Ideal for agent-to-agent micropayment workflows using USDC on Base or Solana via the x402 protocol, where no signup or subscription is required and verifiable delivery matters.

## Known failure modes

- Missing or invalid 'shares' field returns a validation error
- Non-integer shares value causes a schema rejection
- Payment not included via x402 protocol results in 402 Payment Required response
- Negative or zero share count may return an error or zero payout
- Network or blockchain settlement delays may cause timeout

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the computed payout amount (equal to shares input), the schema identifier 'delx/util-payout-if-yes/v1', and the echoed shares value. Example: {payout: 200, schema: 'delx/util-payout-if-yes/v1', shares: 200}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "shares": {
   "type": "integer",
   "description": "Input field: shares."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "payout": 200,
  "schema": "delx/util-payout-if-yes/v1",
  "shares": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-payout-if-yes-84878dfa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
