Transactions

Bulk void inflight

Void several inflight transactions in one request.

POST/transactions/inflight/bulk/void

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.

Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.

See also: Core API key.

Body

transaction_idsstring[]requiredbody

Unique ids of the independently-created inflight transactions to void. Max number of transaction IDs allowed is 100.

skip_queuebooleandefault falsebody

When false (default), each item is enqueued for asynchronous processing. Per-item results return status: "queued" with code QUEUED or ALREADY_QUEUED, and both codes count toward succeeded. When true, Blnk processes each item synchronously and returns status: "succeeded" or "failed". See Void inflight.

dry_runbooleandefault falsebody

When true, Blnk projects every void without releasing any hold. Items are projected independently. See Dry-run a transaction.

Response

succeededintegerrequired

Number of transactions voided or queued successfully. Items with QUEUED or ALREADY_QUEUED count here.

failedintegerrequired

Number of transactions that failed.

resultsobject[]required

Per-transaction result in the same order as the request.