Get admin dashboard data
Returns aggregated dashboard statistics for the authenticated admin’s client (organization): commitment and donation counts, per-program breakdowns, billing plan, last payment, and Stripe gateway health. Results are cached for one week. On a cache miss the endpoint dispatches a background reload job and returns a partial payload (data.org plus a ‘reloaded’ flag); subsequent calls return the fully populated dashboard once the job finishes.
Authorizations
Gratona API key sent with the compatibility header X-HYS-API-Key.
Response
Dashboard payload for the authenticated client. Shape depends on cache state — fields outside data.org, stripe_msg, and status are only present once the cached stats are fully built.
Stripe gateway health for the client. Empty string when Stripe is configured and reachable; otherwise a human-readable diagnostic such as 'No Payment Gateway Setup', 'No Stripe Publishable Key Setup', or the Stripe API error message. Omitted while the dashboard is in the initial 'reloading' state.
"No Payment Gateway Setup"
"success"