{"uid":"cap_Gr0zx4bIrZRYToPwr_SyP","slug":"x402-gateway-gift-card-purchase-api-5dad286b","name":"x402-gateway Gift Card Purchase API","description":"20 tools. Pay per call. No accounts. No logins. No API keys. Blockchain data, web scraping, ZK proofs, QR & diagram rendering, LLM chat — settled in USDC on Base via the x402 payment protocol and Coinbase CDP facilitator.","url":"https://x402.freeq.one/giftcard/api/buy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"email":{"type":"string","description":"Optional buyer email"},"value":{"type":"number","description":"Face value to buy (USD)"},"product_id":{"type":"string","description":"Catalog product id, e.g. foot-locker-usa"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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_RrWXPmCYJjKs9GGHwZf6j","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":"Buy a digital gift card by product ID and face value, settled in USDC on Base via the x402 pay-per-call protocol — no account required.","exampleAgentPrompt":"Buy me a $25 Foot Locker USA gift card — the product ID is foot-locker-usa — and send the details to john@example.com.","exampleUseCases":[{"title":"Crypto-funded retail gift purchase","prompt":"Buy a $50 gift card for Amazon using crypto — product ID is amazon-usa — and email the card to sarah@example.com."},{"title":"Agent gifting without traditional accounts","prompt":"I want to send my friend a $10 gift card for Starbucks using USDC, no account sign-up. Product ID is starbucks-usa, their email is mike@example.com."},{"title":"Automated gift card fulfillment in a workflow","prompt":"As part of a loyalty reward, purchase a $20 Foot Locker gift card (product ID foot-locker-usa) and deliver it to rewards@company.com."}],"resultDescription":"A JSON response containing the purchased gift card details, including confirmation of the transaction and card redemption information, returned after USDC payment is settled on Base.","failureModes":["Invalid or unsupported product_id returns an error indicating the catalog item does not exist","Face value out of range for the selected product may be rejected","Insufficient USDC payment causes x402 payment failure and the call is not processed","Malformed email address may cause delivery failure","Network or blockchain settlement delays may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need to programmatically purchase digital gift cards with no account registration, API key, or traditional payment method — ideal for crypto-native agents, automated reward systems, or any workflow where USDC on Base is the preferred settlement layer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:49:27.807Z","isFirstParty":false}