InputPOST /api/v1/x402/await
{
"idempotency_key": "build-42-await",
"ttl_ms": 3600000,
"condition": {
"kind": "webhook",
"event_type": "build.completed"
},
"resume_envelope": "ciphertext:v1:client-owned-opaque-envelope",
"delivery": {
"mode": "claim"
}
}
Delivered resultapplication/json
{
"schema": "delx/await/v1",
"promise_id": "123e4567-e89b-12d3-a456-426614174000",
"state": "waiting",
"created_at": "2026-08-04T16:00:00Z",
"expires_at": "2026-08-04T17:00:00Z",
"condition": {
"kind": "webhook",
"event_type": "build.completed"
},
"delivery": {
"mode": "claim",
"state": "claim_only",
"attempts": 0,
"event_id": null
},
"resume_envelope_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"capability": "opaque-capability-returned-on-create",
"receipt": {
"schema": "delx/await-receipt/v1",
"algorithm": "Ed25519"
}
}