SET API · SET Close
One period: state, counts, reconciling items and both hashes
GET/v1/close/periods/{period}
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
periodstringrequired- The month as
YYYY-MM(UTC). An impossible month is 404not_found.
Notes
- SET Close is switched on per deployment; when it is off, every
/v1/closecall answers 403close_offafter the key is checked.GET /v1/capabilitiesshows it asfeatures.close. - Needs a key with the
readscope. Platform and business keys can both call it. reconcilingItemslists the matches pending or in transit at the month's end; at most 100 are shown, andreconcilingItemsShownsays how many.positionscounts the month's balance checks of the business's wallets at SET's provider: the provider's balance against the chain balance.preparedByandapprovedByare 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_off404 not_found