Ledger Entries

A ledger_entry represents an accounting entry within a parent ledger transaction. Its amount is denominated in the currency of the ledger it belongs to.

Attribute

Description

id
string

Unique identifier for the ledger entry.

ledger_account_id
string

ID of the ledger account.

direction
string

Either credit or debit.

amount
int

Value in specified currency's smallest unit. e.g. $10 would be represented as 1000. Can be any integer up to 30 digits.

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": "2a9b522e-5be3-49bc-b607-a09f9786dc3c",
  "object": "ledger_entry",
  "amount": 1500000000,
  "direction": "debit",
  "ledger_account_id": "063da2e3-4a37-4abf-8626-57d25bd6d441",
  "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0",
  "live_mode": true,
  "created_at": "2020-08-04T16:58:51Z",
  "updated_at": "2020-08-04T16:58:51Z"
}