Skip to main content

Audit Log Fields

Every audit log entry contains the following fields:

List Audit Logs

Retrieve platform-wide audit logs. Requires admin authentication.
integer
default:"1"
Page number for pagination.
integer
default:"20"
Items per page (max 100).
string
Filter by action type (e.g., merchant.approve, settings.update).
string
Filter by resource type (e.g., merchant, withdrawal, settings).
string
Filter by the actor who performed the action.
string
Filter by actor type. One of admin, merchant, system.
string
Filter logs from this date (ISO 8601).
string
Filter logs up to this date (ISO 8601).

Example Request

Example Response (200)


Get Audit Log Detail

string
required
The unique audit log identifier.

Example Request

Example Response (200)


Merchant-Scoped Audit Logs

Retrieve audit logs scoped to the authenticated merchant. This endpoint is available to merchants (not admin-only) and returns only logs related to the merchant’s own resources.
integer
default:"1"
Page number for pagination.
integer
default:"20"
Items per page (max 100).
string
Filter by action type.
string
Filter by resource type.

Example Request

Example Response (200)

Error Responses

404 Not Found