Skip to content

[Task] License/entitlement API contract for NPO Software storefront #1

Description

@apescic-director

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

  • API contract agreed
  • Auth model for service-to-service calls documented
  • Storefront can swap fake adapter for real client

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions