Archive and Unarchive Transactions
What's new?
Six endpoints archive and unarchive transactions through the API. Archiving removes a transaction from funding and hides it from default transaction lists without deleting it, such as a transaction imported twice from the processor. Only settled transactions that have not been submitted for funding can be archived. Existing endpoints also support archived transactions through a new Archived filter, four new response fields, and two new Event Center work item types.
In Backoffice, users with the Archive Transactions permission archive transactions from the Transactions page and the Funding Process Center, and unarchive them from the Transactions page. See Manage Archived Transactions for details on managing archived transactions directly within the web interface.
New archive endpoints
| Resource | Endpoint | Purpose |
|---|---|---|
| Transactions | PUT Archive a Transaction | Archive a single transaction. |
| Transactions | PUT Unarchive a Transaction | Unarchive a single transaction. |
| Transactions | PUT Archive Multiple Transactions | Archive a list of transactions by ID. If any listed transaction cannot be archived, none are archived. |
| Transactions | PUT Archive Multiple Transactions with Filtering | Archive every eligible transaction that matches a filter. |
| Transactions | PUT Unarchive Multiple Transactions | Unarchive a list of transactions by ID. |
| Transactions | PUT Unarchive Multiple Transactions with Filtering | Unarchive every archived transaction that matches a filter. |
The optional X-Initiated-By header records who made the request; it defaults to "API User" when omitted. Unarchiving a transaction automatically changes its fundingStatus to Held. Transactions with a fundingStatus of Rejected at the time of archiving retain that status when unarchived. In both cases, onHold returns as true.
Updated endpoints
| Element | Change |
|---|---|
Archived query parameter | New filter on GET /transactions/paginated, /transactions/fundable, and /transactions/fundable/counts. Archived transactions are excluded unless requested. Archived transactions cannot be funded, so the fundable endpoints always exclude them. |
Transaction object | New fields: archived, archivedDate, archivedBy, and archiveReason. |
RiskExceptionTransaction object | New field: archived. |
WorkItemType enum | New values: ArchiveTransactions and UnarchiveTransactions, returned by GET /eventcenter and GET /eventcenter/{eventId}. |
Example workflow: Archive Duplicate Imports
A submerchant's transactions 125034, 125035, and 125036 were imported twice from the processor.
- Archive: Send
PUT /transactions/archivemultiplewith the three IDs and the reason "Duplicate import from processor." - Confirm: Call
GET /transactions/paginatedwithArchived=true. The three transactions return witharchivedset to true and their archive details filled in.

