v1
latestOpenAPI 3.1.02026-07-241910582.8 KBList Ledger Entries
Query parameters
If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with id[]=, for example ?id[]=123&id[]=abc.
Shows all ledger entries on an account.
Shows all ledger entries on a transaction.
To retrieve the itemized Ledger Entries of an associated settlement, use this query parameter.
Use gt (>), gte (>=), lt (<), lte (<=), or eq (=) to filter by the transaction's effective at. Format ISO8601.
Use gt (>), gte (>=), lt (<), lte (<=), or eq (=) to filter by the posted at timestamp. For example, for all times after Jan 1 2000 12:00 UTC, use updated_at%5Bgt%5D=2000-01-01T12:00:00Z.
Use "gt" (>), "gte" (>=), "'lt" (<), "lte" (<=), or "eq" (=) to filter by the created at timestamp. For example, for all times after Jan 1 2000 12:00 UTC, use created_at%5Bgt%5D=2000-01-01T12:00:00Z.
Shows all ledger entries that were present on a ledger account at a particular lock_version. You must also specify ledger_account_id.
Shows all ledger entries for ledger accounts in a particular ledger account category.
Shows all ledger entries for a particular ledger account statement.
If true, response will include ledger entries that were deleted. When you update a ledger transaction to specify a new set of entries, the previous entries are deleted.
Get all ledger entries that match the direction specified.
To query ledger entries by status, use this query parameter. Can be pending, posted, or archived.
To query ledger entries by status, use this query parameter. Can be pending, posted, or archived. For multiple statuses, use status[]=pending&status[]=posted.
For example, if you want to query for records with metadata key Type and value Loan, the query would be metadata%5BType%5D=Loan. This encodes the query parameters.
Order by created_at or effective_at in asc or desc order. For example, to order by effective_at asc, use order_by%5Beffective_at%5D=asc. Ordering by only one field at a time is supported.
If true, response will include the balances attached to the ledger entry. If there is no balance available, null will be returned instead.
Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the ledger entry amount.
Response
200
Example response
[
{
"id": "a3c45984-aa05-4554-8c7d-eee9a8053fac",
"object": "ledger_entry",
"amount": 100,
"direction": "credit",
"status": "pending",
"ledger_account_id": "641e4d45-7fff-4e7e-ae05-1db2614b4a1e",
"ledger_account_currency": "USD",
"ledger_account_currency_exponent": 2,
"ledger_account_lock_version": 3,
"ledger_transaction_id": "7f973ee9-597c-46e3-bcf1-359e0115d560",
"created_at": "2022-11-01T21:29:56Z",
"updated_at": "2022-11-01T21:29:56Z"
}
]