Context
APES-NPO-Software-Website is the public Laravel/Cloudron storefront + customer portal. License/entitlement engine ownership is this repo (APES.Digital.Software).
Needed from Digital Software
Define and implement a license/entitlement API consumed by the storefront portal (stubbed there first).
Draft contract (v0)
POST /entitlements — create entitlements after paid order (order_id, customer_id, sku, quantity, stripe_refs)
GET /entitlements?customer_id= — list entitlements for portal downloads gating
GET /licenses?customer_id= — list licenses (id, sku, status, masked_key, created_at, expires_at)
POST /licenses/{id}/reveal — reveal full key (audited)
- Webhook or poll for license revoke/suspend events
Related storefront issues
Acceptance
Context
APES-NPO-Software-Website is the public Laravel/Cloudron storefront + customer portal. License/entitlement engine ownership is this repo (APES.Digital.Software).
Needed from Digital Software
Define and implement a license/entitlement API consumed by the storefront portal (stubbed there first).
Draft contract (v0)
POST /entitlements— create entitlements after paid order (order_id, customer_id, sku, quantity, stripe_refs)GET /entitlements?customer_id=— list entitlements for portal downloads gatingGET /licenses?customer_id=— list licenses (id, sku, status, masked_key, created_at, expires_at)POST /licenses/{id}/reveal— reveal full key (audited)Related storefront issues
Acceptance