KintsugiKintsugi

Archive a transaction

POST/transactions/archive

Archive a transaction for the resolved organization. One-way: an archived transaction is excluded from every read on this API and cannot be restored, and its sales stop counting toward nexus. Archiving a transaction you do not own answers 404, identical to one that does not exist; a locked or already-filed transaction answers 409.

Authorization

Api-KeystringRequired

Your secret API key. Include it with every request.

Headers

Api-Versiondate

Release date, as YYYY-MM-DD. Defaults to 2026-07-21.

Organization-Idstring

Target organization id (Organization-Id selector).

Connection-Idstring

Target connection id; resolves to its organization.

Entity-Idstring

Platform entity id; resolves to a connection's organization.

Entity-Sourcestring

Optional source to disambiguate an Entity-Id.

Body

transactionIdstringRequired

Id of the transaction to archive.

Response

idstringRequired

Id of the transaction that was archived.

archivedboolean

Always true. Archiving is one-way and cannot be undone.

200

Successful Response

400

The request was invalid.

401

Authentication failed or was missing.

403

The credential is not permitted for this request.

404

The requested resource was not found.

409

The request conflicts with existing state.

422

The request failed validation.

cURL
POST /transactions/archive
-H "Api-Key: ***"
-H "Api-Version: 2026-07-21"
{
"transactionId": "tran_12345"
}
Response
{
"id": "3f6c2b1e-8a4d-4c2e-9b1f-2d7e5a6c9f10",
"archived": true
}
Archive a transaction (2026-07-21) | Kintsugi API Reference