{"uid":"cap_QVFgbRPwChfjAe53lnqNN","slug":"ln-omikuji-agentic-payment-test-endpoint-c61e6118","name":"LN教 Omikuji Agentic Payment Test Endpoint","description":"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.","url":"https://kari.mayim-mayim.com/api/bazaar/omikuji","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["agentId"],"properties":{"agentId":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"clientType":{"enum":["AI","HUMAN"],"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","result"],"properties":{"result":{"type":"string"},"status":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"result":"大吉","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iygpi7RNrUjRra8B3MN0v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Validating agent x402 payment capability","prompt":"I want to confirm my AI agent can autonomously handle an x402 micropayment challenge and complete the transaction — use the LN Church omikuji endpoint at $0.01 USDC to run a live test and show me the fortune result it gets back."},{"title":"Demoing agentic Lightning micropayment","prompt":"I'm building a demo of agentic payments over Lightning Network — can you make a real $0.01 USDC x402 payment to the LN Church omikuji API and show me exactly what fortune result comes back so I can show stakeholders it works end to end?"},{"title":"Draw a Japanese fortune for fun","prompt":"Pull my omikuji fortune for today from the Lightning Network Church API — it's a tiny micropayment, just go ahead and pay the $0.01 USDC and tell me if I got 大吉 or something else."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:25.340Z","isFirstParty":false}