{"uid":"cap_AAw-AWG67soJLGTWFkRYV","slug":"loyal-spark-accept-p2p-loyalty-token-offer-e2777dd8","name":"Loyal Spark - Accept P2P Loyalty Token Offer","description":"Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes. Customers earn real value with every purchase. AI agents automate the rest.","url":"https://api.loyalspark.online/x402-gateway/accept-offer","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","example":{"ok":true,"resource":"accept-offer"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_dcAQnd_lFHVz1no7ocxub","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a peer-to-peer trade offer for onchain ERC-20 loyalty reward tokens on the Loyal Spark Base L2 protocol","exampleAgentPrompt":"Accept the pending loyalty token trade offer on Loyal Spark — I want to take that P2P deal and settle the ERC-20 reward token exchange now.","exampleUseCases":null,"resultDescription":"Returns a JSON confirmation object with ok: true and resource: 'accept-offer' indicating the trade offer was successfully accepted and the onchain loyalty token exchange has been initiated.","failureModes":["Offer already accepted or expired — returns error indicating stale offer state","Invalid or missing required body fields — returns validation error","Unauthorized caller — missing or invalid payment header causes 402 response","Offer ID not found — returns not found error","Network or blockchain congestion causing settlement delays"],"whenToPreferThis":"Use this endpoint when an AI agent or user needs to accept an existing P2P trade offer for ERC-20 loyalty tokens on the Loyal Spark Base L2 protocol — specifically to finalize the receiving side of a peer-to-peer loyalty rewards exchange, as opposed to creating a new offer or redeeming tokens directly with the protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:51.193Z","isFirstParty":false}