Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · SET Close

Close settings: first period, when entries post, today's writes

GET/v1/close/settings

Key scope: read · Success: 200

Reads your SET Close settings: the first month Close covers, when journal entries post to a connected ledger, and today's writes against the daily limit. The settings are made on the first call, starting with the current month (UTC).

No parameters.

Notes

  • SET Close is switched on per deployment; when off, every /v1/close call answers 403 close_off. Check GET /v1/capabilities (features.*).
  • Needs a key with the read scope.
  • startPeriod is the first month Close covers; on first use it is the current month (UTC).
  • postOn says when journal entries go to a connected ledger: approve (once the period is locked; the default) or match (as each payment matches).
  • writes.today counts the rows Close wrote for your business today (UTC), against writes.dailyLimit.
  • lastRunAt is the last time SET's scheduled pass, which runs every 10 minutes, read your records; it is null until that pass has run.
  • The example was made with a sandbox key, before the first pass.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 403 close_off
  • 401 api_key_required

All codes: Errors.