← ncdLabs

← Assure store

Assure licensing API

Server-side activation for encrypted compliance packs. Called by the Assure WordPress plugin during import — not intended for browser use.

Checkout

GET/POST /products/assure/api/checkout?sku=hipaa|soc2|library|agency|…

Creates a Stripe Checkout session for a yearly subscription. Redirects to Stripe hosted checkout.

Paid pack SKUs:

nist-csf is not a checkout SKU — NIST CSF 2.0 ships free with the WordPress.org plugin (builtin), alongside GDPR and OWASP Top 10.

Checkout session

GET /products/assure/api/checkout/session?session_id=cs_…

Returns unlock key and download URL after successful payment (used by success page).

Pack download

GET /products/assure/api/download?token=…

Serves the encrypted pack after payment verification. Requires signed token or paid session_id.

Stripe webhook

POST /products/assure/api/stripe-webhook

Stripe checkout.session.completed (and subscription lifecycle) events for Assure yearly pack purchases (separate Stripe account from Site Access Policies).

Activate

POST /products/assure/api/activate

Binds a purchased unlock key to one WordPress site URL. Idempotent when the same site re-activates.

{
  "unlock_key": "8a3f5c2e9b1d7046e4f2a8c6b0d9e3f7",
  "site_url": "https://example.com",
  "framework": "hipaa"
}

Success (200):

{
  "activated": true,
  "reused": false,
  "framework": "hipaa",
  "label": "HIPAA",
  "site_url": "https://example.com",
  "activated_at": "2026-08-29T00:00:00.000Z"
}

Errors: 403 invalid key, 409 key already bound to another site.

Pack security model