--- title: VoidSessionState - Payments Apps API description: The state of a finalized void transaction. api_version: 2025-10 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. *** ## Types implemented in * [Void​Session​State​Rejected](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSessionStateRejected) OBJECT Additional details about a void's rejected state. * code [Void​Session​State​Code!](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionStateCode) non-null The void state code. * merchant​Message [String](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The custom, localized message for the merchant. * reason [Void​Session​State​Rejected​Reason!](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionStateRejectedReason) non-null The reason the void is rejected. * [Void​Session​State​Resolved](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSessionStateResolved) OBJECT Additional details about a void's resolved state. * 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! } ```