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

# transactionRequestRefundForGrantedRefund Mutation

Request a refund for payment transaction based on granted refund.

Requires the HANDLE\_PAYMENTS permission.

```graphql
transactionRequestRefundForGrantedRefund(
  grantedRefundId: ID!
  id: ID
  token: UUID
): TransactionRequestRefundForGrantedRefund
```

Details

```graphql
type TransactionRequestRefundForGrantedRefund {
  transaction: TransactionItem
  errors: [TransactionRequestRefundForGrantedRefundError!]!
}
```

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

### Arguments

<a id="granted-refund-id"></a>

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

The ID of the granted refund.

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

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

The ID of the transaction. One of field id or token is required, if `transactionItem` is not already assigned to the `orderGrantedRefund`. If `transactionItem` is already assigned to the grantedRefund the field will be ignored.

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

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

The token of the transaction. One of field id or token is required, if `transactionItem` is not already assigned to the `orderGrantedRefund`. If `transactionItem` is already assigned to the grantedRefund the field will be ignored.

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

### Type

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

#### [`TransactionRequestRefundForGrantedRefund`](/api-reference/payments/objects/transaction-request-refund-for-granted-refund.md)

Request a refund for payment transaction based on granted refund.

Requires the HANDLE\_PAYMENTS permission.
