Skip to main content
Skip to Content
Cresora Commerce
Core Concepts

Audit Logging

What the partner audit trail records, how to read it, and what is retained.

Cresora keeps an audit trail of the actions taken on your partner account — by your portal users, by your API keys, and by Cresora itself — for compliance, debugging, and dispute resolution.

What the trail records

The unit is an action on an entity, not an HTTP request:

RecordedExamples
Payment actionsA transaction created, captured, voided, refunded — with the acting API key or portal user
Merchant lifecycleSubmitted, approved, suspended, gone live
Account actionsWebhook subscription changes
Cresora actions on your accountA merchant approval, an HPP completion, a retention sweep — the actor is redacted to an opaque cresora principal

Portal sign-ins and changes to API keys or team members are not shown in the partner trail, even with the entity type set to ApiKey: check keys under Settings → API keys and members under Settings → Team.

Raw HTTP request logs (every call's method, path and status) are internal platform logs — they are not part of the partner-facing trail. To correlate a specific failed request, note its error_id: it mirrors the trace id (new integrations read instance), and an entry's detail in the portal shows its Trace ID. The portal cannot search by trace id, so find the entry by the entity id of your own request; a request that wrote no entry has none to find.

Reading the trail

Partner Portal → Settings → Audit Log.

The audit log is a portal surface: it is read by a signed-in portal user who holds the audit-read permission (only a Partner admin holds it; the Audit Log entry does not appear for other users, and opening the page directly shows an access-denied message), and it is not callable with csk_ API keys — a static integration credential cannot browse the account's audit history. Filters available in the portal, AND-combined:

  • date range — calendar days in UTC, both end days included (the underlying from and to are RFC 3339 instants, from inclusive and to exclusive)
  • actor_type — partner_user, api_key, or cresora
  • entity_type, one option at a time as the portal lists them (for example Merchant or Webhook), and an entity-id search; a Transaction entry is found by searching its entity id

Results are cursor-paginated. The trail is scoped to your own partner account server-side — there is no way to read another tenant's.

Entry shape

{
  "id": "0190a1e6-7081-7c9d-8e0f-3a4b5c6d7e8f",
  "occurred_at": "2026-08-12T14:32:09Z",
  "trace_id": "0190a1e6-7081-7c9d-8e0f-3a4b5c6d7e90",
  "actor_type": "api_key",
  "actor_id": "apikey:0190a1e6-7081-7c9d-8e0f-3a4b5c6d7e80",
  "actor_label": null,
  "action": "transaction.parent.voided",
  "entity_type": "Transaction",
  "entity_id": "0190a1d5-6f70-7b8c-9d0e-2f3a4b5c6d7e",
  "old_value": { "state": "CAPTURED" },
  "new_value": { "state": "VOIDED", "type": "SALE" },
  "metadata": { "amount": "42.50", "currency": "USD", "void_transaction_id": "0190a1d5-6f70-7b8c-9d0e-2f3a4b5c6d71" }
}

Retention

The partner audit trail is not pruned — entries stay readable through the portal. No fixed retention horizon is published, and no key-authenticated export exists: the portal's Export CSV control is disabled (shown as coming soon), and the portal view (with its filters) is the access path. If your compliance program needs a guaranteed archival window or a bulk export, raise it with your Cresora contact so it can be planned rather than assumed.