v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Audit Logs

Export Audit Logs

Export Audit Logs (async bulk export)

Triggers a background task to export audit log entries matching the given filters as CSV or JSON. Only MERCHANT_ADMIN can trigger exports.

Returns immediately with a taskId. Poll GET /giftcards/audit-logs/export/{taskId} to check status and get the download URL.

post/v2/giftcards/audit-logs/export

Headers

X-Eposn-Merchant-Tokenstring nullable

Request body

formatstring
merchantIdstring nullable
subjectIdstring nullable
actorIdstring nullable
subjectNamestring nullable
actorNamestring nullable
merchantNamestring nullable
actionsstring[] nullable
resourceTypesstring[] nullable
fromDatestring date-time nullable
toDatestring date-time nullable

Response

Successful Response

taskIdstring required
statusstring required
downloadUrlstring nullable
errorstring nullable