API for decisions around payment and access disputes
Xavionis receives events about payment, retries, access, and support. The API returns a clear action for the situation: APPROVE, REVIEW, ESCALATE, or REJECT.
The API does not process payments, change access by itself, or replace your business logic. It adds a signal that your process can use.
Send an event - receive an action for the situation
Your system sends an event: payment, retry, access change, support request, or manual action. Xavionis updates the context and returns the current decision.
Example request
POST /decision
X-API-Key: your_api_key
Content-Type: application/json
{
"user_id": "user_1842",
"case_id": "case_1842",
"event_type": "retry_attempted",
"event_status": "succeeded",
"amount": 1900,
"currency": "USD",
"access_state": "inactive"
}
The API works with an event chain, not a single status line
A disputed situation often becomes clear only after several events are connected: what happened with payment, what happened with access, whether support was involved, and whether the chain repeated before.
Payment
Payment succeeded, failed, repeated, or recovered after retry.
Access
Access is active, inactive, not restored, or conflicting with payment.
Support
Customer asked, case repeated, or manual review appeared.
Decision
The API returns an action that your process can use.
Example response
{
"case_id": "case_1842",
"user_id": "user_1842",
"recommendation": "ESCALATE",
"suggested_action": "priority_support_review",
"review_priority": "high",
"case_severity": "critical",
"reason_codes": [
"paid_user_without_access",
"retry_success_access_not_restored",
"repeated_support_request"
],
"case_memory": {
"case_total_events": 4,
"access_conflicts": 1,
"support_requests": 2
}
}
The response should explain what to do next
The numeric value is not the main thing. The team needs to understand which action should happen and why the situation received this status.
| recommendation | main action for the situation |
| suggested_action | what should happen in the process |
| review_priority | how urgent the review is |
| reason_codes | why the API returned this decision |
| case_memory | what is already known about this event chain |
Four actions that can fit into your process
The situation can continue without manual intervention.
Standard review or confirmation is needed.
Urgent attention from support or an owner is required.
Do not treat the situation as normal.
What Xavionis API does not do
Boundaries matter. Xavionis should not interfere where your system or your team should make the final decision.
Do not start with full integration
First, test Xavionis on 20-50 real disputed situations. If the signal exists, the API can be connected for a clear working scope.