Enterprise & Finance Risk API · v1 · REST & HMAC-SHA256 Webhooks
Real-Time Resolution & Chargeback Risk API for Banks, PSPs & Enterprise ERPs
Query verified 48-hour resolution rates and Visa 13.1 / Mastercard 4853 chargeback risk scores in real time, and synchronize corporate dispute cases two-way with SAP, Zendesk, Salesforce, Shopify, or custom ERPs.
czm_ent_live_...)
X-Uzlasio-Signature)
Three Enterprise Integration Layers
1. Bank & PSP Merchant Chargeback Risk Score API
0..100 underwriting score computed from verified 48h resolution rates, unanswered 48h+ transparency records, reopened unfulfilled promises, and corporate domain/tax ID verification.
2. Two-Way ERP / CRM Case Synchronization
Pull brand disputes into your internal desk (GET /cases), post official responses directly from SAP or Zendesk (POST /respond), and report refund/replacement outcomes (POST /outcome).
3. Cryptographic Auth & Live Subscription Isolation
Raw API keys are never stored in the database (only SHA-256 digests). If a key is revoked or Enterprise subscription lapses, API access is blocked instantaneously.
Base URL: https://uzlasio.com/api/v1/enterprise
Every request requires Authorization: Bearer czm_ent_live_... (or X-API-Key). All responses use UTF-8 JSON.
| Method | Endpoint | Scope | Description |
|---|---|---|---|
| GET | /api/v1/enterprise/risk/brands | risk:read | List verified merchants with real-time 48h compliance and Chargeback Risk Scores (0..100). |
| GET | /api/v1/enterprise/risk/brands/:slug | risk:read |
Detailed merchant risk report (LOW..CRITICAL), underwriting guidance, and resolution metrics.
|
| GET | /api/v1/enterprise/cases | cases:read |
List active and closed dispute cases assigned to your verified brand. Pagination: limit (1..100, default 25) and cursor set to the previous response's next_cursor; filter with status. The response returns next_cursor and has_more.
|
| GET | /api/v1/enterprise/cases/:id | cases:read | Retrieve full ERP snapshot, version, and SLA status of a single case. |
| POST | /api/v1/enterprise/cases/:id/respond | cases:write |
Post an official corporate response from your ERP/CRM (auto-accepts INVITED cases).
|
| POST | /api/v1/enterprise/cases/:id/outcome | cases:write |
Report the resolution outcome. Body: outcome_type (FULL_REFUND, PARTIAL_REFUND, EXCHANGE_COMPLETED / REPLACEMENT, REPAIR_COMPLETED / REPAIR, REJECTED), optional note and request_id (a retry with the same id returns the same result).
|
Example 1 · Query Merchant Chargeback Risk Score (Bank / PSP / Marketplace)
HTTP 200 JSONcurl -sS https://uzlasio.com/api/v1/enterprise/risk/brands/ornek-elektronik \
-H "Authorization: Bearer czm_ent_live_YOUR_SECRET_KEY"
# Response (200 OK):
{
"brand_slug": "ornek-elektronik",
"display_name": "Örnek Elektronik A.Ş.",
"vkn_verified": true,
"domain_verified": true,
"chargeback_risk_score": 11,
"risk_tier": "LOW",
"metrics": {
"shared_cases": 42,
"verified_resolved_cases": 40,
"verified_resolution_rate_pct": 95,
"sanctioned_48h_breach_cases": 0,
"reopened_cases": 0,
"median_resolution_seconds": 14400
}
}
Example 2 · Verify Outbound ERP Webhook Signature (X-Uzlasio-Signature)
HMAC-SHA256
Uzlasio signs the raw JSON body of every outgoing event as t=<unix_ts>,v1=<hex_hmac_sha256>. Events: case.invited, case.message_received, case.evidence_shared, case.outcome_reported, case.outcome_confirmed, case.outcome_disputed, case.reopened, case.withdrawn, case.sla_warning, case.escalated and webhook.ping for connection tests. The event name is in the X-Uzlasio-Event header:
// Headers:
// X-Uzlasio-Event: case.outcome_confirmed
// X-Uzlasio-Signature: t=1762857600,v1=8f4a9c...
const crypto = require("crypto");
function verifyUzlasioSignature(header, rawRequestBody, secret) {
const parts = Object.fromEntries(
String(header || "").split(",").map((p) => p.trim().split("="))
);
const timestamp = Number(parts.t);
// Replay protection: accept signatures at most 5 minutes old.
if (!Number.isFinite(timestamp) || Math.abs(Date.now() / 1000 - timestamp) > 300) {
return false;
}
const expected = crypto
.createHmac("sha256", secret)
.update(`${parts.t}.${rawRequestBody}`, "utf8")
.digest();
const received = Buffer.from(String(parts.v1 || ""), "hex");
// timingSafeEqual throws on different lengths; compare lengths first.
return received.length === expected.length && crypto.timingSafeEqual(expected, received);
}
Chargeback Risk Score (0..100) Underwriting Tiers
High 48h settlement rate, zero active breaches, verified corporate domain & tax ID. Eligible for standard POS settlement windows.
Normal resolution metrics or newly onboarded merchant. Standard rolling reserve policy recommended.
Multiple 48h shield breaches or delayed settlements. Extended settlement hold or collateral recommended.
Persistent unanswered 48h breaches and active Visa 13.1 / MC 4853 escalations. Manual underwriting review required.
Standard HTTP Status & Error Codes
The error body is always the same: code, message, request_id, retryable and, on version conflicts, current_version.
| HTTP 401 | UNAUTHENTICATED |
Missing Authorization: Bearer czm_ent_live_... header.
|
| HTTP 401 | INVALID_API_KEY | Unknown or malformed Enterprise API key. |
| HTTP 401 | REVOKED_API_KEY | API key was revoked from the Business Panel. |
| HTTP 403 | ENTERPRISE_SUBSCRIPTION_INACTIVE | Key is valid, but the company's paid Enterprise subscription is inactive. |
| HTTP 403 | INSUFFICIENT_SCOPE |
The key lacks the scope required by this endpoint (e.g. cases:write).
|
| HTTP 403 | FORBIDDEN | The case does not belong to your brand or you have no business representative access to it. |
| HTTP 404 | BRAND_NOT_FOUND |
No verified merchant or transparency record found for the given slug.
|
| HTTP 404 | NOT_FOUND | The case was not found or you have no access (the existence of inaccessible cases is not disclosed). |
| HTTP 409 | VERSION_CONFLICT |
The case changed while you were writing. Read it again and resend with current_version.
|
| HTTP 409 | IDEMPOTENCY_CONFLICT |
The same request_id / Idempotency-Key was sent with different content. Resending identical content returns the first result.
|
| HTTP 409 | RULE_CONFIRMATION_REQUIRED |
One of your firm rules requires extra approval (e.g. an amount threshold); the reason is in message. Approval is given in the Business Panel.
|
| HTTP 422 | RULE_BLOCKED |
One of your firm rules blocks this text (blocked term); the reason is in message. Change the text and resend.
|
| HTTP 422 | VALIDATION_FAILED |
Invalid parameter: limit must be 1..100, cursor must be a UUID, body cannot be empty, or outcome_type is not supported.
|
| HTTP 429 | RATE_LIMITED | Rate limit of 300 requests/minute exceeded. |
| HTTP 503 | UNAVAILABLE |
The resolution engine is temporarily unavailable; retryable: true is returned, retry with the same request_id.
|
Connect Your Enterprise Stack Today
The moment your Enterprise subscription is activated via PayTR 3D Secure or Proforma Wire Transfer, API key generation and HMAC webhook configuration unlock in your Business Panel.