{"uid":"cap_-LB2dGMUUUtUFlLlCyCHN","slug":"loyal-spark-cancel-offer-4a4c528b","name":"Loyal Spark Cancel Offer","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month. On the paid retry also send x-api-key: lsk_.... A payment without a live key is not charged. The call is scoped to the wallet behind that key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.","url":"https://api.loyalspark.online/x402-gateway/cancel-offer?utm_source=zero.xyz","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":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}},"inputSchema":{"type":"object"}}},"responseSchema":{"type":"json","schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"},"description":"JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ESmWkaAUQ2XhKIOOrVmYn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Cancels an active peer-to-peer loyalty token trade offer on the Loyal Spark onchain loyalty protocol","exampleAgentPrompt":"Cancel my open loyalty token trade offer on Loyal Spark — I want to withdraw it before anyone accepts it.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok: true and resource: 'cancel-offer' confirming the offer was successfully cancelled on the Loyal Spark protocol.","failureModes":["Offer not found or already accepted — returns error indicating offer ID is invalid or no longer active","Unauthorized cancellation attempt — caller does not own the offer","Network or blockchain state error on Base L2 — transaction cannot be processed","Malformed request body — missing required fields returns validation error","Payment failure — x402 micropayment not completed, request rejected"],"whenToPreferThis":"Use this endpoint when a user wants to withdraw or revoke a previously posted peer-to-peer loyalty token trade offer on the Loyal Spark protocol before it has been fulfilled, specifically on the Base L2 network using ERC-20 loyalty tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:13:50.198Z","isFirstParty":false,"canonicalSlug":"loyal-spark-cancel-offer-4a4c528b"}