HYBRID-CHAINDEVELOPERS
DOCUMENTATIONv2
POST

Transfer compliance

Create transfer intent

/api/v2/transfer-compliance/transfers
AUTHENTICATIONBearer token · compliance:writeAUTHORITATIVE OWNERtransfer-compliance-serviceCONTRACT AUTHORITYGenerated Rust OpenAPISTATUSSource ready · production listed

PURPOSE + BUSINESS CONTEXT

Record an inbound or outbound regulated transfer intent without broadcasting value.

WHEN THIS CALL IS USEFUL

After credential readiness and counterparty discovery, create a DRAFT compliance intent before any regulated transfer is prepared or screened.

OUTCOME · Create or advance

What changes

Records an owner-scoped DRAFT, immutable policy snapshot and commitment, participant row, expiry, idempotency state, and first signed hash-chain event. It does not move value, authorize settlement, or broadcast a transaction.

WHY IT MATTERS

  • Gives people and agents a contract-backed way to advance transfer intent.
  • Supports policy-compliant transfer coordination while minimizing personal data and separating compliance evidence from value movement.

ISOLATION + AUTHORITY

Owner, workspace, counterparty, VASP, credential issuer, wallet controller, transfer, reviewer, disclosure recipient, purpose, and retention boundaries remain distinct. A credential, preparation, decision, manifest, envelope, disclosure, or Explorer record neither moves value nor substitutes for wallet authorization, sanctions policy, rail admission, settlement, or finality.

BEFORE YOU CALL

  • Authenticate at the documented boundary: bearer+scope.
  • Supply the required asset (body), amount (body) exactly as defined by the live contract.
  • Use one Idempotency-Key only for retries of the same byte-equivalent logical mutation.
  • Resolve the transfer parties, network, policy jurisdiction, required credential and proof classes, disclosure purpose, recipient, and retention basis.

WHAT TO DO NEXT

  • Re-read transfer intent using the canonical identifier returned by this operation.
  • Reconcile an ambiguous response with the same idempotency key before attempting another mutation.
  • Re-read the transfer and credential state, verify purpose and recipient binding, and disclose only the fields required by the current policy stage.

AGENT GUIDANCE

  • Use transfer intent only for the purpose and lifecycle stage described by this operation; do not treat it as authority for an adjacent action.
  • Supply the required asset (body), amount (body) exactly as defined by the live contract.
  • Keep counterparty registration, credential validity, wallet-control proof, transfer intent, data preparation, review decision, disclosure authorization, delivery, value movement, and settlement as separate facts.
  • After a timeout or conflict, read authoritative state before deciding whether an equivalent retry is safe.
MACHINE CONTRACT

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

Readable request and response reference

Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.

PARAMETERS

Headers, path, query, and body

NAMELOCATIONPRESENCETYPE / RULES / PURPOSE
AuthorizationheaderRequired

Bearer tokenCredential containing the compliance:write scope.EXAMPLEBearer hc_live_…

Idempotency-KeyheaderRequired

ASCII string · 1–128Caller-generated key reused for every retry of the same logical mutation.EXAMPLEtravel-rule-transfer-usdc-20260901-001

Content-TypeheaderRequired

application/jsonSigned mutations accept canonical JSON only.EXAMPLEapplication/json

Content-DigestheaderRequired

RFC 9530 SHA-256 digestDigest of the exact transmitted body bytes.EXAMPLEsha-256=:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=:

Signature-InputheaderRequired

RFC 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"

SignatureheaderRequired

Ed25519 HTTP Message SignatureSignature made by an active public key registered to the authenticated client.EXAMPLEsig1=:base64-signature:

directionbodyOptional

OUTBOUND | INBOUNDTransfer direction; defaults to OUTBOUND.EXAMPLEOUTBOUND

assetbodyRequired

identifier · 1–24Canonical asset code retained exactly with the intent.EXAMPLEUSDC

networkbodyOptional

identifier · 1–32Settlement network label; defaults to HYBRID. This field does not initiate a network operation.EXAMPLEhybrid-testnet

amountbodyRequired

positive decimal string · max 78Exact amount. Preserve as a string; scientific notation, signs, separators, and binary floating-point values are rejected.EXAMPLE12500.00

destination_referencebodyOptional

string · 1–256Public destination or account reference. Never place KYC cleartext, credentials, secrets, or private keys here.EXAMPLEbeneficiary-account-8842

