{"uid":"cap_lTXqmWEKWp_dZDYAa4umK","slug":"loyal-spark-mark-gift-certificate-as-minted-0585d003","name":"Loyal Spark - Mark Gift Certificate as Minted","description":"Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.","url":"https://api.loyalspark.online/x402-gateway/mcp-tools/mark_gift_certificate_minted","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","toolName","inputSchema"],"properties":{"type":{"type":"string","const":"mcp"},"example":{"type":"object"},"toolName":{"type":"string"},"transport":{"enum":["streamable-http","sse"],"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json"},"example":{"request":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"response":{"id":1,"result":{"content":[{"text":"{\"name\":\"Loyal Spark\",\"chain\":\"Base L2\",\"chain_id\":8453,\"token_standard\":\"ERC-20\",\"features\":[\"loyalty_programs\",\"rewards\",\"marketplace\",\"tiers\",\"referrals\",\"vouchers\",\"analytics\"],\"api_docs\":\"https://loyalspark.online/api-docs\"}","type":"text"}]},"jsonrpc":"2.0"}},"exampleRequest":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_itxtEjTb3RZhsZmk8Pt8e","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":"Records that a gift certificate NFT has been minted on the Loyal Spark onchain loyalty protocol, updating its state to 'minted'.","exampleAgentPrompt":"On Loyal Spark, mark gift certificate ID 'GC-20240501-XYZ' as minted so the loyalty protocol knows the NFT has been created and is ready for redemption.","exampleUseCases":null,"resultDescription":"A JSON response confirming the gift certificate has been updated to 'minted' status in the Loyal Spark loyalty protocol, including the updated record details and confirmation of state change.","failureModes":["Gift certificate ID not found — returns 404 or error indicating invalid identifier","Gift certificate already marked as minted — idempotency conflict or duplicate state error","Invalid or missing required fields — returns 400 validation error","Authentication or payment failure — x402 payment not accepted","Onchain state mismatch — certificate not actually minted but status updated"],"whenToPreferThis":"Use this endpoint after successfully minting a gift certificate NFT on Base L2, to synchronize the Loyal Spark protocol's off-chain or hybrid record with the onchain minting event. Choose this when you need to update the lifecycle state of a gift certificate within the Loyal Spark ecosystem specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:10.467Z","isFirstParty":false}