SwiftGoma.SwiftGoma

Search endpoints

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

Subscriptions

List all subscriptions

GET/api/v1/subscriptions/admin

Lists subscriptions across every seller. Staff-only.

Requires Authorization
ADMIN, ACCOUNTANT only
Session

Query parameters

pagenumber
Defaults to 1.
limitnumber
Max 100. Defaults to 20.
statusstring
Filter by subscription status.
planIdstring
Filter by plan.
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/subscriptions/admin \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "subscriptions": [
      {
        "id": "sub_9c8d7e",
        "sellerProfileId": "sp_2b3c4d",
        "planId": "plan_starter",
        "billingCycle": "MONTHLY",
        "currency": "USD",
        "status": "ACTIVE",
        "currentPeriodStart": "2026-02-01T00:00:00.000Z",
        "currentPeriodEnd": "2026-03-01T00:00:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 1,
      "totalPages": 1
    }
  }
}