Ledgers

A ledger represents a standard chart of ledger accounts. A ledger contains a discrete set of accounts and transactions and is guaranteed to include equal debit and credit entries at all times.

Related Guides: Ledgers Overview

Attribute

Description

id
string

Unique identifier for the ledger.

name
string

The name of the ledger.

description
string

An optional free-form description for internal use.

metadata
object

Additional data represented as key-value pairs. Both the key and value must be strings. See Metadata.

live_mode
boolean

This field will be true if this object was created with a production API key or false if created with a test API key.

{
    "id": "89c8bd30-e06a-4a79-b396-e6c7e13e7a12",
    "object": "ledger",
    "name": "General Ledger",
    "description": "Tracks all money movements",
    "metadata": {},
    "live_mode": true,
    "created_at": "2020-08-04T16:48:05Z",
    "updated_at": "2020-08-04T16:48:05Z"
}