GET
/
metrics
/
subscriptions
curl --request GET \
  --url https://api.live.paisr.tech/{version}/metrics/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total": 67,
    "pending": 9,
    "active": 40,
    "trial": 5,
    "requires_action": 3,
    "expired": 6,
    "cancelled": 4
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Successfully retrieved subscription metrics.
success
boolean
Example:

true

data
object