Evaluate one customer synchronously
Stores the customer's accounts, balances, and transactions (same as POST /batch), then runs enrichment and evaluation inline and returns the evaluation. The evaluation uses the customer's full stored history, not only the transactions in this request. If it does not finish within 55 seconds, returns 504 EVALUATION_TIMEOUT with a job_id while processing continues; retry with the same Idempotency-Key to get the result.
Request
- Base URLhttps://slopeai.slopepay.com
- URLhttps://slopeai.slopepay.com/api/v1/evaluate
- AuthHTTP bearer
Headers
Optional idempotency key for safely retrying an evaluation. Reusing the same key with an identical request body returns the original evaluation (or EVALUATION_IN_PROGRESS while it is still running) without re-running it; reusing it with a different body returns IDEMPOTENCY_MISMATCH (400). Keys expire after a TTL.
Request body
Example request
{
"customer": {
"customer_id": "cust_12345",
"first_name": "John",
"last_name": "Doe",
"business_name": "Acme Corp"
},
"accounts": [
{
"account_id": "acc_001",
"number_mask": "1234",
"name": "Checking"
}
],
"balances": [
{
"account_id": "acc_001",
"date": "2026-01-01T00:00:00Z",
"current": 100000,
"available": 95000,
"currency": "usd"
}
],
"transactions": [
{
"transaction_id": "txn_001",
"account_id": "acc_001",
"description": "ACME CORP PAYMENT",
"amount": -50000,
"date": "2026-01-15T00:00:00Z",
"authorized_date": "2026-01-14T00:00:00Z",
"currency": "usd"
}
]
}Response
Evaluation for the customer
Example response
{
"id": "eval_001",
"customer_id": "cust_12345",
"data_window_start": "2025-01-01",
"data_window_end": "2026-01-01",
"model_version": "v1.0",
"features_version": "v2.0",
"slope_score": {
"score": 750,
"version": "v1.0",
"reasons": [
{
"code": "LOW_BALANCE",
"description": "Average balance is below threshold"
}
]
},
"financials": [
{
"month": "2026-01"
}
],
"recurring_cashflows": [
{
"start_date": "2025-01-01",
"end_date": "2026-01-01"
}
],
"job_id": "550e8400-e29b-41d4-a716-446655440000"
}Changes
No recorded changes to this operation across all 1 revision of this API.