# x402-gateway Gift Card Purchase API

> x402-gateway Gift Card Purchase API is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

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.

## Facts

- Endpoint: POST https://x402.freeq.one/giftcard/api/buy
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-gift-card-purchase-api-5dad286b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gr0zx4bIrZRYToPwr_SyP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-gateway-gift-card-purchase-api-5dad286b -d '<json body>'
```

Example prompt: Buy me a $25 Foot Locker USA gift card — the product ID is foot-locker-usa — and send the details to john@example.com.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-gift-card-purchase-api-5dad286b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
