KLOOZ//COUPON-HUBUNCONFIGURED

Developer Overview · v0

Coupon Hub

An unpublished, developer-only REST API scaffold. Not a storefront. Not a payment system. No tenant is installed.

UNCONFIGURED — integrations disabled

No tenant OAuth flow, webhook receiver, or upstream API client is wired. Every integration surface is disabled and fails closed until a verified installation supplies its secrets.

Endpoints

GET/api/health

Liveness and installation state. Always safe to call — it never contacts a third party.

{
  "status": "unconfigured"
}
POST/api/coupon-match

Validates the request JSON and attempts a coupon match. While unconfigured it validates and returns no coupon.

{
  "couponCode": null
}

Cache-Control: no-store · invalid JSON → 400

Integration State

Tenant OAuth

No authorization-code flow. Disabled.

DISABLED · fail-closed

Inbound webhooks

No receiver or signature verification active.

DISABLED · fail-closed

Upstream API client

No credentials present. Fails closed.

DISABLED · fail-closed

Current behavior

  • · GET /api/health → status: "unconfigured"
  • · POST /api/coupon-match → validates JSON, returns couponCode: null
  • · No third party is contacted from either endpoint.