# ChargeEvent

Audit log entry for a charge state change (creation, status update, refund, etc.).

```
type ChargeEvent {

  id: ID!

  type: String!

  accountId: ID!

  livemode: Boolean

  objectId: ID!

  objectType: String!

  object: ChargeEventObject!

  createdAt: AWSTimestamp

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`ChargeEvent.id`](#id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#id "Direct link to id")

Event identifier.

#### [`ChargeEvent.type`](#type) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#type "Direct link to type")

Event type, e.g. `payment.created`, `payment.succeeded`, `payment.refunded`.

#### [`ChargeEvent.accountId`](#account-id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#account-id "Direct link to account-id")

Merchant account that owns the event.

#### [`ChargeEvent.livemode`](#livemode) ● [`Boolean`](https://docs.monei.com/apis/graphql/types/scalars/boolean/.md) scalar[​](#livemode "Direct link to livemode")

`true` if the event came from a live charge, `false` for test mode.

#### [`ChargeEvent.objectId`](#object-id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#object-id "Direct link to object-id")

Identifier of the related object. Currently always a charge id.

#### [`ChargeEvent.objectType`](#object-type) ● [`String!`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) non-null scalar[​](#object-type "Direct link to object-type")

Type of the related object. Currently always `charge`.

#### [`ChargeEvent.object`](#object) ● [`ChargeEventObject!`](https://docs.monei.com/apis/graphql/types/objects/charge-event-object/.md) non-null object[​](#object "Direct link to object")

Snapshot of the charge at the time the event was emitted.

#### [`ChargeEvent.createdAt`](#created-at) ● [`AWSTimestamp`](https://docs.monei.com/apis/graphql/types/scalars/awstimestamp/.md) scalar[​](#created-at "Direct link to created-at")

Event time as a unix timestamp (seconds).

### Member Of[​](#member-of "Direct link to Member Of")

[`ChargeEventsConnection`](https://docs.monei.com/apis/graphql/types/objects/charge-events-connection/.md) object
