v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Audit Logs

Query Audit Logs

Query Audit Logs

Paginated query of audit log entries. Scoped by the authenticated user's merchant context. Supports filtering by:

  • merchantId — merchant identifier
  • subjectId — customer/subject identifier (exact)
  • actorId — the user who performed the action (exact)
  • subjectName — customer/subject name or email (partial, case-insensitive)
  • actorName — actor's name, email, or username (partial, case-insensitive)
  • merchantName — merchant program name (partial, case-insensitive)
  • action — one or more AuditAction values (e.g. pii_access, login_failed)
  • resourceType — one or more AuditResourceType values
  • from / to — ISO 8601 datetime range
  • page / limit — pagination (max 200 per page)

MERCHANT_ADMIN and MERCHANT_STAFF can query. If merchantId is omitted, defaults to the program ID from the authenticated session.

get/v2/giftcards/audit-logs

Query parameters

merchantIdstring nullable
subjectIdstring nullable
actorIdstring nullable
subjectNamestring nullable
actorNamestring nullable
merchantNamestring nullable
actionstring[] nullable
resourceTypestring[] nullable
fromstring date-time nullable
tostring date-time nullable
pageinteger
limitinteger

Headers

X-Eposn-Merchant-Tokenstring nullable

Response

Successful Response

totalinteger required
pageinteger required
pagesinteger required
limitinteger required