---
title: refundSessionReject - Payments Apps API
description: >-
  Rejects an open refund session.

  After the `refundSessionReject` mutation completes on a given refund session,
  any

  `refundSessionResolve` mutation attempts will fail. Subsequent
  `refundSessionReject`

  mutation attempts will succeed, but the `RejectionReasonInput` argument will
  be ignored.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionReject
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/mutations/refundSessionReject.md
api_name: payments-apps
api_type: graphql
type: mutation
---

# refund​Session​Reject

mutation

Requires `write_payment_sessions` access scope.

Rejects an open refund session. After the `refundSessionReject` mutation completes on a given refund session, any `refundSessionResolve` mutation attempts will fail. Subsequent `refundSessionReject` mutation attempts will succeed, but the `RejectionReasonInput` argument will be ignored.

## Arguments

* id

  [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID)

  required

  The refund session ID.

* reason

  [Refund​Session​Rejection​Reason​Input!](https://shopify.dev/docs/api/payments-apps/latest/input-objects/RefundSessionRejectionReasonInput)

  required

  The rejection reason.

***

## Refund​Session​Reject​Payload returns

* refund​Session

  [Refund​Session](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSession)

  The updated refund session.

* user​Errors

  [\[Refund​Session​Reject​User​Error!\]!](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionRejectUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### refundSessionReject reference
