Skip to main content

Transaction Object

An object representing a single payment.

type Transaction implements Node {
id: ID!
created: DateTime!
payment: Payment!
token: String!
kind: TransactionKind!
isSuccess: Boolean!
error: String
gatewayResponse: JSONString! @deprecated
amount: Money
}

Fields

id ● ID!

ID of the transaction.

created ● DateTime!

Date and time at which transaction was created.

payment ● Payment!

Determines the payment associated with a transaction.

token ● String!

Unique token associated with a transaction.

kind ● TransactionKind!

Determines the type of transaction.

isSuccess ● Boolean!

Determines if the transaction was successful.

error ● String

Error associated with transaction, if any.

amount ● Money

Total amount of the transaction.

Show deprecated

Interfaces

Node

An object with an ID

Member Of

Payment object