---
title: CaptureSessionStateCode - Payments Apps API
description: |-
  The possible values that can be used to describe
  the state of a finalized capture transaction.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionStateCode
  md: >-
    https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionStateCode.md
api_name: payments-apps
api_type: graphql
type: enum
---

# Capture​Session​State​Code

enum

The possible values that can be used to describe the state of a finalized capture transaction.

## Valid values

* REJECTED

  Capture rejected.

* RESOLVED

  Capture resolved.

***

## Fields

* [Capture​Session​State.code](https://shopify.dev/docs/api/payments-apps/latest/interfaces/CaptureSessionState#fields-code)

  INTERFACE

  The state of a finalized capture transaction.

* [Capture​Session​State​Rejected.code](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionStateRejected#field-CaptureSessionStateRejected.fields.code)

  OBJECT

  Additional details about a capture's rejected state.

* [Capture​Session​State​Resolved.code](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionStateResolved#field-CaptureSessionStateResolved.fields.code)

  OBJECT

  Additional details about a capture's resolved state.

***

## Map

### Fields with this enum

* [Capture​Session​State​Rejected.code](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionStateRejected#field-CaptureSessionStateRejected.fields.code)
* [Capture​Session​State​Resolved.code](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionStateResolved#field-CaptureSessionStateResolved.fields.code)
