{
  "x402Version": 2,
  "id": 33992,
  "slug": "33992",
  "resource": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/purchase-preflight",
  "description": "Combine public product resolution, one fresh isolated anonymous cart, optional delivery lookup and checkout handoff evidence into one bounded purchase preflight. Shopify Ajax and WooCommerce Store API are supported; Forest never logs in, touches a customer session, creates an order or attempts payment. Base mainnet USDC",
  "type": "http",
  "serviceName": "Forest Commerce",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "6000",
      "amountUsd": 0.006,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "destination": {
              "country": "CZ",
              "postal_code": "75701"
            },
            "quantity": 1,
            "url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/products/forest-demo-widget",
            "variant_id": "424242"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capability": "commerce.purchase-preflight",
            "data": {
              "accepted_quantity": 1,
              "blockers": [],
              "canonical_url": "example",
              "cart_possible": false,
              "cheapest_shipping": {
                "currency": "example",
                "max_delivery_date": "example",
                "min_delivery_date": "example",
                "name": "example",
                "price": 1
              },
              "checkout_possible": false,
              "checkout_url": "example",
              "currency": "example",
              "customer_session_touched": false,
              "deliverable": false,
              "delivery_checked": false,
              "delivery_requested": false,
              "item_price": 1,
              "order_not_created": true,
              "payment_not_attempted": true,
              "platform": "example",
              "provider_request_count": 0,
              "requested_quantity": 1,
              "scope": "anonymous_bounded_preflight_not_purchase_guarantee",
              "selected_variant_id": "example",
              "session_scope": "request_scoped_ephemeral",
              "shipping_option_count": 0,
              "shipping_options": [],
              "state": "ready",
              "subtotal": 1
            },
            "meta": {
              "cache": "miss",
              "checked_at": "2026-01-01T00:00:00.000Z",
              "duration_ms": 0,
              "provider": "shopify-ajax"
            },
            "ok": true,
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "destination": {
                    "additionalProperties": false,
                    "description": "Delivery country and postal code used to quote delivery availability.",
                    "properties": {
                      "country": {
                        "description": "Public country value used to scope this lookup.",
                        "pattern": "^[A-Za-z]{2}$",
                        "type": "string"
                      },
                      "postal_code": {
                        "description": "Public postal code value used to scope this lookup.",
                        "maxLength": 32,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "country",
                      "postal_code"
                    ],
                    "type": "object"
                  },
                  "quantity": {
                    "description": "Requested item quantity to validate against provider limits.",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "url": {
                    "description": "Public HTTP(S) URL to inspect, resolve, or compare.",
                    "maxLength": 2048,
                    "minLength": 1,
                    "pattern": "^https?://",
                    "type": "string"
                  },
                  "variant_id": {
                    "description": "Public provider variant identifier to validate.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "quantity"
                ],
                "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"
      }
    }
  },
  "tags": [
    "commerce",
    "purchase",
    "checkout",
    "bazaar"
  ],
  "sourceHost": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
  "lastUpdated": "2026-10-09T00:08:54.754Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T00:08:54.379Z"
  },
  "metadata": {
    "serviceName": "Forest Commerce",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "destination": {
                "country": "CZ",
                "postal_code": "75701"
              },
              "quantity": 1,
              "url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/products/forest-demo-widget",
              "variant_id": "424242"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "capability": "commerce.purchase-preflight",
              "data": {
                "accepted_quantity": 1,
                "blockers": [],
                "canonical_url": "example",
                "cart_possible": false,
                "cheapest_shipping": {
                  "currency": "example",
                  "max_delivery_date": "example",
                  "min_delivery_date": "example",
                  "name": "example",
                  "price": 1
                },
                "checkout_possible": false,
                "checkout_url": "example",
                "currency": "example",
                "customer_session_touched": false,
                "deliverable": false,
                "delivery_checked": false,
                "delivery_requested": false,
                "item_price": 1,
                "order_not_created": true,
                "payment_not_attempted": true,
                "platform": "example",
                "provider_request_count": 0,
                "requested_quantity": 1,
                "scope": "anonymous_bounded_preflight_not_purchase_guarantee",
                "selected_variant_id": "example",
                "session_scope": "request_scoped_ephemeral",
                "shipping_option_count": 0,
                "shipping_options": [],
                "state": "ready",
                "subtotal": 1
              },
              "meta": {
                "cache": "miss",
                "checked_at": "2026-01-01T00:00:00.000Z",
                "duration_ms": 0,
                "provider": "shopify-ajax"
              },
              "ok": true,
              "version": "1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "destination": {
                      "additionalProperties": false,
                      "description": "Delivery country and postal code used to quote delivery availability.",
                      "properties": {
                        "country": {
                          "description": "Public country value used to scope this lookup.",
                          "pattern": "^[A-Za-z]{2}$",
                          "type": "string"
                        },
                        "postal_code": {
                          "description": "Public postal code value used to scope this lookup.",
                          "maxLength": 32,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "country",
                        "postal_code"
                      ],
                      "type": "object"
                    },
                    "quantity": {
                      "description": "Requested item quantity to validate against provider limits.",
                      "maximum": 100,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "url": {
                      "description": "Public HTTP(S) URL to inspect, resolve, or compare.",
                      "maxLength": 2048,
                      "minLength": 1,
                      "pattern": "^https?://",
                      "type": "string"
                    },
                    "variant_id": {
                      "description": "Public provider variant identifier to validate.",
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "quantity"
                  ],
                  "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "manifest_name": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}