---
title: "Get event trail for payment"
method: GET
path: "/audit/payment/{id}"
tags: ["Auditing"]
---

# Get event trail for payment

`GET /audit/payment/{id}`

Gets an audit trail of a payment's state changes on a local RippleNet instance.

## Path parameters

- `id` string, uuid, required

## Response `200`

Payment state change event trail.

- EventTrailEvent[]
  - `featureName` string — Feature name associated with the entityId. Possible values are `payment`.
  - `eventDetail` string — Detailed description of the event.
  - `entityId` string, uuid — UUID representing an event.
  - `messageAction` 'DS_STARTED' | 'DS_COMPLETED' | 'US_STARTED' | 'US_COMPLETED' | 'STATE_CHANGE' | 'FAILURE' — String representation of the action being taken, where `DS` = downstream and `US` = upstream in the messaging processing pipeline.
  - `createdAt` string — Timestamp of the audit event.
  - `messageSender` string, RippleNetAddress — The RippleNetAddress of the originator of the message that triggered the creation of this event.
  - `messageType` string — The type of message that was being processed that triggered the creation of this event.

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/ripple/apis/ripplenet-server-api.md) · [All operations](https://skmtc.net/ripple/apis/ripplenet-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ripple/ripplenet-server-api/versions/7843f07ca150/schema)
