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.
Call the method
- Commit
- Partial commit
- Void
blnk.Transactions.updateStatus
| Field | Type | Description |
|---|---|---|
transactionOrBatchId | string | Inflight transaction ID, or batch ID from createBulk. |
status | string | commit to apply funds, or void to cancel and roll back. |
amount | number | Partial commit amount. See Partial commits. |
precise_amount | number | Precision-applied partial commit amount. Takes precedence over amount. |
Confirm the outcome
Check
response.data.status for COMMIT or VOID. Use parent_transaction to link the result back to the original inflight transaction.Related docs
Inflight transactions
Holds, commits, voids, and partial commits.
Update inflight
HTTP request and response schema.