Transactions
Bulk transactions
Submit multiple transactions in one request with the Go SDK.
POST
Bulk transactions
Use
client.Transaction.CreateBulk to create many transactions in one request.
Call the method
client.Transaction.CreateBulk
| Field | Type | Description |
|---|---|---|
Transactions | []CreateTransactionRequest | 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. |
RunAsync | bool | When true, Core processes the batch in the background and returns status: "queued". |
SkipQueue | bool | When true, transactions bypass the queue and process synchronously. |
Save the batch ID
Use
result.BatchID as ParentTransactionID to find child transactions, or with Update 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 Update 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 RunAsync is true. |
Related docs
Bulk transactions guide
Batch processing, webhooks, and retrieving a batch.
Bulk transactions
HTTP request and response schema.