--- title: CaptureSessionState - Payments Apps API description: The state of a finalized capture transaction. api_version: 2025-01 api_name: payments-apps type: interface api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/2025-01/interfaces/CaptureSessionState md: https://shopify.dev/docs/api/payments-apps/2025-01/interfaces/CaptureSessionState.md --- # Capture​Session​State interface The state of a finalized capture transaction. ## Fields * code [Capture​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionStateCode) non-null The capture state code. *** ## Types implemented in * [Capture​Session​State​Rejected](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionStateRejected) OBJECT Additional details about a capture's rejected state. * code [Capture​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionStateCode) non-null The capture state code. * merchant​Message [String](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The custom, localized message for the merchant. * reason [Capture​Session​State​Rejected​Reason!](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionStateRejectedReason) non-null The reason the capture is rejected. * [Capture​Session​State​Resolved](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionStateResolved) OBJECT Additional details about a capture's resolved state. * code [Capture​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionStateCode) non-null The capture state code. *** ```json { "code": "" } ```