Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

Transaction Object

An object representing a single payment.

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

type Transaction implements Node {
  id: ID!
  created: DateTime!
  payment: Payment!
  token: String!
  kind: TransactionKind!
  isSuccess: Boolean!
  error: String
  gatewayResponse: JSONString! @deprecated(reason: "The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.")
  amount: Money
}

Interfaces

Node

Fields

id

id · ID!

ID of the transaction.

created

created · DateTime!

Date and time at which transaction was created.

payment

payment · Payment!

Determines the payment associated with a transaction.

token

token · String!

Unique token associated with a transaction.

kind

kind · TransactionKind!

Determines the type of transaction.

isSuccess

isSuccess · Boolean!

Determines if the transaction was successful.

error

error · String

Error associated with transaction, if any.

gatewayResponse

gatewayResponse · JSONString!

Response returned by payment gateway.

amount

amount · Money

Total amount of the transaction.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?