{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/billdog-io/json-schema/billdog-io-post-functions-v1-create-web-checkout-response-schema.json",
  "title": "PostFunctionsV1CreateWebCheckoutResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/billdog-io-openapi-generated.yml#/components/schemas/PostFunctionsV1CreateWebCheckoutResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "description": "Stripe response data"
    },
    "data.kind": {
      "type": "string"
    },
    "data.url": {
      "type": "string"
    },
    "data.session_id": {
      "type": "string"
    },
    "data.pending_checkout_id": {
      "type": "string"
    },
    "data.redemption_token": {
      "type": "string",
      "description": "app_to_web only: pre-linked to this checkout, valid 7 days"
    },
    "meta": {
      "type": "object"
    },
    "meta.request_id": {
      "type": "string"
    },
    "meta.api_version": {
      "type": "string"
    },
    "meta.timestamp": {
      "type": "string"
    }
  }
}