Transactions
Bulk transactions
Submit multiple transactions in one request with the TypeScript SDK.
POST
Bulk transactions
Use
blnk.Transactions.createBulk to create many transactions in one request (up to 10,000 per request).
Call the method
blnk.Transactions.createBulk
| Field | Type | Description |
|---|---|---|
transactions | object[] | Transaction objects to create; up to 10,000 per request. References must be unique within the batch. |
atomic | boolean | When true, every transaction succeeds or fails together. |
inflight | boolean | When true, transactions are created in INFLIGHT status for a later commit or void. |
run_async | boolean | When true, Core processes the batch in the background and returns status: 'queued'. |
skip_queue | boolean | 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 updateStatus to commit or void an inflight batch.Response
| Field | Type | Description |
|---|---|---|
batch_id | string | Identifier for the batch. Use as parent_transaction to find child transactions, or with updateStatus to commit or void an inflight batch. |
status | string | applied, inflight, or queued depending on the batch. |
transaction_count | number | Number of transactions when processed synchronously. |
message | string | 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.