Create a journal account

Creates a journal account.

SecuritySecretApiKey or JWT
Request
Request Body schema: application/json

Journal account resource.

name
required
string

Name of the journal account.

description
string or null
Responses
201

Journal account created.

Response Headers
Location
string <uri>

Location of the related resource.

Example: "https://api.rebilly.com/example"
Response Schema: application/json
name
required
string

Name of the journal account.

id
string <= 50 characters

ID of the journal account.

description
string or null
createdTime
string <date-time>

Date and time when the journal record is created.

updatedTime
string <date-time> (UpdatedTime)

Date and time which updates automatically when the resource is updated.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

post/journal-accounts
Request samples
application/json
{
  • "name": "Unearned revenue",
  • "description": "string"
}
Response samples
application/json
{
  • "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "name": "Unearned revenue",
  • "description": "string",
  • "createdTime": "2019-08-24T14:15:22Z",
  • "updatedTime": "2019-08-24T14:15:22Z"
}