Public API Surface (Redacted Subset)

Voice is the new interface. Kachyng converts probabilistic intent into deterministic, policy-governed execution across enterprise systems.

Intent in any interface. Execution you can govern.

Agents can speak naturally. Systems still require strict execution controls. Kachyng bridges that gap with identity, risk, policy, and payment orchestration in one governed runtime path.

Natural language intentDeterministic executionPolicy-governed outcomesSigned auditability

Internal policy grammar, full schemas, and deployment runbooks remain private.

This page documents public integration contracts only. AGX is one layer inside the broader Kachyng platform, not the full product footprint.

Deterministic Controls

Intent is probabilistic. Execution is policy-governed, challenge-aware, and auditable.

Processor Freedom

Stable API contract across routing, failover, and settlement lifecycle.

Enterprise Readiness

Idempotency, signed events, trace IDs, and webhook delivery semantics.

High-Level Screenflow

Public documentation exposes control model, not implementation mechanics. Detailed state transitions, branch conditions, and error loops are shared in private architecture reviews.

T0Intent Capture

Capture destination intent, origin context, and session return path.

T1Method Selection

Present prioritized sign-in methods by client type and device context.

T2Identity Proof

Complete challenge, callback, or verification sequence for chosen method.

T3Policy + Consent

Apply regional consent and execution policy before activating app session.

T4App Session Active

Establish session and route to destination with telemetry and risk hooks.

Client LanePublic Summary
Business / AdminWork-first auth posture with enterprise method ordering and policy checks.
Consumer (Mobile)Mobile-first sequence with challenge handling and resilient retry behavior.
Consumer (Desktop)Desktop-first flow with callback hardening and destination resolution.
IDXIdentity Exchange

Principal identity, delegation lifecycle, and revocation.

AGXAgent Gateway Exchange

Execution control plane turning probabilistic intent into deterministic commerce outcomes.

KYAKnow Your Agent

Runtime trust scoring, policy gating, and adaptive controls.

PRXProcessor Exchange

Processor-agnostic routing, MID portability, and settlement execution.

Additional orchestration, compliance automation, and vertical playbooks are available in private architecture briefings.

  • Orchestrates multiple enterprise systems, not a single API endpoint.
  • Executes deterministic contracts with policy gates, challenges, and idempotency.
  • Produces signed audit trails across channel, agent, identity, and payment events.
HeaderValueDescription
AuthorizationBearer <access_token>Service access token (short-lived).
X-Kachyng-Orgorg_••••Tenant organization context.
Idempotency-Keyuuid-v4Required for create/mutate endpoints.
X-Request-Idreq_••••Caller-generated trace correlation ID.
X-Signaturesha256=••••Optional request signing for high-trust lanes.

OAuth client onboarding, key rotation, and signing profiles are shared in private integration docs.

Identity (IDX)

Establish principal identity, delegate authority, and revoke in real time.

MethodPathPurpose
POST/v1/identities/principalsRegister or update a principal identity.
POST/v1/identities/delegationsCreate scoped, time-bound agent delegation.
GET/v1/identities/delegations/{id}Fetch delegation status and effective scope.
POST/v1/identities/verifyVerify principal-agent binding and attestation.
POST/v1/identities/revokeRevoke delegation authority globally.

Execution & Risk (AGX / KYA)

Authorize intent, score risk, apply policy, and emit auditable events.

MethodPathPurpose
POST/v1/execution/authorizePolicy decision point for transaction intent.
POST/v1/execution/challenge/respondSubmit step-up response for challenged intents.
POST/v1/execution/evaluate-riskRun contextual risk evaluation pre-execution.
POST/v1/execution/events/queryQuery signed execution/audit events.
POST/v1/execution/policies/simulateDry-run intent against policy set.

Payments (PRX)

Route and settle through processor-agnostic payment operations.

MethodPathPurpose
POST/v1/payments/routeResolve route plan across eligible processors/MIDs.
POST/v1/payments/authorizeAuthorize payment through selected route.
POST/v1/payments/captureCapture previously authorized funds.
POST/v1/payments/voidVoid authorization before capture.
POST/v1/payments/refundIssue governed refund with policy checks.
GET/v1/payments/{id}Retrieve payment state and reconciliation refs.
CodeHTTPMeaning
invalid_scope403Requested action exceeds delegated scope.
policy_denied403Policy evaluation denied execution.
challenge_required409Step-up verification required before execution.
risk_elevated409Risk threshold exceeded for current channel.
idempotency_conflict409Request conflicts with prior idempotent submission.
route_unavailable503No eligible route available under current constraints.
  1. 1Create or sync principal identity.
  2. 2Issue scoped agent delegation.
  3. 3Submit intent to /execution/authorize.
  4. 4If approved, resolve /payments/route then /payments/authorize.
  5. 5Capture or void based on fulfillment state.
  6. 6Consume signed execution/payment events via webhook.

Median partner integration cycle: 2-4 weeks depending on payment stack complexity.

POST /v1/execution/authorize
Headers:
  Authorization: Bearer <token>
  X-Kachyng-Org: org_••••
  Idempotency-Key: 2c7db4d4-••••

{
  "agent_id": "agt_••••",
  "principal_id": "org_••••",
  "intent": {
    "amount": 1240.00,
    "currency": "USD",
    "merchant_ref": "mrc_••••",
    "channel": "chatpay"
  },
  "context": {
    "session_id": "sess_••••",
    "device_trust": "verified",
    "risk_signals": ["velocity_ok", "geo_ok"]
  }
}

200 OK
{
  "decision": "approved|challenge|deny",
  "policy_ref": "pol_••••",
  "execution_token": "exec_••••",
  "route_hint": "prx_••••",
  "audit_ref": "aud_••••"
}

Delivery model: at-least-once, signed payloads, replay-safe IDs, exponential retry.

event: execution.decision
id: evt_••••
data: {
  "org_id": "org_••••",
  "decision": "approved",
  "execution_ref": "exec_••••",
  "timestamp": "2026-03-05T22:00:00Z"
}

Full webhook catalog, signature validation recipes, and retry contract available in private docs.