> ## Documentation Index
> Fetch the complete documentation index at: https://hoalulab.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Money & margin overview

> Derivative money and margin overview.



## OpenAPI

````yaml /en/openapi/tcbs-v1.yaml get /khronos/v1/account/status
openapi: 3.0.3
info:
  title: TCBS iFlash Open API
  description: REST APIs for trading stocks and derivatives on TCBS.
  version: 1.0.0
  contact:
    email: openapi@tcbs.com.vn
servers:
  - url: https://openapi.tcbs.com.vn
    description: Production
security:
  - bearerAuth: []
paths:
  /khronos/v1/account/status:
    get:
      summary: Money & margin overview
      description: Derivative money and margin overview.
      parameters:
        - name: accountId
          in: query
          required: true
          description: Custody account number.
          schema:
            type: string
        - name: subAccountId
          in: query
          required: true
          description: Derivative sub-account.
          schema:
            type: string
        - name: getType
          in: query
          required: true
          description: 0 = get all, 1 = money only.
          schema:
            $ref: '#/components/schemas/DerivativeGetType'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  cmd:
                    type: string
                    description: Response command name.
                  rc:
                    type: string
                    description: Result code, 1 = success.
                  data:
                    type: object
                    description: Money and margin overview data.
components:
  schemas:
    DerivativeGetType:
      type: string
      description: 'Phạm vi dữ liệu tổng quan phái sinh: 0 = lấy toàn bộ, 1 = chỉ lấy tiền.'
      enum:
        - '0'
        - '1'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.