GET
/
Service help

This API template includes tenant-aware routes, health checks, and payment integration.

Core routes

  • GET /health
  • GET /db/health
  • GET /tenant/*
  • GET /sample/*
  • GET /payment
  • POST /payment/webhook
  • GET /game-systems*
  • GET /forms*
  • GET /art-styles*
  • GET /lookup-groups*

Payments

  • POST /payment
  • POST /payment/webhook
  • GET /docs/payments
  • GET /docs/catalog

Tenant and sample APIs

  • GET /tenant/property — list tenant properties.
  • GET /tenant/property/:name — fetch one property by name.
  • GET /tenant/setting — list tenant settings.
  • GET /tenant/setting/:name — fetch one setting by name.
  • GET /sample/:id — fetch a sample row by id.
  • GET /sample/name/:name — fetch a sample row by name.

Required environment variables

MAGICSTACK_PAYMENTS_URL=https://payments.example.com
MAGICSTACK_PAYMENTS_URL_KEY=your-api-key

Webhook registration URL

/payment/webhook

For detailed payment setup instructions and schema, open the payments docs.