Api Endpoint

Gift by Crypto (TESTNET)

TESTNET / MOCK. Amazon.co.jp eGift card with any whole-yen face value from JPY 150 to 200,000, given in the path (e.g. /v1/egift/amazon-jp/3000). Price: face value / 150 USDC rounded up to the cent, on Base Sepolia (demo rate; JPY 3,000 = 20.00 USDC). POST with no body; the 402 is the quote. Returns a MOCK code that is not a real gift card.

Open interactive test console

Offering

Provider
gift-by-crypto-agent.kitano787.workers.dev
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://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/:yen
MIME type
Not provided
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
gift-card, amazon-japan, egift, testnet, mock

Payment pricing

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

Payment option 1
20 USDC
Atomic price: 20000000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "20000000",
    "payTo": "0x8aC20aB2AF691b85c0eff1D39bb4ebFEF164aE28"
  }
]

Observed health

Status
Reachable
Latest latency
129 ms
Average latency
1450 ms
HTTP status
400
Last checked
Reachability
92.9% over 14 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": {
      "additionalProperties": false,
      "properties": {},
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "pathParams": {
      "properties": {
        "yen": {
          "description": "Face value in whole JPY, 150 to 200000",
          "pattern": "^[1-9][0-9]{2,5}$",
          "type": "string"
        }
      },
      "required": [
        "yen"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output 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"
}