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!
amount: Money
}
Fields
Transaction.id
● ID!
non-null scalar miscellaneous
ID of the transaction.
Transaction.created
● DateTime!
non-null scalar miscellaneous
Date and time at which transaction was created.
Transaction.payment
● Payment!
non-null object payments
Determines the payment associated with a transaction.
Transaction.token
● String!
non-null scalar miscellaneous
Unique token associated with a transaction.
Transaction.kind
● TransactionKind!
non-null enum payments
Determines the type of transaction.
Transaction.isSuccess
● Boolean!
non-null scalar miscellaneous
Determines if the transaction was successful.
Transaction.error
● String
scalar miscellaneous
Error associated with transaction, if any.
Transaction.gatewayResponse
● JSONString!
non-null scalar miscellaneous
Response returned by payment gateway.
Transaction.amount
● Money
object miscellaneous
Total amount of the transaction.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
Payment
object