counterparty_uuidbodyOptional

32-character hexadecimal identifierOwner-registered counterparty discovered from the collection route.EXAMPLE9fe24832bc314df791943cb47d959bb7

origin_jurisdictionbodyOptional

identifier · 1–64Origin jurisdiction; defaults to GLOBAL.EXAMPLEUS

destination_jurisdictionbodyOptional

identifier · 1–64Destination jurisdiction; defaults to GLOBAL.EXAMPLEGB

expires_in_minutesbodyOptional

integer · 5–1440Intent lifetime; defaults to 60 minutes.EXAMPLE60

policybodyOptional

objectOptional frozen policy snapshot: version (max 64), up to 100 unique required_claims identifiers, and a screening object. Defaults to version 2026-07-v1 with sanctions and counterparty screening enabled.EXAMPLE{"version":"2026-09-v1","required_claims":["originator.name","beneficiary.name"],"screening":{"sanctions":true,"counterparty":true}}

REQUEST

JSON body example

{
  "direction": "OUTBOUND",
  "asset": "USDC",
  "network": "hybrid-testnet",
  "amount": "12500.00",
  "destination_reference": "beneficiary-account-8842",
  "counterparty_uuid": "9fe24832bc314df791943cb47d959bb7",
  "origin_jurisdiction": "US",
  "destination_jurisdiction": "GB",
  "expires_in_minutes": 60,
  "policy": {
    "version": "2026-09-v1",
    "required_claims": [
      "originator.name",
      "beneficiary.name"
    ],
    "screening": {
      "sanctions": true,
      "counterparty": true
    }
  }
}

RESPONSES

Status and payload examples

