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 (up to blnkgo.MaxBulkCreateItems, 10,000 per request).
1
Call the method
- Create batch
- Dry run
client.Transaction.CreateBulk
2
Save the batch ID
On a posted batch, use
result.BatchID as parent transaction to find child transactions.A dry run has no BatchID. Check WouldApply and Results.3
Response
- Create batch
- Dry run
The Go SDK validates batch size before sending the request. If
len(Transactions) exceeds blnkgo.MaxBulkCreateItems (10,000), CreateBulk returns a client-side validation error without calling the API.