Stop paying for tokens that fraudsters use.
Free credits, stolen cards and leaked keys all end up as compute you pay for. Send the sign-up, top-up or jump in usage, and get a score before you grant the credits.
Fields you send
Send everything in one context object. A field can hold anything: a sentence, a JSON record from your database, or rows of CSV. Finic reads it the way a reviewer would, so send the details, not just an ID: an account ID tells the score nothing, but the account's age, profile and history do. Only the required fields are needed.
- contextObjectWhat you know about the request. A field inside it can be text, JSON or CSV.
- activityRequiredThe sign-up, top-up or usage you want scored: the events, with amounts and timestamps.
- accountOptionalA description of the account, not an account ID: its age, its email domain, its plan and what it has spent.
- payment_methodOptionalA description of the card or payment method: its type, where it was issued, and whether its details agree. Never the card number.
- usageOptionalHow the account's keys are used: the volume, the networks the requests come from, and the hours.
- deviceOptionalA description of the device: its fingerprint traits, and the other accounts seen on it.
- ipOptionalThe IP address with what your lookup says about it: country, city and network type. An address by itself says little.
- other_contextOptionalAny other information, structured or unstructured, that is useful for scoring.
curl https://api.finic.ai/v1/score/ai_token_fraud \-H "Authorization: Bearer $FINIC_API_KEY" \-H "Content-Type: application/json" \-d '{"context": {"activity": [{ "at": "2026-11-25T09:00:02Z", "type": "signup" },{"at": "2026-11-25T09:04:10Z","type": "credit_purchase","amount_usd": 2000},{"at": "2026-11-25T09:05:47Z","type": "api_keys_created","count": 12}],"account": { "email_domain_registered": "2026-11-24", "lifetime_spend_usd": 0 },"payment_method": {"brand": "mastercard","issuer_country": "BR","billing_zip_match": false},"usage": [{ "hour": "01:00", "requests": 18200, "distinct_ips": 58 },{ "hour": "02:00", "requests": 17900, "distinct_ips": 61 },{ "hour": "03:00", "requests": 18400, "distinct_ips": 60 }],"device": { "fingerprint": "fp_9c41e0", "accounts_with_free_credits": 9 }}}'
{"score": 941,"questions": [{"text": "Is a new account spending far more than new accounts usually do?","probability": 0.95},{"text": "Is the same device behind several accounts that claimed free credits?","probability": 0.94},{"text": "Do the card's details disagree with each other?","probability": 0.89},{"text": "Does the usage look like access being resold?","probability": 0.87}],"request_id": "req_01M4YF1068X8B4C458ENPD4JHT"}
The score runs from 0, the lowest risk, to 1000, the highest.
The questions behind the score
Each score is built from yes/no questions like these, that Finic answers with weighted probabilities.
- Is a new account spending far more than new accounts usually do?0.95
- Is the same device behind several accounts that claimed free credits?0.94
- Do the card's details disagree with each other?0.89
- Does the usage look like access being resold?0.87
Turn the score into an action
These thresholds are examples. Choose your own.