Skip to main content
POST
/
transactions
/
inflight
/
bulk
/
void
Bulk void inflight
curl --request POST \
  --url http://localhost:5001/transactions/inflight/bulk/void \
  --header 'X-blnk-key: <api-key>'
Use blnk.Transactions.bulkVoidInflight to void multiple inflight transactions.
blnk.Transactions.bulkVoidInflight
const response = await blnk.Transactions.bulkVoidInflight({
  transaction_ids: [
    'txn_11111111-1111-4111-8111-111111111111',
    'txn_22222222-2222-4222-8222-222222222222',
  ],
});
FieldDescription
transaction_idsUp to 100 inflight transaction IDs to void.

Response shape

200 OK
{
  "succeeded": 2,
  "failed": 1,
  "results": [
    { "transaction_id": "txn_11111111-1111-4111-8111-111111111111", "status": "succeeded" },
    { "transaction_id": "txn_22222222-2222-4222-8222-222222222222", "status": "succeeded" },
    {
      "transaction_id": "txn_33333333-3333-4333-8333-333333333333",
      "status": "failed",
      "code": "ALREADY_COMMITTED",
      "message": "cannot void. Transaction already committed"
    }
  ]
}
FieldDescription
succeededNumber voided successfully.
failedNumber that failed.
resultsPer-transaction outcome in request order.
results[].statussucceeded or failed.
results[].codeFailure code (for example NOT_FOUND, ALREADY_COMMITTED, NOT_INFLIGHT).
results[].messageHuman-readable failure message.

Bulk inflight updates

Per-item failure codes and rollback behavior.

Bulk void inflight

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.