{
  "build": "2026-08-28.3 (mode-forced-lowercase)",
  "ok": true,
  "ikhokha": {
    "configured": true,
    "base_url": "https://api.ikhokha.com",
    "endpoint": "/public-api/v1/api/payment",
    "full_url": "https://api.ikhokha.com/public-api/v1/api/payment",
    "mode_configured": "live",
    "mode_sent_to_ikhokha": "live",
    "app_id": "IK6S…4IPB (len 32)",
    "app_key": "cGID…uVzr (len 32)"
  },
  "site_url": "https://theaudacity.co.za",
  "env_vars_visible_to_this_function": {
    "URL": "http…o.za (len 25)",
    "SITE_ID": "2ae3…6cd7 (len 36)",
    "SITE_NAME": "thea…city (len 11)",
    "IKHOKHA_APP_ID": "IK6S…4IPB (len 32)",
    "IKHOKHA_APP_KEY": "cGID…uVzr (len 32)",
    "SITE_URL": "http…o.za (len 25)"
  },
  "accepted_names": {
    "app_id": [
      "IKHOKHA_APP_ID",
      "IK_APP_ID",
      "IKHOKHA_ID",
      "IKHOKHA_ENTITY_ID"
    ],
    "app_key": [
      "IKHOKHA_APP_KEY",
      "IKHOKHA_APP_SECRET",
      "IK_APP_KEY",
      "IKHOKHA_SECRET",
      "IKHOKHA_KEY"
    ],
    "mode": [
      "IKHOKHA_MODE",
      "IK_MODE"
    ],
    "site": [
      "SITE_URL",
      "URL"
    ]
  },
  "test_signature": {
    "body": "{\"hello\":\"world\"}",
    "signature": "b13672f3c8198e1797819b8ed5e6ed4323d60d1b36290522618f4f8b09e82434"
  },
  "tips": [
    "1. If 'env_vars_visible_to_this_function' is missing your keys → they're scoped 'Builds only' on Netlify. Fix: Site config → Environment variables → each var → Scopes → All scopes. Then Deploys → Trigger deploy.",
    "2. If keys are there but names are different → rename to one of the 'accepted_names' listed above, or leave as-is (this build accepts several aliases).",
    "3. If 'configured' is true but payments still fail → check Netlify → Functions → create-payment → Logs for the exact iKhokha response."
  ]
}