---
title: CaptureSessionRejectUserError - Payments Apps API
description: An error that occurs during the execution of `CaptureSessionReject`.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/payments-apps/latest/objects/capturesessionrejectusererror
  md: https://shopify.dev/docs/api/payments-apps/latest/objects/capturesessionrejectusererror.md
---

# Capture​Session​Reject​User​Error

object

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

## Fields

* code

  [Capture​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionRejectUserErrorCode)

  The error code.

* field

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

  The path to the input field that caused the error.

* message

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

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [capture​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/captureSessionReject)

  mutation

  Rejects an open capture session.

  After the `captureSessionReject` mutation completes on a given capture session, any `captureSessionResolve` mutation attempts will fail. Subsequent `captureSessionReject` mutation attempts will succeed, but the `reason` argument will be ignored.

  * id

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

    required

    ### Arguments

    The capture session ID.

  * reason

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

    required

    The rejection reason.

  ***

***

## CaptureSessionRejectUserError Mutations

### Mutated by

* [capture​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/captureSessionReject)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)

  interface

***

## CaptureSessionRejectUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)