---
title: RefundSessionRejectUserErrorCode - Payments Apps API
description: Possible error codes that can be returned by `RefundSessionRejectUserError`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/RefundSessionRejectUserErrorCode
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/RefundSessionRejectUserErrorCode.md
api_name: payments-apps
api_type: graphql
type: enum
---

# Refund​Session​Reject​User​Error​Code

enum

Possible error codes that can be returned by `RefundSessionRejectUserError`.

## Valid values

* REFUND\_​SESSION\_​INVALID\_​STATE

  Refund session has already been resolved or has already been rejected with a different reason.

* REFUND\_​SESSION\_​NOT\_​FOUND

  Refund session not found.

***

## Fields

* [Refund​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionRejectUserError#field-RefundSessionRejectUserError.fields.code)

  OBJECT

  An error that occurs during the execution of `RefundSessionReject`.

***

## Map

### Fields with this enum

* [Refund​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionRejectUserError#field-RefundSessionRejectUserError.fields.code)
