Skip to content

FailedCall

FailedCall = object

A call that reached the tenant and was refused, with EdgeKit’s own code.

code is the versioned contract — switch on it. message is EdgeKit copy and may change without a version bump; show it or ignore it, never branch on it.

code: string


optional details?: Record<string, string>

Values a refusal hands back for the page to act on. Today one code has them: three_d_secure_required carries threeDSecureActionTokenId. String values only. Read details only after checking code; branching on its presence alone can run a 3-D Secure challenge for a declined card.


httpStatus: number

The HTTP status, for logging. Never the thing to branch on.


message: string


optional retryAfter?: number

From Retry-After on a 429. Surfaced, never obeyed.


status: "failed"