transactionRequestAction Mutation
Request an action for payment transaction.
transactionRequestAction(actionType: TransactionActionEnum!, amount: PositiveDecimal, id: ID, refundReason: String, refundReasonReference: ID, token: UUID): TransactionRequestAction
Returns
Show return type
type TransactionRequestAction {
transaction: TransactionItem
errors: [TransactionRequestActionError!]!
}Arguments
actionType
actionType · TransactionActionEnum!
Determines the action type.
amount
amount · PositiveDecimal
Transaction request amount. If empty, maximal possible amount will be used.
id
id · ID
The ID of the transaction. One of field id or token is required.
refundReason
refundReason · String
Reason of the refund
refundReasonReference
refundReasonReference · ID
ID of a Page (Model) to reference in reason.
token
token · UUID
The token of the transaction. One of field id or token is required.
Schema: Saleor 3.23.43. Download SDL.