201Canonical caller-owned DRAFT with a frozen policy snapshot, expiry, first signed event, and value_moved=false.Mutation completed · JSON RESPONSE+
{
  "transfer_id": "61d9d2f6d6ab4be6b1d11d6193236f71",
  "direction": "OUTBOUND",
  "asset": "USDC",
  "network": "hybrid-testnet",
  "amount": "12500.00",
  "counterparty_id": "9fe24832bc314df791943cb47d959bb7",
  "origin_jurisdiction": "US",
  "destination_jurisdiction": "GB",
  "state": "DRAFT",
  "policy": {
    "schema": "hybrid-transfer-policy-v1",
    "version": "2026-09-01",
    "required_claims": [
      "originator.name",
      "originator.account",
      "beneficiary.name"
    ]
  },
  "policy_commitment": "sha256:1111111111111111111111111111111111111111111111111111111111111111",
  "current_event_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
  "expires_at": "2026-09-02T18:00:00Z",
  "created_at": "2026-09-01T17:40:00Z",
  "updated_at": "2026-09-01T17:45:00Z",
  "proof_state": "INTACT",
  "participants": [],
  "events": [
    {
      "event_id": "event-review",
      "sequence": 4,
      "event_type": "REVIEW_REQUESTED",
      "from_state": "SCREENING",
      "to_state": "REVIEW",
      "evidence_commitments": {
        "screening_commitment": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "policy_commitment": "sha256:1111111111111111111111111111111111111111111111111111111111111111"
      },
      "value_moved": false,
      "previous_event_hash": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
      "event_hash": "sha256:2222222222222222222222222222222222222222222222222222222222222222",
      "signature_algorithm": "Ed25519",
      "signature_key_id": "transfer-evidence-2026-09",
      "signature": "base64url-signature",
      "created_at": "2026-09-01T17:45:00Z"
    }
  ],
  "policy_decisions": [],
  "reviews": [],
  "message_evidence": []
}
INTEGRATION DECISION
CALLER ACTION
Accept the returned representation or receipt, then re-read transfer intent using the canonical identifier returned by this operation.
RETRY SAFETY
Do not repeat a successful mutation merely to confirm it. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions.
STATE RECONCILIATION
Persist returned identifiers, versions, commitments, and receipts. Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
400The JSON body or required signed headers are malformed.Request must change · JSON RESPONSE+
{
  "code": "invalid_json",
  "message": "The JSON body or required signed headers are malformed."
}
INTEGRATION DECISIONinvalid_json
CALLER ACTION
Rebuild the request from the live OpenAPI operation and correct the rejected method, media type, header, parameter, or body field.
RETRY SAFETY
Do not retry the same invalid request. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions.
STATE RECONCILIATION
Compare the submitted values with the documented constraints before another call. Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.
401The bearer credential or RFC 9421 request signature is missing, expired, replayed, or invalid.Authentication required · JSON RESPONSE+
{
  "code": "invalid_credentials",
  "message": "The bearer credential or RFC 9421 request signature is missing, expired, replayed, or invalid."
}
INTEGRATION DECISIONinvalid_credentials
CALLER ACTION
Discard the rejected credential, complete the documented authentication or reassertion flow, and rebuild any request signature with fresh timestamps and nonces.
RETRY SAFETY
Retry only with a newly valid credential and fresh replay-protection values. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions.
STATE RECONCILIATION
Assume the outcome is unknown only when the connection failed after transmission; otherwise authentication failed before domain work. Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.
403The credential lacks the required compliance:write or compliance:review scope.Authority or policy denied · JSON RESPONSE+
{
  "code": "insufficient_scope",
  "message": "The credential lacks the required compliance:write or compliance:review scope."
}
INTEGRATION DECISIONinsufficient_scope
CALLER ACTION
Verify the exact scope, tenant or workspace membership, owner boundary, step-up purpose, feature policy, and resource eligibility. Never broaden authority automatically.
RETRY SAFETY
Do not retry until the missing authority or policy condition has been deliberately resolved with least privilege.
STATE RECONCILIATION
Confirm the caller and resource resolve to the same authority boundary for transfer-policy definitions, credentials, attestations, reviews, commitments, decisions, and revocations.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.
409The Idempotency-Key conflicts with another request or the requested lifecycle transition is forbidden.State reconciliation required · JSON RESPONSE+
{
  "code": "transfer_compliance_conflict",
  "message": "The Idempotency-Key conflicts with another request or the requested lifecycle transition is forbidden."
}
INTEGRATION DECISIONtransfer_compliance_conflict
CALLER ACTION
Stop the mutation sequence and fetch the latest authoritative resource, lifecycle state, version, ETag, reservation, or existing idempotency result.
RETRY SAFETY
Retry only after reconciling the conflict. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions.
STATE RECONCILIATION
Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.
422An identifier, field, commitment, public key, evidence object, or Idempotency-Key is outside the documented contract.Request must change · JSON RESPONSE+
{
  "code": "invalid_transfer_compliance_command",
  "message": "An identifier, field, commitment, public key, evidence object, or Idempotency-Key is outside the documented contract."
}
INTEGRATION DECISIONinvalid_transfer_compliance_command
CALLER ACTION
Rebuild the request from the live OpenAPI operation and correct the rejected method, media type, header, parameter, or body field.
RETRY SAFETY
Do not retry the same invalid request. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions.
STATE RECONCILIATION
Compare the submitted values with the documented constraints before another call. Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.
503The authoritative Core transfer-compliance command boundary is unavailable.Dependency unavailable or outcome uncertain · JSON RESPONSE+
{
  "code": "transfer_compliance_unavailable",
  "message": "The authoritative Core transfer-compliance command boundary is unavailable."
}
INTEGRATION DECISIONtransfer_compliance_unavailable
CALLER ACTION
Preserve the exact request and treat the outcome as uncertain until authoritative state proves whether it committed.
RETRY SAFETY
Reconcile before retrying. For one logical mutation, retain the same Idempotency-Key and byte-equivalent request. Never reuse that key for changed instructions. Use bounded backoff with jitter.
STATE RECONCILIATION
Refresh the policy version, subject and asset bindings, credential or attestation status, evidence commitment, decision, and revocation state.
ESCALATE WHEN
Escalate when minimized compliance evidence, issuer authority, policy version, jurisdiction, or decision lineage cannot be verified.

OPERATIONAL NOTES

Security and lifecycle guarantees

  • This records compliance intent only. It cannot reserve funds, sign, authorize, broadcast, settle, open a market, change market status, or move value.
  • The bearer-derived owner and the outer Idempotency-Key are bound into the signed private Core command. Reuse the key only for the exact same method, path, owner, and body.
  • Resolve counterparty_uuid immediately before creation and preserve amount as an exact decimal string. Unknown body fields fail closed.
  • The response is no-store. Continue from the returned stable transfer_id and server-owned lifecycle state; never manufacture an identifier or predict a transition.
DOCUMENTATION STATUS

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