OUTCOME · Create or advance
What changes
Atomically changes an eligible intent to CANCELLED, releases its collateral reservation if present, and appends evidence; it never reverses a broadcast transaction or changes another balance.
v2Funding & settlement
/api/v2/funding/settlement-intents/{intent_uuid}/cancellationsPURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Use to cancel an owner-scoped intent only while it is still pre-broadcast and therefore recoverable without contradicting an external transaction.
OUTCOME · Create or advance
Atomically changes an eligible intent to CANCELLED, releases its collateral reservation if present, and appends evidence; it never reverses a broadcast transaction or changes another balance.
WHY IT MATTERS
ISOLATION + AUTHORITY
Owner, workspace, network, instrument, wallet, rail, custody, collateral, compliance, and settlement authorities remain separate. A prepared route, observed deposit, accepted intent, completed consent, reservation, broadcast, or Explorer record does not itself prove final settlement or authorize value movement.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
The exact deployed parameters, schemas, responses, security requirements, and Hybrid-Chain agent metadata are authoritative at this operation's production OpenAPI JSON Pointer. The readable tables below add integration guidance; the deployed OpenAPI controls if guidance and the machine contract ever differ.
Open the authoritative production contract ↗EXTENDED INTEGRATION GUIDANCE
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing the funding:write scope.EXAMPLEBearer hc_live_…
Idempotency-KeyheaderRequiredASCII string · 1–128Caller-generated key reused for every retry of the same logical mutation.EXAMPLElaunch-treasury-v1-001
Content-TypeheaderRequiredapplication/jsonSigned mutations accept canonical JSON only.EXAMPLEapplication/json
Content-DigestheaderRequiredRFC 9530 SHA-256 digestDigest of the exact transmitted body bytes.EXAMPLEsha-256=:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=:
Signature-InputheaderRequiredRFC 9421 signature parametersCovers @method, @path, content-digest, content-type, and idempotency-key; includes keyid, nonce, created, and expires.EXAMPLEsig1=("@method" "@path" "content-digest" "content-type" "idempotency-key");created=1786582800;expires=1786583100;nonce="01J…";keyid="machine-prod"
SignatureheaderRequiredEd25519 HTTP Message SignatureSignature made by an active public key registered to the authenticated client.EXAMPLEsig1=:base64-signature:
intent_uuidpathRequiredidentifierOwner-scoped pre-broadcast intent to cancel.EXAMPLEintent-01
network_idbodyRequiredhybrid-devnet | hybrid-testnet | hybrid-mainnetMust match the authenticated owner and intent.EXAMPLEhybrid-testnet
expected_request_commitmentbodyRequired64-character hexadecimal SHA-256 digestLatest intent commitment; prevents cancellation after stale or substituted state.EXAMPLE3333333333333333333333333333333333333333333333333333333333333333
reason_codebodyRequiredOWNER_CANCELLEDOnly customer-controlled cancellation reason; machine and administrative failures use separate authorities.EXAMPLEOWNER_CANCELLED
REQUEST
{
"network_id": "hybrid-testnet",
"expected_request_commitment": "3333333333333333333333333333333333333333333333333333333333333333",
"reason_code": "OWNER_CANCELLED"
}RESPONSES
{
"intent_uuid": "intent-01",
"state": "CANCELLED",
"failure_code": "OWNER_CANCELLED",
"collateral_released": true,
"collateral_release_entry_hash": "4444444444444444444444444444444444444444444444444444444444444444",
"funds_moved": false,
"idempotent": false
}{
"code": "invalid_settlement_cancellation",
"message": "The network, expected commitment, reason, signed headers, or idempotency key is malformed."
}invalid_settlement_cancellation{
"code": "invalid_credentials",
"message": "The bearer credential is invalid."
}invalid_credentials{
"code": "settlement_cancellation_forbidden",
"message": "The principal lacks funding:write or does not own the intent."
}settlement_cancellation_forbidden{
"code": "settlement_intent_not_found",
"message": "The intent does not exist in the owner and network boundary."
}settlement_intent_not_found{
"code": "settlement_cancellation_conflict",
"message": "The commitment is stale, the intent entered signing, broadcast, or terminal state, or idempotency conflicts."
}settlement_cancellation_conflict{
"code": "settlement_cancellation_rejected",
"message": "Lifecycle or collateral-release policy rejected cancellation."
}settlement_cancellation_rejected{
"code": "settlement_cancellation_unavailable",
"message": "Funding or collateral ownership is unavailable; intent and collateral remain unchanged."
}settlement_cancellation_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-09-11T06:35:11.572Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation ↗Return to the V2 directory ↗