Skip to main content
GET
Get billing-cache hit/miss metrics
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /billing/metrics/cache Redis cache performance stats for subscription/Stripe-data caching, keyed by cache operation. Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Cache metrics retrieved

status
string
Example:

"success"

message
string
data
object

Per-operation Redis cache hit/miss stats, keyed by cache operation name (e.g. subscription, stripeSubscription).