transactionRequestAction Mutation
Request an action for payment transaction.
transactionRequestAction(
actionType: TransactionActionEnum!
amount: PositiveDecimal
id: ID
refundReason: String
refundReasonReference: ID
token: UUID
): TransactionRequestAction
Show return type
Arguments
actionType ● TransactionActionEnum!
Determines the action type.
amount ● PositiveDecimal
Transaction request amount. If empty, maximal possible amount will be used.
id ● ID
The ID of the transaction. One of field id or token is required.
refundReason ● String
Reason of the refund
Added in Saleor 3.22refundReasonReference ● ID
ID of a Page (Model) to reference in reason.
token ● UUID
The token of the transaction. One of field id or token is required.
Type
TransactionRequestAction
Request an action for payment transaction.