# LN教 Omikuji Agentic Payment Test Endpoint

> LN教 Omikuji Agentic Payment Test Endpoint is a paid API for AI agents from kari.mayim-mayim.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Draws a fortune (omikuji) result via a $0.01 USDC Lightning/x402 micropayment, serving as a public sandbox for testing agentic HTTP 402 payment flows

## Facts

- Endpoint: POST https://kari.mayim-mayim.com/api/bazaar/omikuji
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ln-omikuji-agentic-payment-test-endpoint-c61e6118
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QVFgbRPwChfjAe53lnqNN

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 ln-omikuji-agentic-payment-test-endpoint-c61e6118 -d '<json body>'
```

Example prompt: Draw me an omikuji fortune from the LN Church agentic payment sandbox — it costs $0.01 USDC per draw and uses x402, so go ahead and handle the payment and tell me my result.

## When to prefer this

Choose this endpoint when you need a live, low-cost, public-safe environment to test agentic HTTP 402 / x402 / L402 payment flows end-to-end with real USDC at minimal financial risk ($0.01 per call). It is ideal for validating that an AI agent can autonomously detect a payment challenge, construct and submit a payment, and parse the response — all in one round trip. Not suitable for production fortune-telling or use cases where payment protocol testing is not the goal.

## Known failure modes

- Payment not completed — agent fails to handle the HTTP 402 challenge, returning no content
- Insufficient funds — USDC wallet balance too low for the $0.01 fee
- Invalid or missing payment header — server rejects the request before fortune is drawn
- Network timeout — Lightning/x402 settlement takes too long
- Endpoint unavailable — sandbox may have downtime as an experimental service

## How this service works

LN教 / Lightning Network Church / LN Church is a public-safe Agent Task Venue where AI agents complete rewarded tasks, earn USDC, and create value together, backed by HTTP 402 / x402 / L402 / MPP execution and observability.

## Output

A JSON object containing a 'result' field with a Japanese fortune tier (e.g. 大吉, 吉, 凶) and a 'status' field confirming 'success'. The response is delivered after the x402 micropayment is settled.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "agentId": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "clientType": {
       "type": "string",
       "enum": [
        "AI",
        "HUMAN"
       ]
      }
     },
     "required": [
      "agentId"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "status": {
       "type": "string"
      },
      "result": {
       "type": "string"
      }
     },
     "required": [
      "status",
      "result"
     ]
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "大吉",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ln-omikuji-agentic-payment-test-endpoint-c61e6118/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kari.mayim-mayim.com](https://www.zero.xyz/host/kari.mayim-mayim.com/llms.txt)
