1. Billing
Cognita
  • Introduction
  • Auth
    • register
      POST
    • login
      POST
    • callback
      GET
    • profile
      GET
    • verify email
      POST
    • refresh
      POST
    • logout
      POST
    • forgot password
      POST
    • reset password
      POST
    • request reset password
      POST
    • update-profile
      PATCH
  • Meetings
    • Transcripts
      • Retrieve transcripts for a meeting
    • upload init
    • Get meeting details
  • Transcription
    • live
    • Get Transcript segments
    • Create translation for transcript
  • Organization
    • Billing
      • Get Billing Details
        GET
      • Update Plan
        POST
    • Org
      • Create Organization
      • Get Organization
      • Get Organizations
      • update organization
      • update settings
      • Delete Organization
      • get organization settings
      • Suspend
      • Resume
    • Retention
      • Set Retention Policy
      • Get Retention Policy
      • Update Retention Policy
    • Domains
      • Allowed Domains
      • Allowed Domains
      • Domain verfying
  • Workspaces
    • Org
      • Get Organization Workspaces
    • Workspace
      • Create Workspace
      • Get Workspace
      • Update Workspace
      • Delete Workspace
    • Users
      • Get Workspace Members
      • Delete Member from Workspace
    • Meetings
      • Start a meeting in workspace
  • configurations
    • feature-flags
    • configs
    • tenant-defaults
  • Schemas
    • Organization
      • OrganizationSettings
      • FeatureFlags
      • RetentionPolicy
      • Organization
      • CreateOrgRequestBody
    • Billing & Subscriptions
      • BillingAccount
      • SubscriptionEntitlements
      • SubscriptionPlan
      • Subscription
      • PaymentMethod
      • Invoice
      • UsageRecords
      • Bill
    • Roles & permissions
      • Permissions
    • Workspace
      • Workspaces
    • Meeting & Recordings
      • Meetings
    • Trascriptions & Summaries
    • Integrations
    • Notifications & Audit logs
    • AI Services
    • Localization
    • Auth & Users
      • user
      • AccessToken
    • ErrorResponse
    • SuccessResponse
    • DeviceInfo
    • Session
  1. Billing

Get Billing Details

Developing
Develop Env
http://localhost:3000/api
Develop Env
http://localhost:3000/api
GET
http://localhost:3000/api
/orgs/{orgId}/billing
organization
Maintainer:Abdelrhman Moataz

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200Success
application/json
Body

🟠404Not Found
🟠403Forbidden
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:3000/api/orgs//billing' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "ok",
    "message": "Organization billing details fetched successfully",
    "data": {
        "orgId": "string",
        "organizationName": "string",
        "billingAccount": {
            "billingAccountId": "string",
            "provider": "string",
            "status": "string",
            "currency": "string",
            "billingEmail": "string",
            "createdAt": "string"
        },
        "currentSubscription": {
            "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
            "status": "string",
            "plan": {
                "planId": "string",
                "name": "string",
                "type": "string",
                "pricePerMonth": 0,
                "currency": "string",
                "entitlements": {
                    "maxMeetingsPerMonth": 0,
                    "aiSummary": true,
                    "recordingStorageGb": 0
                }
            },
            "billingCycle": "string",
            "startDate": "string",
            "endDate": "string",
            "renewalDate": "string",
            "trialEnd": null,
            "autoRenew": true
        },
        "paymentMethods": [
            {
                "paymentMethodId": "string",
                "type": "string",
                "last4": "string",
                "status": "string",
                "expDate": "string",
                "addedAt": "string"
            }
        ],
        "invoices": [
            {
                "invoiceId": "string",
                "periodStart": "string",
                "periodEnd": "string",
                "totalAmount": 0,
                "currency": "5fdcf0ae-7649-46eb-9081-14f06f68ecd7",
                "status": "string",
                "paidAt": "string",
                "dueDate": "string",
                "lineItems": [
                    {
                        "description": "string",
                        "amount": 0
                    }
                ]
            }
        ],
        "usageSummary": {
            "period": {
                "start": "string",
                "end": "string"
            },
            "metrics": [
                {
                    "metricType": "string",
                    "totalValue": 0
                }
            ]
        }
    }
}
Modified at 2025-10-15 22:56:10
Previous
Organization
Next
Update Plan
Built with