Transactions
Bulk commit inflight
Commit multiple independently-created inflight transactions with the Go SDK.
POST
Bulk commit inflight
Use
client.Transaction.BulkCommitInflight to commit multiple inflight transactions.
Call the method
- Queued commit
- Synchronous commit
client.Transaction.BulkCommitInflight
| Field | Type | Description |
|---|---|---|
Transactions | []BulkCommitInflightItem | Up to 100 inflight transactions to commit. |
Transactions[].TransactionID | string | Inflight transaction ID to commit. |
Transactions[].Amount | float64 | Partial commit amount. Omit to commit the full remaining inflight amount. |
Transactions[].PreciseAmount | *big.Int | Precision-applied partial commit amount. Takes precedence over Amount. |
SkipQueue | bool | When true, process synchronously instead of queuing. |
Review per-item results
Check
result.Results for each transaction’s outcome. Failed items include a code and message without stopping the rest of the batch.Response
200 OK
| Field | Type | Description |
|---|---|---|
succeeded | number | Number committed successfully. |
failed | number | Number that failed. |
results | object[] | Per-transaction outcome in request order. |
results[].status | string | succeeded or failed. |
results[].code | string | Failure code (for example NOT_FOUND, ALREADY_VOIDED, INVALID_AMOUNT). |
results[].message | string | Human-readable failure message. |
Related docs
Bulk inflight updates
Per-item failure codes and when to use batch updates.
Bulk commit inflight
HTTP request and response schema.