Api Endpoint

x402-gateway

Buy a digital gift card and receive the code instantly. Payment settles on Base via x402.

Open interactive test console

Offering

Provider
x402.freeq.one
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.freeq.one/tools/giftcard/api/buy
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
MCP, pay-per-call

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
1.005 USDC
Atomic price: 1005000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1005000",
    "payTo": "0x90b0dC893406d6eA63bb077ED59F5e8340f98d84"
  }
]

Observed health

Status
Healthy
Latest latency
121 ms
Average latency
563 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "description": "JSON request body. See GET /tools for the parameter catalog.",
      "properties": {
        "email": {
          "description": "Delivery email (optional, for some retailers)",
          "type": "string"
        },
        "product_id": {
          "description": "Gift card product ID or fixed-price package ID (e.g. amazon.com-usa, foot-locker-usa<&>25)",
          "type": "string"
        },
        "value": {
          "description": "Face value in USD for ranged products (fixed-price products embed the value in the ID)",
          "type": "number"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "mcpServerUrl": {
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "toolName": {
      "type": "string"
    },
    "transport": {
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output 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",
          "properties": {
            "email": {
              "type": "string",
              "description": "Delivery email (optional, for some retailers)"
            },
            "value": {
              "type": "number",
              "description": "Face value in USD for ranged products (fixed-price products embed the value in the ID)"
            },
            "product_id": {
              "type": "string",
              "description": "Gift card product ID or fixed-price package ID (e.g. amazon.com-usa, foot-locker-usa<&>25)"
            }
          },
          "description": "JSON request body. See GET /tools for the parameter catalog."
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "toolName": {
          "type": "string"
        },
        "transport": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "mcpServerUrl": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "json"
        },
        "example": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "order_id": {
              "type": "string"
            },
            "product_id": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}