Skip to main content

transaction

Look up a transaction by ID.

Added in Saleor 3.6
This API is currently in Feature Preview and can be subject to changes at later point.
Requires HANDLE_PAYMENTSpermission.
transaction(
id: ID
token: UUID
): TransactionItem

Arguments

transaction.id ● ID scalar miscellaneous

ID of a transaction. Either it or token is required to fetch the transaction data.

transaction.token ● UUID scalar miscellaneous

Token of a transaction. Either it or ID is required to fetch the transaction data.

Type

TransactionItem object payments

Represents a payment transaction.

Added in Saleor 3.4
This API is currently in Feature Preview and can be subject to changes at later point.