# 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 "Enlace directo al Fields")

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

Event identifier.

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

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

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

Merchant account that owns the event.

#### [`ChargeEvent.livemode`](#livemode) ● [`Boolean`](https://docs.monei.com/es/es/apis/graphql/types/scalars/boolean/.md) scalar[​](#livemode "Enlace directo al livemode")

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

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

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

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

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

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

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

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

Event time as a unix timestamp (seconds).

### Member Of[​](#member-of "Enlace directo al Member Of")

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