Reference / Monetization

The monetization (MRR) summary.

GET /v1/billing/revenue
Secret API key operationId: revenue

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Responses

200 Revenue summary
{
  "data": {
    "active_subscriptions": 0,
    "by_plan": [
      {
        "mrr_cents": null,
        "plan_key": null,
        "plan_name": null,
        "subscriptions": null
      }
    ],
    "mrr_cents": 0
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}

Request

curl -X GET "http://localhost:8080/v1/billing/revenue" \

Try it

live request
GET http://localhost:8080/v1/billing/revenue