SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Subscriptions

Get subscription revenue

GET/api/v1/subscriptions/revenue

Returns subscription revenue totals. Staff-only.

Requires Authorization
ADMIN, ACCOUNTANT only
Session
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/subscriptions/revenue \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "totals": [
      {
        "currency": "USD",
        "amount": "1280.00"
      }
    ]
  }
}