> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/payments/llms.txt)
> Source: https://docs.saleor.io/api-reference/payments/objects/transaction-event

# TransactionEvent Object

Represents transaction's event.

```graphql
type TransactionEvent implements Node {
  id: ID!
  createdAt: DateTime!
  pspReference: String!
  message: String!
  reasonReference: Page
  externalUrl: String!
  amount: Money!
  type: TransactionEventTypeEnum
  createdBy: UserOrApp
  idempotencyKey: String
}
```

<a id="fields"></a>

### Fields

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of the object.

<a id="created-at"></a>

#### [`createdAt`](#created-at) ● [`DateTime!`](/api-reference/miscellaneous/scalars/date-time.md)

Date and time at which a transaction event was created.

<a id="psp-reference"></a>

#### [`pspReference`](#psp-reference) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

PSP reference of transaction.

<a id="message"></a>

#### [`message`](#message) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Message related to the transaction's event.

<a id="reason-reference"></a>

#### [`reasonReference`](#reason-reference) ● [`Page`](/api-reference/pages/objects/page.md)

Reason model of the transaction refund.

Added in Saleor 3.22

<a id="external-url"></a>

#### [`externalUrl`](#external-url) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

The url that will allow to redirect user to payment provider page with transaction details.

<a id="amount"></a>

#### [`amount`](#amount) ● [`Money!`](/api-reference/miscellaneous/objects/money.md)

The amount related to this event.

<a id="type"></a>

#### [`type`](#type) ● [`TransactionEventTypeEnum`](/api-reference/payments/enums/transaction-event-type-enum.md)

The type of action related to this event.

<a id="created-by"></a>

#### [`createdBy`](#created-by) ● [`UserOrApp`](/api-reference/miscellaneous/unions/user-or-app.md)

User or App that created the transaction event.

<a id="idempotency-key"></a>

#### [`idempotencyKey`](#idempotency-key) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Idempotency key assigned to the event.

<a id="interfaces"></a>

### Interfaces

<a id="node"></a>

#### [`Node`](/api-reference/miscellaneous/interfaces/node.md)

An object with an ID

<a id="member-of"></a>

### Member Of

[`OrderGrantedRefund`](/api-reference/orders/objects/order-granted-refund.md) object  ● [`TransactionEventReport`](/api-reference/payments/objects/transaction-event-report.md) object  ● [`TransactionInitialize`](/api-reference/payments/objects/transaction-initialize.md) object  ● [`TransactionItem`](/api-reference/payments/objects/transaction-item.md) object  ● [`TransactionProcess`](/api-reference/payments/objects/transaction-process.md) object
