{"id":"4c753b76-6ea0-4e88-9a6f-d1599623df20","shortId":"3aeb64","kind":"x402","title":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible)","tagline":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Onchain loy","description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.","tags":[],"capabilities":["x402-eip155:8453"],"categories":[],"synonyms":[],"warnings":[],"endpointUrl":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/create_p2p_offer","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","brand":"Loyal Spark","mcpTool":"create_p2p_offer","version":"2","website":"https://loyalspark.online","provider":"Loyal Spark","mcpServer":"https://api.loyalspark.online/recipient-loyalty-mcp","builderCode":"bc_wdmnog7m","description":"Loyal Spark Recipient MCP. POST the tool arguments as the JSON body (or the JSON-RPC tools/call body) to this x402 URL, then repeat it with PAYMENT-SIGNATURE / X-PAYMENT; gateway forwards to https:...","documentation":"https://loyalspark.online/for-agents"},"payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","amount":"10000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/create_p2p_offer","extensions":{"bazaar":{"info":{"mcp":{"server":"https://api.loyalspark.online/recipient-loyalty-mcp","toolName":"create_p2p_offer","transport":"streamable-http"},"input":{"body":{"offer_amount":10,"request_amount":10,"offer_token_address":"0xb2000000000000000000008ce542828ec5f09bb7","request_token_address":"0xb2000000000000000000008ce542828ec5f09bb7"},"type":"http","method":"POST","headers":{},"bodyType":"json"},"output":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"inputSchema":{"type":"object","anyOf":[{"maxProperties":0},{"required":["offer_token_address","offer_amount","request_token_address","request_amount"]}],"properties":{"offer_amount":{"type":"number"},"request_amount":{"type":"number"},"offer_token_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"request_token_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"description":"A call with no input returns a paid read-only demo view (demo program LSCSC, its rewards, the inputs to pass, next_steps). Send your own input to perform the call.","x-bare-call-default":"view"}},"schema":{"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"}}}},"builder-code":{"info":{"a":"bc_wdmnog7m"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"App builder code"},"s":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"description":"Service builder codes"},"w":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"Wallet builder code"}},"additionalProperties":false}}},"description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.","outputSchema":{"input":{"type":"mcp","toolName":"create_p2p_offer","transport":"streamable-http","description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Pay-only works: the paying wallet is the caller;..."}},"maxAmountRequired":"10000","maxTimeoutSeconds":300}]},"qualityScore":"0.000","qualityRationale":null,"verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":null,"enrichmentVersion":1,"enrichedAt":null,"embedding":null,"createdAt":"2026-11-04T19:18:13.428Z","updatedAt":"2026-11-07T01:35:03.009Z","lastSeenAt":"2026-11-07T01:35:03.009Z","tsv":"'-20':17,35,55 'agent':72 'ai':71 'amount':15,33,53 'anoth':12,30,50 'api':90 'autom':73 'b20':13,31,51 'base':60 'brand':61 'caller':89 'compat':18,36,56 'creat':1,19,39 'custom':66 'earn':67 'erc':16,34,54 'everi':69 'exchang':10,28,48 'intent':5,23,43 'key':91 'launch':62 'loy':38 'loyalti':7,25,45,58 'mcp':79 'minut':65 'offer':6,24,44 'onchain':37,57 'option':92 'p2p':3,21,41 'pay':81,85 'pay-on':80 'purchas':70 'rest':75,77 'reward':63 'swap':4,22,42 'token':8,14,26,32,46,52 'via':76 'wallet':86 'work':83 'x402-eip155:8453'","prices":[{"id":"ea83229b-0804-45a3-9f2b-988aa728b8b7","listingId":"4c753b76-6ea0-4e88-9a6f-d1599623df20","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":"10000","chain":"base","payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","mime_type":"application/json","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","brand":"Loyal Spark","mcpTool":"create_p2p_offer","version":"2","website":"https://loyalspark.online","provider":"Loyal Spark","mcpServer":"https://api.loyalspark.online/recipient-loyalty-mcp","builderCode":"bc_wdmnog7m","description":"Loyal Spark Recipient MCP. POST the tool arguments as the JSON body (or the JSON-RPC tools/call body) to this x402 URL, then repeat it with PAYMENT-SIGNATURE / X-PAYMENT; gateway forwards to https:...","documentation":"https://loyalspark.online/for-agents"},"payTo":"0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b","amount":"10000","scheme":"exact","network":"eip155:8453","mimeType":"application/json","resource":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/create_p2p_offer","extensions":{"bazaar":{"info":{"mcp":{"server":"https://api.loyalspark.online/recipient-loyalty-mcp","toolName":"create_p2p_offer","transport":"streamable-http"},"input":{"body":{"offer_amount":10,"request_amount":10,"offer_token_address":"0xb2000000000000000000008ce542828ec5f09bb7","request_token_address":"0xb2000000000000000000008ce542828ec5f09bb7"},"type":"http","method":"POST","headers":{},"bodyType":"json"},"output":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"inputSchema":{"type":"object","anyOf":[{"maxProperties":0},{"required":["offer_token_address","offer_amount","request_token_address","request_amount"]}],"properties":{"offer_amount":{"type":"number"},"request_amount":{"type":"number"},"offer_token_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"request_token_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"description":"A call with no input returns a paid read-only demo view (demo program LSCSC, its rewards, the inputs to pass, next_steps). Send your own input to perform the call.","x-bare-call-default":"view"}},"schema":{"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"}}}},"builder-code":{"info":{"a":"bc_wdmnog7m"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"a":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"App builder code"},"s":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"description":"Service builder codes"},"w":{"type":"string","pattern":"^[a-z0-9_]{1,32}$","description":"Wallet builder code"}},"additionalProperties":false}}},"description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.","outputSchema":{"input":{"type":"mcp","toolName":"create_p2p_offer","transport":"streamable-http","description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Pay-only works: the paying wallet is the caller;..."}},"maxAmountRequired":"10000","maxTimeoutSeconds":300}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":300},"createdAt":"2026-11-04T19:18:13.428Z"}],"sources":[{"listingId":"4c753b76-6ea0-4e88-9a6f-d1599623df20","source":"x402_bazaar","sourceId":"https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/create_p2p_offer","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-11-04T19:18:13.428Z","lastSeenAt":"2026-11-07T01:35:03.009Z"}],"details":{"listingId":"4c753b76-6ea0-4e88-9a6f-d1599623df20","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":{"input":{"type":"mcp","toolName":"create_p2p_offer","transport":"streamable-http","description":"Create a P2P swap intent: offer loyalty tokens in exchange for another B20 token amount (ERC-20 compatible). Pay-only works: the paying wallet is the caller;..."}},"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"x402_version":2,"resource_type":"http","bazaar_last_updated":"2026-11-04T18:48:57.233Z"},"updatedAt":"2026-11-07T01:35:03.009Z"}}