Transactions
Update inflight
Commit or void an inflight transaction with the Go SDK.
PUT
Update inflight
Use
client.Transaction.Update to commit or void an inflight transaction or batch.
Call the method
- Commit
- Partial commit
- Void
- Synchronous update
client.Transaction.Update
| Field | Type | Description |
|---|---|---|
transactionID | string | Inflight transaction ID, or batch ID from CreateBulk. |
Status | InflightStatus | InflightStatusCommit to apply funds, or InflightStatusVoid to cancel and roll back. |
Amount | float64 | Partial commit amount. See Partial commits. |
PreciseAmount | *big.Int | Precision-applied partial commit amount. Takes precedence over Amount. |
SkipQueue | bool | When true, process synchronously instead of queuing. |
Confirm the outcome
Check
transaction.Status for COMMIT or VOID. Use transaction.ParentTransactionID to link the result back to the original inflight transaction.Related docs
Inflight transactions
Holds, commits, voids, and partial commits.
Update inflight
HTTP request and response schema.