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

One period: state, counts, reconciling items and both hashes

GET/v1/close/periods/{period}

Key scope: read · Success: 200

Returns one period: its state, counts and hashes, the reconciling items open at the month's end, and the month's wallet balance checks. A month with no activity yet reads as open.

Path parameters

period stringrequired
The month as YYYY-MM (UTC). An impossible month is 404 not_found.

Notes

  • SET Close is switched on per deployment; when it is off, every /v1/close call answers 403 close_off after the key is checked. GET /v1/capabilities shows it as features.close.
  • Needs a key with the read scope. Platform and business keys can both call it.
  • reconcilingItems lists the matches pending or in transit at the month's end; at most 100 are shown, and reconcilingItemsShown says how many.
  • positions counts the month's balance checks of the business's wallets at SET's provider: the provider's balance against the chain balance.
  • preparedBy and approvedBy are API key ids (key_…), never the key itself.
  • The example was made with a sandbox key (sandbox: true).
  • 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
  • 404 not_found

All codes: Errors.