Skip to main content

Transaction

This is a sms message table

type Transaction implements Node {
id: ID!
success: Boolean!
processed: Boolean!
amount: String!
type: TransactionTypeEnum!
provider: TransactionProviderEnum!
firstName: String
lastName: String
address: String
suburb: String
state: String
postcode: String
country: String
email: String
mobile: String
cardName: String
cardMonth: String
cardYear: String
description: String
reference: String
srcIp: String
ewayCountry: String
ewayTXNumber: String
ewayTXResponse: String
ewayTXOriginalNumber: String
ewayRefundTXNumber: String
referenceTXNumber: String
ewayCustomerId: String
refundReason: String
supportTicketNumber: String
hasRefund: Boolean!
createdAt: GQLTDate!
updatedAt: GQLTDate!
accountId: ID
userId: ID
userPlans(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserPlanOrderBy] = []
where: GQLTQueryUserPlanWhere
include: [GQLTUserPlanIncludeObject] = []
): UserPlanHasManyUserPlansList
account: Account
invoice: Invoice
user: User
plan: UserPlan
}

Fields#

id (ID!)#

The ID of an object

success (Boolean!)#

This is an indicator if the transaction was a success.

processed (Boolean!)#

This is an indicator if the transaction was processed.

amount (String!)#

This is the amount to be paid on the transaction.

type (TransactionTypeEnum!)#

This is a category of a transaction.

provider (TransactionProviderEnum!)#

This is the type of gateway payment so that the transaction will be secure.

firstName (String)#

This is the first name of the user who purchased a product.

lastName (String)#

This is the last name of the user who purchased a product.

address (String)#

This is the address of the user who purchased a product.

suburb (String)#

This is the suburb of the user who purchased a product.

state (String)#

This is the state of the user who purchased a product.

postcode (String)#

This is the post code of the user who purchased a product.

country (String)#

This is the country of the user who purchased a product.

email (String)#

This is the email of the user who purchased a product.

mobile (String)#

This is the mobile number of the user who purchased a product.

cardName (String)#

This is the printed name in the card used by the user to purchase a product.

cardMonth (String)#

This is the printed month in the card use by the user to purchase a product.

cardYear (String)#

This is the printed year in the card use by the user to purchase a product.

description (String)#

This is the description of the purchased product.

reference (String)#

This is the reference number of the transaction that will be used of the user if there is any concern.

srcIp (String)#

This is the ip address of the user when the purchased has been made.

ewayCountry (String)#

This is the payment gateway country that being used so that the payment transaction is secure.

ewayTXNumber (String)#

This is the payment gateway transaction number that is being generated once the transaction is succesful.

ewayTXResponse (String)#

This is the payment gateway tansaction response if the transaction is successful or not.

ewayTXOriginalNumber (String)#

This is the payment gateway original transaction number that is being generated once the transaction is succesful.

ewayRefundTXNumber (String)#

This is the payment gateway refund transaction number that is being generated once the refund is successful.

referenceTXNumber (String)#

This is the reference transaction number that will be used to track the transaction.

ewayCustomerId (String)#

This is the identification number of the customer that have been generated once entered in the payment gateway.

refundReason (String)#

This is the detail description why the user wants a refund.

supportTicketNumber (String)#

This is the ticket number raised by the support team to address the concerns of the user.

hasRefund (Boolean!)#

This is an indication if the user has been granted a refund.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

accountId (ID)#

The ID of an object

userId (ID)#

The ID of an object

userPlans (UserPlanHasManyUserPlansList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

account (Account)#

invoice (Invoice)#

user (User)#

plan (UserPlan)#

Interfaces#

Node#

An object with an ID