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.
Properties
Section titled “Properties”code:
string
details?
Section titled “details?”
optionaldetails?: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
Section titled “httpStatus”httpStatus:
number
The HTTP status, for logging. Never the thing to branch on.
message
Section titled “message”message:
string
retryAfter?
Section titled “retryAfter?”
optionalretryAfter?:number
From Retry-After on a 429. Surfaced, never obeyed.
status
Section titled “status”status:
"failed"