> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/payments/llms.txt)
> Source: https://docs.saleor.io/api-reference/payments/mutations/transaction-process

# transactionProcess Mutation

Processes a transaction session. It triggers the webhook `TRANSACTION_PROCESS_SESSION`, to the assigned `paymentGateways`.

```graphql
transactionProcess(
  customerIpAddress: String
  data: JSON
  id: ID
  token: UUID
): TransactionProcess
```

Details

```graphql
type TransactionProcess {
  transaction: TransactionItem
  transactionEvent: TransactionEvent
  data: JSON
  errors: [TransactionProcessError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="customer-ip-address"></a>

#### [`customerIpAddress`](#customer-ip-address) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The customer's IP address. If not provided Saleor will try to determine the customer's IP address on its own. The customer's IP address will be passed to the payment app. The IP should be in ipv4 or ipv6 format. The field can be used only by an app that has `HANDLE_PAYMENTS` permission.

<a id="data"></a>

#### [`data`](#data) ● [`JSON`](/api-reference/miscellaneous/scalars/json.md)

The data that will be passed to the payment gateway.

<a id="id"></a>

#### [`id`](#id) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

The ID of the transaction to process. One of field id or token is required.

<a id="token"></a>

#### [`token`](#token) ● [`UUID`](/api-reference/miscellaneous/scalars/uuid.md)

The token of the transaction to process. One of field id or token is required.

<a id="type"></a>

### Type

<a id="transactionprocess"></a>

#### [`TransactionProcess`](/api-reference/payments/objects/transaction-process.md)

Processes a transaction session. It triggers the webhook `TRANSACTION_PROCESS_SESSION`, to the assigned `paymentGateways`.
