Ledger Account POST

POST /api/account/{account}/accounting/{platform}/{id}/ledger/account

Creates a Ledger Account.

URL Parameters

account*Account
platform*Connection Platform
id*Connection ID

Request Body

referencestring
namestring
currencystring
typestring
categorystring
taxRatestring

Responses

200 OK
idstring
referencestring
namestring
currencystring
updatedDatestring
createdDatestring
typestring
categorystring
taxRatestring
supportsPaymentsboolean
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Example Success Response

{
  "id": "string",
  "reference": "string",
  "name": "string",
  "currency": "string",
  "updatedDate": "string",
  "createdDate": "string",
  "type": "string",
  "category": "string",
  "taxRate": "string",
  "supportsPayments": true
}