# ChargeEventObject

Charge snapshot embedded in a `ChargeEvent`. Captures the charge as it looked at the moment the event was emitted.

```
type ChargeEventObject {

  id: ID!

  accountId: ID!

  providerId: ID

  checkoutId: ID!

  providerInternalId: ID

  providerReferenceId: ID

  createdAt: AWSTimestamp

  updatedAt: AWSTimestamp

  amount: Int

  amountEUR: Int

  authorizationCode: String

  billingDetails: ContactDetails

  billingPlan: BillingPlans

  currency: String!

  customer: Customer

  description: String

  descriptor: String

  livemode: Boolean

  orderId: ID

  storeId: ID

  pointOfSaleId: ID

  sequenceId: ID

  subscriptionId: ID

  paymentMethod: PaymentMethod

  cancellationReason: CancellationReason

  lastRefundAmount: Int

  lastRefundReason: RefundReason

  refundedAmount: Int

  shippingDetails: ContactDetails

  shop: Shop

  status: ChargeStatus!

  statusCode: String

  statusMessage: String

  sessionDetails: SessionDetails

  traceDetails: TraceDetails

  pageOpenedAt: AWSTimestamp

  fraudDetectorScore: Int

  metadata: [KeyValueItem!]

}
```

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

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

Unique identifier for the payment.

#### [`ChargeEventObject.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 charge.

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

Configured payment provider.

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

Underlying checkout/operation.

#### [`ChargeEventObject.providerInternalId`](#provider-internal-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) scalar[​](#provider-internal-id "Direct link to provider-internal-id")

Provider-side transaction identifier.

#### [`ChargeEventObject.providerReferenceId`](#provider-reference-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) scalar[​](#provider-reference-id "Direct link to provider-reference-id")

Provider-side reference.

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

Creation time as a unix timestamp (seconds).

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

Last update time as a unix timestamp (seconds).

#### [`ChargeEventObject.amount`](#amount) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#amount "Direct link to amount")

Amount intended to be collected by this payment. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge 1.00 USD).

#### [`ChargeEventObject.amountEUR`](#amount-eur) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#amount-eur "Direct link to amount-eur")

Amount converted to EUR, in cents.

#### [`ChargeEventObject.authorizationCode`](#authorization-code) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#authorization-code "Direct link to authorization-code")

Unique identifier provided by the bank performing transaction.

#### [`ChargeEventObject.billingDetails`](#billing-details) ● [`ContactDetails`](https://docs.monei.com/apis/graphql/types/objects/contact-details/.md) object[​](#billing-details "Direct link to billing-details")

Billing information associated with the payment method at the time of the transaction.

#### [`ChargeEventObject.billingPlan`](#billing-plan) ● [`BillingPlans`](https://docs.monei.com/apis/graphql/types/enums/billing-plans/.md) enum[​](#billing-plan "Direct link to billing-plan")

Merchant billing plan.

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

Three-letter ISO 4217 currency code, in uppercase. Must be a supported currency.

#### [`ChargeEventObject.customer`](#customer) ● [`Customer`](https://docs.monei.com/apis/graphql/types/objects/customer/.md) object[​](#customer "Direct link to customer")

Customer identification.

#### [`ChargeEventObject.description`](#description) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#description "Direct link to description")

An arbitrary string attached to the payment. Often useful for displaying to users.

#### [`ChargeEventObject.descriptor`](#descriptor) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#descriptor "Direct link to descriptor")

Statement descriptor.

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

`true` for live transactions, `false` for test mode.

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

An order ID from your system. A unique identifier that can be used to reconcile the payment with your internal system.

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

A unique identifier of the Store. If specified the payment is attached to this Store.

#### [`ChargeEventObject.pointOfSaleId`](#point-of-sale-id) ● [`ID`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) scalar[​](#point-of-sale-id "Direct link to point-of-sale-id")

A unique identifier of the Point of Sale. If specified the payment is attached to this Point of Sale.

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

A permanent identifier that refers to the initial payment of a sequence of payments.

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

A unique identifier of the Subscription. If specified the payment is attached to this Subscription.

#### [`ChargeEventObject.paymentMethod`](#payment-method) ● [`PaymentMethod`](https://docs.monei.com/apis/graphql/types/objects/payment-method/.md) object[​](#payment-method "Direct link to payment-method")

Details about the payment method at the time of the transaction.

#### [`ChargeEventObject.cancellationReason`](#cancellation-reason) ● [`CancellationReason`](https://docs.monei.com/apis/graphql/types/enums/cancellation-reason/.md) enum[​](#cancellation-reason "Direct link to cancellation-reason")

The reason for canceling the Payment.

#### [`ChargeEventObject.lastRefundAmount`](#last-refund-amount) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#last-refund-amount "Direct link to last-refund-amount")

Amount in cents refunded in the last transaction.

#### [`ChargeEventObject.lastRefundReason`](#last-refund-reason) ● [`RefundReason`](https://docs.monei.com/apis/graphql/types/enums/refund-reason/.md) enum[​](#last-refund-reason "Direct link to last-refund-reason")

The reason of the last refund transaction.

#### [`ChargeEventObject.refundedAmount`](#refunded-amount) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#refunded-amount "Direct link to refunded-amount")

Amount in cents refunded (can be less than the amount attribute on the payment if a partial refund was issued).

#### [`ChargeEventObject.shippingDetails`](#shipping-details) ● [`ContactDetails`](https://docs.monei.com/apis/graphql/types/objects/contact-details/.md) object[​](#shipping-details "Direct link to shipping-details")

Shipping information associated with the payment.

#### [`ChargeEventObject.shop`](#shop) ● [`Shop`](https://docs.monei.com/apis/graphql/types/objects/shop/.md) object[​](#shop "Direct link to shop")

The information about the shop (used in hosted payment page).

#### [`ChargeEventObject.status`](#status) ● [`ChargeStatus!`](https://docs.monei.com/apis/graphql/types/enums/charge-status/.md) non-null enum[​](#status "Direct link to status")

Charge status at the moment the event was emitted.

#### [`ChargeEventObject.statusCode`](#status-code) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#status-code "Direct link to status-code")

Payment status code at the moment the event was emitted.

#### [`ChargeEventObject.statusMessage`](#status-message) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) scalar[​](#status-message "Direct link to status-message")

Human readable status message, can be displayed to a user.

#### [`ChargeEventObject.sessionDetails`](#session-details) ● [`SessionDetails`](https://docs.monei.com/apis/graphql/types/objects/session-details/.md) object[​](#session-details "Direct link to session-details")

Information related to the browsing session of the user who initiated the payment.

#### [`ChargeEventObject.traceDetails`](#trace-details) ● [`TraceDetails`](https://docs.monei.com/apis/graphql/types/objects/trace-details/.md) object[​](#trace-details "Direct link to trace-details")

Origin metadata for the action that produced this event.

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

When the customer first opened the hosted payment page, as a unix timestamp (seconds).

#### [`ChargeEventObject.fraudDetectorScore`](#fraud-detector-score) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#fraud-detector-score "Direct link to fraud-detector-score")

Fraud detector score, `0`-`1000`.

#### [`ChargeEventObject.metadata`](#metadata) ● [`[KeyValueItem!]`](https://docs.monei.com/apis/graphql/types/objects/key-value-item/.md) list object[​](#metadata "Direct link to metadata")

Merchant-defined metadata.

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

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