Scoring Endpoints

Payments and orders

Approve good orders, stop fraud and chargebacks. POST /v1/score/payment scores payments and orders from 0 to 1000 for $0.005 a call.

Approve more good orders. Pay for fewer chargebacks. Score every order and payment before you fulfil it. Send the order, the customer and the addresses as you have them, and get a risk score in the same call.

EndpointPriceGroup
POST /v1/score/payment$0.005 per callPayments

Request

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

curl https://api.finic.ai/v1/score/payment \
  --header "Authorization: Bearer $FINIC_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "context": {
      "order": { "id": "ord_88213", "items": [{ "sku": "IPH16P-256", "name": "iPhone 16 Pro", "quantity": 3, "unit_price_usd": 1199 }], "total_usd": 3597, "shipping_method": "express" },
      "customer": { "created": "2026-11-23", "previous_orders": 0, "email_verified": false },
      "payment_method": { "brand": "visa", "funding": "credit", "issuer_country": "CA", "first_used": "2026-11-25" },
      "billing_address": { "line1": "22 Maple St", "city": "Toronto", "region": "ON", "country": "CA" },
      "shipping_address": { "line1": "1396 NW 82nd Ave", "line2": "Unit 4411", "city": "Doral", "region": "FL", "country": "US" },
      "other_context": "Customer asked support to change the shipping address right after checkout"
    }
  }'

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
orderRequiredWhat was bought: the items, quantities, total and delivery method.
customerOptionalA description of the customer, not a customer ID: the account's age, past orders, and the contact details on file.
payment_methodOptionalA description of the card or payment method: its type, where it was issued, and how long this customer has used it. Never the card number.
billing_addressOptionalThe billing address, as written.
shipping_addressOptionalThe shipping address, as written.
ipOptionalThe IP address with what your lookup says about it: country, city and network type. An address by itself says little.
deviceOptionalA description of the device: its type, its operating system, and whether this customer has used it before.
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": 871,
  "questions": [
    {
      "text": "Does the shipping address look like a reshipper or freight forwarder?",
      "probability": 0.94
    },
    {
      "text": "Is the order unusually large for a new account?",
      "probability": 0.9
    },
    {
      "text": "Do the card and the shipping address point to different countries?",
      "probability": 0.88
    },
    {
      "text": "Are the items easy to resell?",
      "probability": 0.83
    }
  ],
  "request_id": "req_01M4YF1068X8B4C458ENPD4JHT"
}

The questions behind the score

  1. Does the shipping address look like a reshipper or freight forwarder?
  2. Is the order unusually large for a new account?
  3. Do the card and the shipping address point to different countries?
  4. Are the items easy to resell?

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 300ApproveFulfil the order.
300 to 599Step upAsk for 3-D Secure.
600 to 849ReviewHold fulfilment for an analyst.
850 or moreBlockCancel and refund.

Errors

StatustypeWhen
400invalid_requestcontext is missing, is not a JSON object, or a required field (order) 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