Skip to main content

StripeTransaction

No description

type StripeTransaction implements Transaction {
amount: Float
createdAt: ISO8601DateTime
currency: String
disputes: [Dispute!]
exchangeRate: Float
failedAt: ISO8601DateTime
fees: [PaymentTransactionFee!]
id: ID
number: String
order: Order
referenceCode: String
refundTransactions: [Transaction!]
repaymentRequest: RepaymentRequest
saleTransaction: Transaction
startedAt: ISO8601DateTime
status: PaymentTransactionStatus
transactedAt: ISO8601DateTime
updatedAt: ISO8601DateTime
}

Fields

StripeTransaction.amount ● Float scalar

The transaction amount. Negative amounts are refund records.

StripeTransaction.createdAt ● ISO8601DateTime scalar

When the record was created.

StripeTransaction.currency ● String scalar

The transaction currency, as an ISO 4217 code.

StripeTransaction.disputes ● [Dispute!] list interface

The disputes linked to the transaction (for example chargebacks opened by the payment provider).

StripeTransaction.exchangeRate ● Float scalar

The exchange rate reported by the payment provider, when available.

StripeTransaction.failedAt ● ISO8601DateTime scalar

When the transaction failed.

StripeTransaction.fees ● [PaymentTransactionFee!] list object

The provider fee rows recorded for the transaction.

StripeTransaction.id ● ID scalar

The unique identifier of the record.

StripeTransaction.number ● String scalar

The transaction number/ID assigned by the payment provider.

StripeTransaction.order ● Order object

The order the transaction is linked to, when the transaction has been matched through its referenceCode. Null otherwise.

StripeTransaction.referenceCode ● String scalar

References the order or the repayment request (return) the transaction belongs to.

StripeTransaction.refundTransactions ● [Transaction!] list interface

The refund transactions of this transaction: child transactions linked to the original payment.

StripeTransaction.repaymentRequest ● RepaymentRequest object

The repayment request (return) the transaction is linked to, when the transaction has been matched through its referenceCode. Null otherwise.

StripeTransaction.saleTransaction ● Transaction interface

For a refund transaction, the original sale transaction being refunded.

StripeTransaction.startedAt ● ISO8601DateTime scalar

When the transaction was started.

StripeTransaction.status ● PaymentTransactionStatus enum

The transaction status.

StripeTransaction.transactedAt ● ISO8601DateTime scalar

When the transaction was completed.

StripeTransaction.updatedAt ● ISO8601DateTime scalar

When the record was last updated.

Interfaces

Transaction interface