Transactions
Update inflight
Commit or void an inflight transaction with the Python SDK.
PUT
Update inflight
Use
blnk.transactions.update_status to commit or void an inflight transaction or batch.
Call the method
- Commit
- Partial commit
- Void
blnk.transactions.update_status
| Field | Type | Description |
|---|---|---|
id | str | Inflight transaction ID, or batch ID from create_bulk. |
status | str | 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.