Periods
List closed periods oldest-first
The ledger's closed periods oldest-first - the ladder a close appends to.
GET
/v1/ledgers/{ledgerId}/periodsThe ledger's closed periods oldest-first - the ladder a close appends to. Each carries the range it covers and the checkpoint it took.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
ledgerId*string
Format
uuidResponse Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/periods"[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z" }]Post the exact mirror, linked and once-only
Posts the exact mirror of a transaction - same accounts, same amounts, opposite directions - and links the two, so the original stays in the books and the correction is visible as a correction.
Close a period through an effective moment
Closes a period through an effective moment: it checkpoints every account's balance in effective time, raises the ledger's closed-through mark, and from then on refuses any posting whose effective_...