Transactions
Update inflight
Commit or void an inflight transaction with the TypeScript SDK.
PUT
Update inflight
Use
blnk.Transactions.updateStatus to commit or void an inflight transaction or batch.
blnk.Transactions.updateStatus
| Field | Description |
|---|---|
transactionOrBatchId | Inflight transaction_id, or batch_id from createBulk. |
status | commit to apply funds, or void to cancel and roll back. |
amount | Partial commit amount. See Partial commits. |
precise_amount | Precision-applied partial commit amount. Takes precedence over amount. |
Response shape
200 OK
| Field | Description |
|---|---|
transaction_id | ID of the new transaction created by the commit or void. |
parent_transaction | Original inflight transaction this resolves. |
status | COMMIT or VOID. |
precise_amount | Amount applied (amount × precision). |
Related docs
Inflight transactions
Holds, commits, voids, and partial commits.
Update inflight
HTTP request and response schema.