Transaction
Represents a single payment transaction.
type Transaction implements Node {
id: ID!
created: DateTime!
token: String!
kind: String!
isSuccess: Boolean!
error: String
payment: Payment!
amount: Money
}
Fields
Transaction.id ● ID! non-null scalar
The Globally Unique ID of this object
Transaction.created ● DateTime! non-null scalar
When the transaction was created.
Transaction.token ● String! non-null scalar
Transaction token.
Transaction.kind ● String! non-null scalar
Transaction kind (auth, capture, void, refund).
Transaction.isSuccess ● Boolean! non-null scalar
Whether the transaction was successful.
Transaction.error ● String scalar
Error message if transaction failed.
Transaction.payment ● Payment! non-null object
The payment associated with this transaction.
Transaction.amount ● Money object
Transaction amount.
Interfaces
Node interface
An object with a Globally Unique ID
Member Of
Payment object
Implemented By
RefundMethod union