Intelligence
Renewal Check
Check if a credit card is worth renewing.
fast mode: Deterministic renewal verdict using calculate_renewal_verdict(). Returns RENEW, DOWNGRADE, or CANCEL_AND_REPLACE verdict with downgrade and replacement options.
verbose mode: Same deterministic verdict plus AI-generated detailed analysis, retention tips, and timing guidance (uses asyncio.to_thread for Gemini call).
post/api/v1/intelligence/renewal
Request
- Base URL: https://kokofinance.net (the document declares no server; this is the origin it was published from)
- URL: https://kokofinance.net/api/v1/intelligence/renewal
- Auth: API key in header X-API-Key
Query parameters
mode'fast' | 'verbose'
Response mode for intelligence endpoints.
fast=deterministic <100ms, verbose=AI narrative 3-10s
Headers
authorizationstring nullable
Request body
Example request
{
"card_name": "Chase Sapphire Preferred",
"params": {
"primary_goal": "travel",
"spending": {
"dining": 400,
"groceries": 500,
"travel": 300
}
}
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.