---
title: CaptureSessionRejectionReasonInput - Payments Apps API
description: The input fields to use for the reason why the capture was rejected.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/input-objects/CaptureSessionRejectionReasonInput
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/input-objects/CaptureSessionRejectionReasonInput.md
api_name: payments-apps
api_type: graphql
type: input-object
---

# Capture​Session​Rejection​Reason​Input

input\_object

The input fields to use for the reason why the capture was rejected.

## Fields

* code

  [Capture​Session​Status​Reason​Rejection​Code!](https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionStatusReasonRejectionCode)

  non-null

  The reason code.

* merchant​Message

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

  A custom, localized message for the merchant.

***

## Mutations using this input

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

  ARGUMENT

***

## Map

### Mutations using this input

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