Create a Journal

POST {{baseUrl}}/v1/journals

A journal can be JNLC (move cash) or JNLS (move shares), dictated by entry_type. Generally, journal requests are subject to approval and starts from the pending status. The status changes are propagated through the Event API. Under certain conditions agreed for the partner, such journal transactions that meet the criteria are executed right away.

Request Body

{"entry_type"=>"JNLC", "from_account"=>"7c891489-574f-4f9a-82f0-4082a07f4736", "to_account"=>"2d47a229-0c25-40a2-8cc7-b2c8821ff93a", "amount"=>"115.5"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"h7h5g33f-ef01-4458-9a4b-9598727a406f","entry_type":"JNLS","from_account":"8fjkjn-4483-4199-840f-6c5fe0b7ca24","to_account":"3gtt65jd-6f2a-433c-8c33-17b66b8941fa","status":"executed","symbol":"AAPL","qty":"2","price":"128.23"}