Siren

Bulk Actions

Perform an action on multiple transactions at once, including cancel, refund, and delete.

Last updated: April 9, 2026

Bulk Actions

POST /siren/v1/transactions/bulk

Performs an action on multiple transactions at once.

Request Body:

FieldTypeRequiredDescription
actionstringYesOne of: cancel, refund, delete
idsinteger[]YesArray of transaction IDs to act upon

Action Behaviors:

ActionEffect
cancelSets status to cancelled
refundSets status to refunded
deletePermanently removes records from the database

Non-existent IDs are silently skipped. Datastore errors on individual records are logged but do not halt processing of remaining IDs.

Example Request:

{
  "action": "cancel",
  "ids": [101, 102, 103]
}

Example Response:

{
  "success": true,
  "affected": 3
}