Create Ledger

post/ledgers

Request

  • Base URL
    https://app.moderntreasury.com/api
  • URL
    https://app.moderntreasury.com/api/ledgers
  • Auth
    HTTP basic

Request body

namestring required

The name of the ledger. Maximum of 1000 characters allowed.

descriptionstring

An optional free-form description for internal use. Maximum of 1000 characters allowed.

metadatastring json

Metadata to be added to the ledger.

Response

201

idstring
objectstring
live_modeboolean
namestring
descriptionunknown
metadataobject
discarded_atunknown
created_atstring
updated_atstring

Example response

{
  "id": "641e15b7-a326-44b1-9ed2-536cd327101b",
  "object": "ledger",
  "name": "Business Ledger",
  "created_at": "2022-11-01T20:50:56Z",
  "updated_at": "2022-11-01T20:50:56Z"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.