Anthropic::FallbackCreditTokenParam
Inherits JSON::Serializable < Struct < Value < Object
Object form of fallback_credit_token: the token plus a redemption mode.
Requires anthropic-beta: fallback-credit-2026-07-01. Without that header
the field accepts the bare string only. The bare string and the mode-less
object are equivalent (both select strict).
strict(default / bare-string behavior): a failing redemption is a 400 and the retry is not served.best_effort: the retry is served either way; outcome is reported onusage.fallback_credit.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
token
Source