Transactions
Bulk commit inflight
Commit multiple independently-created inflight transactions with the TypeScript SDK.
POST
Bulk commit inflight
Use
blnk.Transactions.bulkCommitInflight to commit multiple inflight transactions.
Call the method
- Queued commit
- Synchronous commit
blnk.Transactions.bulkCommitInflight
| Field | Type | Description |
|---|---|---|
transactions | object[] | Up to 100 inflight transactions to commit. |
transactions[].transaction_id | string | Inflight transaction ID to commit. |
transactions[].amount | number | Partial commit amount. Omit to commit the full remaining inflight amount. |
transactions[].precise_amount | number | Precision-applied partial commit amount. Takes precedence over amount. |
skip_queue | boolean | When true, process synchronously instead of queuing. |
Review per-item results
Check
response.data.results for each transaction’s outcome. Failed items include a code and message without stopping the rest of the batch.Response
200 OK
| Field | Type | Description |
|---|---|---|
succeeded | number | Number committed successfully. |
failed | number | Number that failed. |
results | object[] | Per-transaction outcome in request order. |
results[].status | string | succeeded or failed. |
results[].code | string | Failure code (for example NOT_FOUND, ALREADY_VOIDED, INVALID_AMOUNT). |
results[].message | string | Human-readable failure message. |
Related docs
Bulk inflight updates
Per-item failure codes and when to use batch updates.
Bulk commit inflight
HTTP request and response schema.