Skip to content
العربية English Start free trial
POST /scoring/payment

Payment Fraud Scoring

Send the transaction, customer and payment details and get back a 0–100 risk score with the rules that fired. The model is re-fitted nightly on your own approved, declined and chargeback outcomes.

0–100 score with approve, review or block
21 built-in rules plus your own
Learns from your chargeback labels
Try it free Read the docs
Available from the Free trial plan Median latency · 44 ms
200 · 44 ms
Request
curl -X POST "https://gurdx.cretip.com/api/scoring/payment" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data":{"action":"purchase","transaction_id":"ORD-9f21","transaction_amount":180,"transaction_currency":"SAR","customer_email":"sara@example.com","customer_ip":"94.96.12.40","customer_country":"SA"}}'
Responseapplication/json
{
"data": {
"score": 12,
"rulesChecked": 21,
"rulesDetected": 0,
"custom_rules_applied": { "total": 0 }
},
"status": "success",
"executionTime": 44
}
In plain wordsScore12DecisionApproveRules fired0
Rules21 built-in + yours
ModelRe-fitted nightly from your outcomes
Median latencyUnder 50 ms
Billing1 request per transaction

What comes back

Every field in the response and what it means, with the values from the sample above.

200 OK Approve 200 · 44 ms
Endpoint
POST https://gurdx.cretip.com/api/scoring/payment
score0–100 Risk score. Higher means more likely fraud; you choose the thresholds.
12
rulesarray The built-in rules that fired, each with its id and description.
—
rulesCheckedinteger How many built-in rules were evaluated.
21
rulesDetectedinteger How many of them fired.
0
custom_rules_appliedobject Your own rules that ran on this request.
total: 0

Where teams use it

The same call, inside the products it powers.

Frequently asked

Never. Only the BIN, the last four digits and a keyed one-way hash are kept, so repeated use of a card can still be detected.
Approve under 30, review 30 to 70, block above 70. Tune them after a week of outcomes; the Learning page suggests a threshold.
Send approved, declined and chargeback outcomes to the free feedback methods. Your model is re-fitted every night and adopted only when it beats the running one.
Other services
Get started

Start blocking fraud today

Create an account, add one API call and watch the first bad actor get stopped before checkout.

1,000 free requests Live in an afternoon Cancel anytime
Start free trial Talk to sales Free trial included. Upgrade when you grow.