# PartnerSecurityEventDeliveryDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

One partner security event and how its delivery to the partner went.

## Fields
- `eventId` (string(uuid)): The event id the partner receives, and de-duplicates on.
- `clientId` (string): The partner's client id. (nullable)
- `eventType` (string): The event type, as sent to the partner, for example `UserCreated`. An open set: a type may be added at any time, and no type is ever renamed. (nullable)
- `occurredAt` (string(date-time)): When the event happened, in UTC.
- `actorUserId` (string(uuid)): The WinkPG user who made the change, when a person did. (nullable)
- `subjectUserId` (string(uuid)): The WinkPG user the event is about, when it is about one. (nullable)
- `merchantId` (string(uuid)): The merchant the event concerns, when it concerns one. (nullable)
- `callerAddress` (string): The IP address of the caller that made the change, when there was one. (nullable)
- `changedSettings` (array<string>): The names of the settings that changed, never their values. (nullable)
- `apiKeyId` (string(uuid)): The API key the event is about, by its ID, on an API key event. Null otherwise. (nullable)
- `status` (string): Where the delivery stands: `Pending`, `Delivered`, `Retrying` or `Undelivered`. An undelivered event stays in the security log, and Wink staff are alerted to contact the partner. (nullable)
- `attemptCount` (integer(int32)): Attempts made.
- `lastAttemptAt` (string(date-time)): When the last attempt was made. (nullable)
- `nextAttemptAt` (string(date-time)): When the next attempt is due, while the delivery is retrying. (nullable)
- `deliveredAt` (string(date-time)): When the partner's address accepted the event. (nullable)
- `lastStatusCode` (integer(int32)): The HTTP status the partner's address answered on the last attempt, when it answered. (nullable)
- `lastFailure` (string): Why the last attempt failed, or why the event will not be delivered: `NoAddress`, `AddressRefused`, `SigningKeyMissing`, `ConnectionFailed`, `Timeout`, `HttpStatus` or `RegistrationUnavailable`. An open set. Null when nothing failed. (nullable)
- `endpoint` (string): The partner's address the last attempt went to. (nullable)

## See also

- [All documentation](https://docs.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
