Skip to content

Open source CapCut alternative.

TypeScript
4.2 KB
Raw Blame
{
  "active7d": 3,
  "activePrior7d": null,
  "activeYesterday": 3,
  "balanceMicros": "3500000",
  "billing": {
    "dashboardUrl": "https://dashboard.stripe.com/test",
    "days": [
      "2026-08-30",
      "2026-08-31",
      "2026-09-01",
      "2026-09-02"
    ],
    "subscribers": 2,
    "canceling": [
      {
        "subscriptionId": "sub_1",
        "customerId": "cus_p",
        "email": "[email protected]",
        "endsAt": "2026-09-08T00:00:00.000Z",
        "requestedAt": "2026-08-31T10:00:00.000Z",
        "feedback": "switched_service",
        "comment": "Export broke."
      }
    ],
    "churned": 1,
    "funded": 2,
    "fundedMicros": "25000000",
    "window": {
      "paidMicros": "25000000",
      "refundedMicros": "1000000",
      "netMicros": "24000000",
      "declinedMicros": "20000000",
      "declinedCustomers": 1,
      "abandonedCheckouts": 1,
      "cancels": 1
    },
    "revenue": [
      {
        "proMicros": "20000000",
        "topupMicros": "0",
        "otherMicros": "0",
        "refundedMicros": "0",
        "declinedMicros": "0",
        "cancels": 0
      },
      {
        "proMicros": "0",
        "topupMicros": "0",
        "otherMicros": "0",
        "refundedMicros": "0",
        "declinedMicros": "20000000",
        "cancels": 1
      },
      {
        "proMicros": "0",
        "topupMicros": "5000000",
        "otherMicros": "0",
        "refundedMicros": "0",
        "declinedMicros": "0",
        "cancels": 0
      },
      {
        "proMicros": "0",
        "topupMicros": "0",
        "otherMicros": "0",
        "refundedMicros": "1000000",
        "declinedMicros": "0",
        "cancels": 0
      }
    ],
    "events": [
      {
        "day": "2026-09-01",
        "kind": "paid",
        "email": "[email protected]",
        "customerId": "cus_n",
        "objectId": "pi_2",
        "amountMicros": "5000000",
        "detail": "topup",
        "endsAt": null,
        "ended": false
      },
      {
        "day": "2026-08-31",
        "kind": "canceled",
        "email": "[email protected]",
        "customerId": "cus_p",
        "objectId": "sub_1",
        "amountMicros": null,
        "detail": "switched_service · Export broke.",
        "endsAt": "2026-09-08T00:00:00.000Z",
        "ended": false
      },
      {
        "day": "2026-08-31",
        "kind": "declined",
        "email": "[email protected]",
        "customerId": "cus_d",
        "objectId": "pi_3",
        "amountMicros": "20000000",
        "detail": "Your card has insufficient funds.",
        "endsAt": null,
        "ended": false
      },
      {
        "day": "2026-08-30",
        "kind": "paid",
        "email": "[email protected]",
        "customerId": "cus_p",
        "objectId": "pi_1",
        "amountMicros": "20000000",
        "detail": "pro",
        "endsAt": null,
        "ended": false
      }
    ]
  },
  "days": [
    "2026-08-30",
    "2026-08-31",
    "2026-09-01"
  ],
  "generatedAt": "2026-09-02T04:00:00.000Z",
  "missing": [
    "2026-08-31"
  ],
  "referrals": {
    "sources": [
      "discord",
      "tiktok",
      "instagram",
      "youtube",
      "reddit",
      "search",
      "friend",
      "other"
    ],
    "days": [
      {
        "day": "2026-08-31",
        "respondents": 1,
        "counts": [
          0,
          0,
          0,
          1,
          0,
          0,
          0,
          1
        ],
        "others": [
          "a podcast"
        ]
      },
      {
        "day": "2026-09-01",
        "respondents": 0,
        "counts": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        "others": []
      }
    ]
  },
  "registered": 3,
  "series": [
    {
      "active": 2,
      "day": "2026-08-30",
      "signups": 0,
      "totalRegistered": 2,
      "working": 2
    },
    {
      "active": null,
      "day": "2026-08-31",
      "signups": 1,
      "totalRegistered": 3,
      "working": null
    },
    {
      "active": 3,
      "day": "2026-09-01",
      "signups": 0,
      "totalRegistered": 3,
      "working": 1
    }
  ],
  "signups7d": 1,
  "signupsWindow": 1,
  "sources": [
    "inference",
    "renders",
    "copies",
    "libraryAssets",
    "templates",
    "creditLedger",
    "posthog"
  ],
  "version": 1
}