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

Every file uploaded, with its counts (the file itself is not kept)

GET/v1/close/imports

Key scope: read · Success: 200

Lists every file uploaded to the business's sources, newest first, with its row counts and file hash. The file itself is not kept. Paged by createdBefore.

Query parameters

createdBefore string
The last answer's nextCreatedBefore, passed back unchanged, or an ISO 8601 time: imports created strictly before it.
limit integer
1 to 100; 50 by default.

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.
  • A file refused whole (400 csv_invalid, 413 import_too_large, 429 close_budget_reached) is not listed.
  • An upload of a file already sent is listed too, with createdRecords 0.
  • A listed import carries no rejections, unchanged, matched or exceptions: those come only in the answer to the upload.
  • There is no source filter and no call for one import by id.
  • 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
  • 400 created_before_invalid

All codes: Errors.