M
MadConnect
Shared spine

MadConnect

Shared spine for MadRent, The Skin Crowd, and The Strength Forge

Multi-tenant orgs in Postgres, PayFast hosted checkout in ZAR, hashed inter-app keys, and an MCP tool list for Grok or Cursor. The Skin Crowd stays on Lovable at clear-skin-tribe.lovable.app. Skin Crowd live checkout stays on Lovable. This Worker is PayFast only and does not copy Lovable Cloud data.

Other Workers call this

curl -H "Authorization: Bearer mc_…" \
  $PUBLIC_BASE_URL/api/resolve

curl -X POST -H "Authorization: Bearer $MCP_AGENT_TOKEN" \
  -H "content-type: application/json" \
  $PUBLIC_BASE_URL/api/mcp \
  -d '{"tool":"create_payfast_checkout","arguments":{"org_id":"…","amount_cents":40000,"item_name":"Skin Crowd starter"}}'

PayFast ITN lands on /api/billing/itn. The Skin Crowd adapter calls the live Lovable renewal-reminders hook. Pushed lead, booking, and payment events land on /api/webhooks/skin-crowd.

/api/health · /api/plugin · /api/mcp/tools