Skip to main content
The Axis authorization engine runs up to 6 checks on every payment intent before it reaches a decision. Each check produces an AuditEvent record — whether it passed or failed. This gives you a granular, per-rule audit trail behind every transaction decision, so you always know not just that a payment was blocked, but which rule blocked it and why.

Endpoint

GET /api/audit-events

Retrieves audit events. Filter by transactionId to fetch all checks for a specific payment attempt. Query parameters

AuditEvent fields

Authorization rule names

The ruleEvaluated field contains one of the following values, corresponding to each step in the authorization engine:

Example: audit events for a blocked transaction

The following shows the audit events for a transaction that was blocked because the merchant was not on the allowlist. The first two rules passed; the third failed and halted further evaluation.

Use case: explaining a blocked transaction in your UI

When a transaction’s decision is "blocked", fetch its audit events to display a rule-by-rule breakdown to your users. This transforms an opaque block into a clear, actionable explanation.
This pattern renders a checklist of rules with green checkmarks for passing rules and a red cross with a human-readable explanation for the failing rule — giving developers and operators an instant, self-service explanation without needing to inspect server logs.
Audit events are immutable. Once recorded, they cannot be modified or deleted. This guarantees that the authorization trail for every payment attempt is a permanent, tamper-proof record — useful for compliance, debugging, and dispute resolution.