Api Endpoint

agent.halowerk.com

Runs your simple-product checkout cases against the pinned OpenCart source in a private, non-root database that exists only for the length of the request. For each case it reports the totals the native code actually produces, which expectations were missed, and where a cart path diverged, rather than a single pass or fail.

Open interactive test console

Offering

Provider
agent.halowerk.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Data
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent.halowerk.com/v1/oss-opencart-checkout-rule-regression-review
MIME type
Not provided
First seen
2026-10-16T03:02:07.735Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
  }
]

Observed health

Status
Healthy
Latest latency
317 ms
Average latency
317 ms
HTTP status
204
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "cases": [
      {
        "case_id": "baseline",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": false,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "customer_use_rejected",
        "coupon": {
          "customer_use_limit": 1,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 1,
          "prior_total_uses": 1,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 7,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "disabled_product_removed",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": false,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          },
          {
            "product_id": 103,
            "quantity": 1
          }
        ]
      },
      {
        "case_id": "eligible_product_cap",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [
            102
          ],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "100.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": true,
          "total": "27.90000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "fixed_free_shipping",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": true,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": true,
          "total": "32.30000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "global_use_rejected",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 1,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 1,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "group_discount",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": false,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 2,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "42.20000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "logged_coupon_rejected",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": true,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "minimum_rejected",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "40.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "F",
          "value": "7.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": false,
          "total": "44.40000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      },
      {
        "case_id": "percentage",
        "coupon": {
          "customer_use_limit": 0,
          "enabled": true,
          "free_shipping": false,
          "minimum_subtotal": "0.0000",
          "prior_customer_uses": 0,
          "prior_total_uses": 0,
          "product_ids": [],
          "requires_login": false,
          "total_use_limit": 0,
          "type": "P",
          "value": "20.0000"
        },
        "customer_group_id": 1,
        "customer_id": 0,
        "expected": {
          "cart_paths_equivalent": false,
          "coupon_eligible": true,
          "total": "36.70000000"
        },
        "lines": [
          {
            "product_id": 101,
            "quantity": 2
          },
          {
            "product_id": 102,
            "quantity": 3
          }
        ]
      }
    ],
    "discounts": [
      {
        "customer_group_id": 2,
        "priority": 1,
        "product_id": 101,
        "quantity": 2,
        "type": "P",
        "value": "10.0000"
      }
    ],
    "flat_shipping": {
      "cost": "4.0000",
      "tax_class_id": 1
    },
    "products": [
      {
        "enabled": true,
        "minimum_quantity": 1,
        "price": "10.0000",
        "product_id": 101,
        "shipping": true,
        "stock": 100,
        "tax_class_id": 1
      },
      {
        "enabled": true,
        "minimum_quantity": 1,
        "price": "5.0000",
        "product_id": 102,
        "shipping": true,
        "stock": 100,
        "tax_class_id": 1
      },
      {
        "enabled": false,
        "minimum_quantity": 1,
        "price": "100.0000",
        "product_id": 103,
        "shipping": true,
        "stock": 100,
        "tax_class_id": 1
      }
    ],
    "tax_classes": [
      {
        "fixed_amount": "0.5000",
        "percentage_rate": "10.0000",
        "tax_class_id": 1
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "cases": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "case_id": {
                    "maxLength": 32,
                    "pattern": "^[a-zA-Z0-9_-]{1,32}$",
                    "type": "string"
                  },
                  "coupon": {
                    "additionalProperties": false,
                    "properties": {
                      "customer_use_limit": {
                        "maximum": 10000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "free_shipping": {
                        "type": "boolean"
                      },
                      "minimum_subtotal": {
                        "maxLength": 10,
                        "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                        "type": "string"
                      },
                      "prior_customer_uses": {
                        "maximum": 64,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "prior_total_uses": {
                        "maximum": 64,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "product_ids": {
                        "items": {
                          "maximum": 2147483647,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "maxItems": 16,
                        "minItems": 0,
                        "type": "array"
                      },
                      "requires_login": {
                        "type": "boolean"
                      },
                      "total_use_limit": {
                        "maximum": 10000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "type": {
                        "enum": [
                          "F",
                          "P"
                        ]
                      },
                      "value": {
                        "maxLength": 10,
                        "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "enabled",
                      "type",
                      "value",
                      "product_ids",
                      "free_shipping",
                      "requires_login",
                      "minimum_subtotal",
                      "total_use_limit",
                      "customer_use_limit",
                      "prior_total_uses",
                      "prior_customer_uses"
                    ],
                    "type": "object"
                  },
                  "customer_group_id": {
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "customer_id": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "expected": {
                    "additionalProperties": false,
                    "properties": {
                      "cart_paths_equivalent": {
                        "type": "boolean"
                      },
                      "coupon_eligible": {
                        "type": "boolean"
                      },
                      "total": {
                        "maxLength": 18,
                        "pattern": "^(?:0|[1-9][0-9]{0,8})(?:\\.[0-9]{1,8})?$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "total",
                      "coupon_eligible",
                      "cart_paths_equivalent"
                    ],
                    "type": "object"
                  },
                  "lines": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "product_id": {
                          "maximum": 2147483647,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "quantity": {
                          "maximum": 100,
                          "minimum": 1,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "product_id",
                        "quantity"
                      ],
                      "type": "object"
                    },
                    "maxItems": 16,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "case_id",
                  "customer_id",
                  "customer_group_id",
                  "lines",
                  "coupon",
                  "expected"
                ],
                "type": "object"
              },
              "maxItems": 16,
              "minItems": 1,
              "type": "array"
            },
            "discounts": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "customer_group_id": {
                    "maximum": 16,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "priority": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "product_id": {
                    "maximum": 2147483647,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "quantity": {
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "type": {
                    "enum": [
                      "F",
                      "P",
                      "S"
                    ]
                  },
                  "value": {
                    "maxLength": 10,
                    "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                    "type": "string"
                  }
                },
                "required": [
                  "product_id",
                  "customer_group_id",
                  "quantity",
                  "priority",
                  "type",
                  "value"
                ],
                "type": "object"
              },
              "maxItems": 64,
              "minItems": 0,
              "type": "array"
            },
            "flat_shipping": {
              "additionalProperties": false,
              "properties": {
                "cost": {
                  "maxLength": 10,
                  "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                  "type": "string"
                },
                "tax_class_id": {
                  "maximum": 8,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "cost",
                "tax_class_id"
              ],
              "type": "object"
            },
            "products": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "minimum_quantity": {
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "price": {
                    "maxLength": 10,
                    "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                    "type": "string"
                  },
                  "product_id": {
                    "maximum": 2147483647,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "shipping": {
                    "type": "boolean"
                  },
                  "stock": {
                    "maximum": 100000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "tax_class_id": {
                    "maximum": 8,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "product_id",
                  "price",
                  "stock",
                  "minimum_quantity",
                  "enabled",
                  "shipping",
                  "tax_class_id"
                ],
                "type": "object"
              },
              "maxItems": 16,
              "minItems": 1,
              "type": "array"
            },
            "tax_classes": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "fixed_amount": {
                    "maxLength": 10,
                    "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                    "type": "string"
                  },
                  "percentage_rate": {
                    "maxLength": 10,
                    "pattern": "^(?:0|[1-9][0-9]{0,4})(?:\\.[0-9]{1,4})?$",
                    "type": "string"
                  },
                  "tax_class_id": {
                    "maximum": 8,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "tax_class_id",
                  "percentage_rate",
                  "fixed_amount"
                ],
                "type": "object"
              },
              "maxItems": 8,
              "minItems": 0,
              "type": "array"
            }
          },
          "required": [
            "products",
            "discounts",
            "tax_classes",
            "flat_shipping",
            "cases"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}