--- title: VoidSessionState - Payments Apps API description: The state of a finalized void 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/VoidSessionState md: >- https://shopify.dev/docs/api/payments-apps/latest/interfaces/VoidSessionState.md --- # Void​Session​State interface The state of a finalized void transaction. ## Fields * code [Void​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionStateCode) non-null The void state code. *** ##### Variables ```json { "code": "" } ``` ##### Schema ```graphql interface VoidSessionState { code: VoidSessionStateCode! } ```