{
  "x402Version": 2,
  "id": 9104,
  "slug": "9104",
  "resource": "https://chappy-japan-address-preflight.pre23964wb.workers.dev/v1/jp/address/preflight",
  "description": "Town-level Japan Post evidence for buyer agents. Returns MATCHED, AMBIGUOUS, CONFLICT, or NOT_FOUND with ordered candidates, provenance, limitations, and the next safe input action.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2a997f68413B58766264bF10747e8700c8D59053",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "postal_code": "1000001",
            "raw_address": "東京都千代田区千代田1-1",
            "use_case": "delivery"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "candidate_count": 1,
            "decision": "MATCHED",
            "decision_scope": "JAPAN_POST_POSTAL_TO_TOWN_CONSISTENCY_ONLY",
            "ok": true,
            "postal_code": "1000001",
            "reason_codes": [
              "UNIQUE_TOWN_LEVEL_MATCH"
            ],
            "recommended_action": "CONTINUE_WITH_EXTERNAL_CHECKS"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "postal_code": {
                    "description": "Japanese seven-digit postal code; full-width digits and common hyphens are accepted",
                    "type": "string"
                  },
                  "raw_address": {
                    "description": "Japanese address text to compare at the town level",
                    "maxLength": 512,
                    "minLength": 2,
                    "type": "string"
                  },
                  "use_case": {
                    "enum": [
                      "delivery",
                      "visit",
                      "vendor_onboarding",
                      "form_submission"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "postal_code",
                  "raw_address",
                  "use_case"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": true
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "chappy-japan-address-preflight.pre23964wb.workers.dev",
  "lastUpdated": "2026-09-08T09:46:36.438Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-08T09:46:36.177Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "chappy-japan-address-preflight.pre23964wb.workers.dev",
    "manifest_name": "chappy-japan-address-preflight.pre23964wb.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}