Type alias AuthorizeModelAttemptResult
AuthorizeModelAttemptResult: { status: "authorized" | "existing"; attempt: CreditAttemptRow; remainingAttempts: number; maxQuantities: Readonly<Record<string, number>>; } | { status: "refused"; reason: "not_found" | "hold_closed" | "attempts_exhausted" | "usage_exhausted" | "unknown_rate"; } Type declaration
status: "authorized" | "existing"
remainingAttempts: number
maxQuantities: Readonly<Record<string, number>>
Type declaration
status: "refused"
reason: "not_found" | "hold_closed" | "attempts_exhausted" | "usage_exhausted" | "unknown_rate"
An authorization's answer.
maxQuantitiesis the most of each component the attempt may use.