Transactions
Bulk transactions
Submit multiple transactions in one request with the Python SDK.
POST
Bulk transactions
Use
blnk.transactions.create_bulk to create many transactions in one request.
Call the method
blnk.transactions.create_bulk
| Field | Type | Description |
|---|---|---|
transactions | list[dict] | Transaction objects to create; references must be unique within the batch. |
atomic | bool | When True, every transaction succeeds or fails together. |
inflight | bool | When True, transactions are created in INFLIGHT status for a later commit or void. |
run_async | bool | When True, Core processes the batch in the background and returns status: "queued". |
skip_queue | bool | When True, transactions bypass the queue and process synchronously. |
Save the batch ID
Use
response.data["batch_id"] as parent_transaction to find child transactions, or with update_status to commit or void an inflight batch.Response
| Field | Type | Description |
|---|---|---|
batch_id | str | Identifier for the batch. Use as parent_transaction to find child transactions, or with update_status to commit or void an inflight batch. |
status | str | applied, inflight, or queued depending on the batch. |
transaction_count | number | Number of transactions when processed synchronously. |
message | str | Status message when run_async is True. |
Related docs
Bulk transactions guide
Batch processing, webhooks, and retrieving a batch.
Bulk transactions
HTTP request and response schema.