ChartMogul Account API

The Account API from ChartMogul — 1 operation(s) for account.

OpenAPI Specification

chartmogul-account-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: ChartMogul REST Account API
  version: '1'
  description: 'ChartMogul REST API for importing customers, subscriptions, plans,

    invoices, and transactions, and for reading subscription analytics

    metrics (MRR, ARR, ARPA, churn, LTV). Authentication uses HTTP Basic

    Auth with your API key as the username and an empty password.

    '
  contact:
    name: ChartMogul Developer Docs
    url: https://dev.chartmogul.com/docs/introduction
servers:
- url: https://api.chartmogul.com/v1
security:
- basicAuth: []
tags:
- name: Account
paths:
  /account:
    get:
      tags:
      - Account
      summary: Retrieve account
      operationId: retrieveAccount
      responses:
        '200':
          description: Account details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
components:
  schemas:
    Account:
      type: object
      properties:
        name:
          type: string
        currency:
          type: string
        time_zone:
          type: string
        week_start_on:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth. Username is your ChartMogul API key; password is empty.