Skip to main content

Transaction

Transaction record representing individual payment processing operations.

Tracks specific payment operations such as authorizations, captures, refunds, and chargebacks. Each transaction is linked to a parent payment and contains detailed processing information including amounts, timestamps, and status updates.

type Transaction {
id: ID!
transactionId: String!
paymentId: String
orderId: Int!
amount: Int!
currency: String!
description: String
timestamp: DateTime
type: TransactionTypes!
provider: String
status: TransactionStatuses!
}

Fields​

Transaction.id ● ID! non-null scalar​

Unique system identifier for the transaction record

Transaction.transactionId ● String! non-null scalar​

External transaction identifier provided by the payment service provider for tracking and reconciliation.

Unique transaction reference provided by the Payment Service Provider (PSP) for tracking and reconciliation. Used for transaction status updates and matching with external systems. Maximum length of 255 characters.

Transaction.paymentId ● String scalar​

External payment identifier provided by the payment service provider for correlation.

External payment identifier provided by the Payment Service Provider for correlation with parent payment. Used to link transactions to their originating payments in external systems. Maximum length of 255 characters.

Transaction.orderId ● Int! non-null scalar​

Order identifier associated with this transaction.

References the specific order that this transaction is processing. Used for order-transaction relationship tracking and fulfillment processing. Must be a positive integer.

Transaction.amount ● Int! non-null scalar​

Transaction amount in smallest currency unit (cents).

The transaction amount expressed in the smallest denomination of the currency (e.g., cents for USD, pence for GBP). Used for precise financial calculations. Must be a positive integer.

Transaction.currency ● String! non-null scalar​

Transaction currency code in ISO 4217 format for international financial transactions.

Three-letter currency code (e.g., USD, EUR, GBP) following ISO 4217 standard. Used for currency conversion and financial reporting. Must be exactly 3 uppercase letters.

Transaction.description ● String scalar​

Human-readable description of the transaction purpose or details

Transaction.timestamp ● DateTime scalar​

Timestamp when the transaction was processed by the payment service provider

Transaction.type ● TransactionTypes! non-null enum​

Type of transaction operation performed

Transaction.provider ● String scalar​

Name of the payment service provider that processed the transaction

Transaction.status ● TransactionStatuses! non-null enum​

Current processing status of the transaction

Member Of​

Payment object