KashierDevelopersKashier Developers

Get a customer's audit logs

curl -X GET "https://test-api.kashier.io/v2/customers/audit-logs/string"
{  "body": [    {      "_id": "string",      "customerId": "string",      "operation": "string",      "actionBy": {        "email": "string",        "fullName": "string",        "userId": "string"      },      "updatedFields": [        {}      ],      "updatedAt": "string"    }  ],  "message": "string"}

Retrieves the full audit trail for a customer — every create and edit, which fields changed, and which dashboard user made the change. This is the same data the profile returns under timeLine, retrievable on its own so you can page through a long trail.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

id*string

The customer's record id.

Query Parameters

page?integer

Current page number.

limit?integer

Number of records per page.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/customers/audit-logs/{id}