Cancellation
Cancel a pending or recent transaction before settlement. Requires the refunds:write scope.
POST
/api/v1/{system}/cancelTransaction🔒 refunds:writeCancel a transaction before settlement. Uses the same scope as refunds.
Auth: Bearer JWT
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| referenceId | string | Yes | Transaction reference to cancel |
| branchId | long | Yes | Branch user ID |
| configId | long | Yes | Terminal config ID |
⚠️ Live testing disabled for this endpoint — it modifies data. Use curl or the SDK against your sandbox.