🚦 Intent Statuses
Understand the lifecycle of an AgentTech Intent.
Lifecycle Flow
┌──────────────────┐
│ AWAITING_PAYMENT │
└────────┬─────────┘
│
┌────────────┼────────────┐
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌─────────────────────┐
│ EXPIRED │ │ PENDING │ │ VERIFICATION_FAILED │
└──────────┘ └────┬─────┘ └─────────────────────┘
│
▼
┌────────────────┐
│ SOURCE_SETTLED │
└───────┬────────┘
│
▼
┌───────────────┐
│ BASE_SETTLING │
└───────┬───────┘
│
┌────────┼────────┐
▼ ▼
┌──────────────┐ ┌──────────────────────┐
│ BASE_SETTLED │ │ PARTIAL_SETTLEMENT │
└──────────────┘ └──────────────────────┘
Status Reference
SDK Constants
Use typed constants instead of raw strings when checking intent status.
TypeScript / JavaScript
import { IntentStatus } from '@cross402/usdc';
Go
Terminal States
The following states are terminal — the intent will not transition to any other state:
BASE_SETTLED— SuccessEXPIRED— TimeoutVERIFICATION_FAILED— Verification errorPARTIAL_SETTLEMENT— Partial settlement