Scoring Endpoints

Policy abuse

Stop promo, refund and return abuse. POST /v1/score/policy_abuse scores policy abuse from 0 to 1000 for $0.002 a call.

Keep your offers for the customers they were meant for. Promo codes, free trials, refunds and returns are abused by people who look like customers. Send the claim with the customer's history, and get a score before you honor it.

EndpointPriceGroup
POST /v1/score/policy_abuse$0.002 per callPolicy & Abuse

Request

Send what you know in one context object. claim is required; every other field is optional. A field can hold text, JSON or CSV.

curl https://api.finic.ai/v1/score/policy_abuse \
  --header "Authorization: Bearer $FINIC_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "context": {
      "claim": { "type": "refund", "reason": "item_not_received", "amount_usd": 240, "customer_message": "Package never showed up, I want my money back" },
      "order": { "id": "1150", "items": "2 x wireless headphones", "total_usd": 240, "tracking": { "status": "delivered", "signed_by": "resident", "delivered": "2026-11-12" } },
      "history": "order,total_usd,claim\n1041,89,item_not_received\n1077,310,item_not_received\n1102,45,\n1150,240,item_not_received",
      "customer": { "created": "2026-08-20", "linked_accounts": [{ "id": "cus_4471", "status": "closed_for_abuse" }, { "id": "cus_5120", "status": "closed_for_abuse" }] }
    }
  }'

Fields you send

Send the details, not only an ID: an account ID tells the score nothing, but the account's age, profile and history do. Fields that are not in this list are also read.

FieldDescription
claimRequiredThe refund, return or promotion being claimed, with the reason and the customer's own words.
orderOptionalA description of the order, not an order ID: the items, the total, and what tracking shows.
historyOptionalThe customer's earlier orders and claims, with the reason for each claim.
customerOptionalA description of the customer, not a customer ID: the account's age, its addresses, and any links to other accounts.
policyOptionalThe policy the claim falls under, written out.
other_contextOptionalAny other information, structured or unstructured, that is useful for scoring.

Response

score runs from 0, the lowest risk, to 1000, the highest. questions are the yes/no questions behind it, each with the probability that the answer is yes.

{
  "score": 902,
  "questions": [
    {
      "text": "Does the carrier show the order as delivered?",
      "probability": 0.96
    },
    {
      "text": "Does this customer ask for refunds far more often than is usual?",
      "probability": 0.93
    },
    {
      "text": "Do the earlier claims give the same reason?",
      "probability": 0.88
    },
    {
      "text": "Is the customer linked to accounts closed for abuse?",
      "probability": 0.85
    }
  ],
  "request_id": "req_01M4YF1068X8B4C458ENPD4JHT"
}

The questions behind the score

  1. Does the carrier show the order as delivered?
  2. Does this customer ask for refunds far more often than is usual?
  3. Do the earlier claims give the same reason?
  4. Is the customer linked to accounts closed for abuse?

Every organization gets the same questions for this score. To use your own questions, or to calibrate a score to your own outcomes, copy it to a custom scoring model in the Finic app (Starter plan and above).

Turn the score into an action

These thresholds are examples. Choose your own, and change them as you learn.

ScoreActionExample
Under 300ApproveHonor the claim.
300 to 599Step upAsk for proof.
600 to 849ReviewHold for an agent.
850 or moreBlockDecline the claim.

Errors

StatustypeWhen
400invalid_requestcontext is missing, is not a JSON object, or a required field (claim) is empty. param names the field.
401authentication_errorThe API key is missing or not valid.
402insufficient_creditThe organization has no credit. Add credit in the Finic app.
429rate_limitedToo many requests. Retry with exponential backoff.

See the API reference for every error and limit, and Pricing for what a call costs.

On this page