Skip to main content

PaypalTransaction

A payment transaction recorded by the PayPal integration of OMS.

type PaypalTransaction 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​

PaypalTransaction.amount ● Float scalar​

The transaction amount. Negative amounts are refund records.

PaypalTransaction.createdAt ● ISO8601DateTime scalar​

When the record was created.

PaypalTransaction.currency ● String scalar​

The transaction currency, as an ISO 4217 code.

PaypalTransaction.disputes ● [Dispute!] list interface​

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

PaypalTransaction.exchangeRate ● Float scalar​

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

PaypalTransaction.failedAt ● ISO8601DateTime scalar​

When the transaction failed.

PaypalTransaction.fees ● [PaymentTransactionFee!] list object​

The provider fee rows recorded for the transaction.

PaypalTransaction.id ● ID scalar​

The unique identifier of the record.

PaypalTransaction.number ● String scalar​

The transaction number/ID assigned by the payment provider.

PaypalTransaction.order ● Order object​

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

PaypalTransaction.referenceCode ● String scalar​

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

PaypalTransaction.refundTransactions ● [Transaction!] list interface​

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

PaypalTransaction.repaymentRequest ● RepaymentRequest object​

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

PaypalTransaction.saleTransaction ● Transaction interface​

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

PaypalTransaction.startedAt ● ISO8601DateTime scalar​

When the transaction was started.

PaypalTransaction.status ● PaymentTransactionStatus enum​

The transaction status.

PaypalTransaction.transactedAt ● ISO8601DateTime scalar​

When the transaction was completed.

PaypalTransaction.updatedAt ● ISO8601DateTime scalar​

When the record was last updated.

Interfaces​

Transaction interface​

The fields shared by every payment transaction, whatever the gateway that recorded it. Returned by paymentTransaction and paymentTransactions; the concrete type tells the source (for example PaymentExternalTransaction for the transactions recorded through the API).