--- title: CaptureSessionState - Payments Apps API description: The state of a finalized capture transaction. api_version: 2026-04 api_name: payments-apps type: interface api_type: graphql source_url: html: >- https://shopify.dev/docs/api/payments-apps/latest/interfaces/CaptureSessionState md: >- https://shopify.dev/docs/api/payments-apps/latest/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/latest/enums/CaptureSessionStateCode) non-null The capture state code. *** ##### Variables ```json { "code": "" } ``` ##### Schema ```graphql interface CaptureSessionState { code: CaptureSessionStateCode! } ```