Skip to main content
POST
Refresh the client's ledger from its sources

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Hevn-Account
string | null

The client account to act for, as a cl_… id. Omit it to act as yourself.

Example:

"cl_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41"

Response

Successful Response

syncedAt
string<date-time>
required

When this refresh finished.

written
integer
required

Ledger entries the refresh created or updated. Can be 0.