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