GI
Payments · x402 · early usage

TESTNET / MOCK

TESTNET / MOCK. Amazon.co.jp eGift card, JPY 1,000 face value, for 6.67 USDC on Base Sepolia (demo rate 1 USDC = JPY 150). POST with no body; the 402 is the quote. Returns a MOCK code that is not a real gift card.

by gift-by-crypto-agent.kitano787.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls9
30d payers3
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

TESTNET / MOCK. Amazon.co.jp eGift card, JPY 1,000 face value, for 6.67 USDC on Base Sepolia (demo rate 1 USDC = JPY 150). POST with no body; the 402 is the quote. Returns a MOCK code that is not a real gift card.

Tags: gift-card · amazon-japan · egift · testnet · mock · bazaar · offer-receipt

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{}
Output example
{
  "code": "MOCK-0123456789abcdef",
  "explorer": "https://sepolia.basescan.org/tx/0x0000000000000000000000000000000000000000000000000000000000000000",
  "faceValue": {
    "amount": 1000,
    "currency": "JPY"
  },
  "mock": true,
  "notice": "TESTNET / MOCK: Base Sepolia test USDC only. Codes are mocks, not real Amazon gift cards.",
  "payer": "0x0000000000000000000000000000000000000000",
  "price": {
    "amount": "6.67",
    "asset": "USDC",
    "network": "eip155:84532"
  },
  "product": "Amazon.co.jp eGift card JPY 1000 (MOCK)",
  "sku": "amazon-jp-1000",
  "testnet": true,
  "tx": "0x0000000000000000000000000000000000000000000000000000000000000000"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/33217.json for the price and payment options.
  3. Pay. Call GET https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/1000. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Demand
9 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC66700000x8aC20aB2AF691b85c0eff1D39bb4ebFEF164aE28300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0x8aC20aB2AF691b85c0eff1D39bb4ebFEF164aE28",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "6670000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "code": {
          "description": "Mock gift code (not redeemable)",
          "pattern": "^MOCK-[0-9a-f]{16}$",
          "type": "string"
        },
        "explorer": {
          "description": "Settlement tx on Sepolia Basescan",
          "format": "uri",
          "type": "string"
        },
        "faceValue": {
          "properties": {
            "amount": {
              "type": "integer"
            },
            "currency": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "mock": {
          "const": true,
          "type": "boolean"
        },
        "notice": {
          "type": "string"
        },
        "payer": {
          "description": "EIP-3009 signer address",
          "type": "string"
        },
        "price": {
          "properties": {
            "amount": {
              "type": "string"
            },
            "asset": {
              "type": "string"
            },
            "network": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "product": {
          "type": "string"
        },
        "receipt": {
          "description": "Signed receipt (x402 offer-receipt extension, also in PAYMENT-RESPONSE): an EdDSA JWS over resourceUrl, payer, network, issuedAt and transaction, signed by the key published at /.well-known/did.json",
          "properties": {
            "format": {
              "const": "jws",
              "type": "string"
            },
            "signature": {
              "description": "JWS compact serialization",
              "type": "string"
            }
          },
          "type": "object"
        },
        "sku": {
          "type": "string"
        },
        "testnet": {
          "const": true,
          "type": "boolean"
        },
        "tx": {
          "description": "Settlement tx hash (the order ID); also in PAYMENT-RESPONSE",
          "pattern": "^0x[0-9a-fA-F]{64}$",
          "type": "string"
        }
      },
      "required": [
        "testnet",
        "mock",
        "sku",
        "code"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "code": "string",
    "explorer": "https://example.com",
    "faceValue": {
      "amount": 0,
      "currency": "string"
    },
    "mock": true,
    "notice": "string",
    "payer": "string",
    "price": {
      "amount": "string",
      "asset": "string",
      "network": "string"
    },
    "product": "string",
    "receipt": {
      "format": "string",
      "signature": "string"
    },
    "sku": "string",
    "testnet": true,
    "tx": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/1000"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/1000");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/1000")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
gift-by-crypto-agent.kitano787.workers.dev
Endpoint
https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/1000
Machine-readable
/resources/33217.json