--- title: VoidSession - Payments Apps API description: A unique void transaction. api_version: 2025-10 api_name: payments-apps type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession md: https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSession.md --- # Void​Session object Requires `read_payment_sessions` access scope. A unique void transaction. ## Fields * id [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID) non-null A globally-unique ID. * state [Void​Session​States!](https://shopify.dev/docs/api/payments-apps/latest/unions/VoidSessionStates) non-null Details about the void state. *** ## Map No referencing types *** ## Mutations * [void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject) mutation Rejects an open void session. After the `voidSessionReject` mutation completes on a given void session, any `voidSessionResolve` mutation attempts will fail. Subsequent `voidSessionReject` mutation attempts will succeed, but the `RejectionReasonInput` argument will be ignored. * [void​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionResolve) mutation Resolves an open void session. After the `voidSessionResolve` mutation completes on a given void session, any `voidSessionReject` mutation attempts will fail. Subsequent `voidSessionResolve` mutation attempts will succeed, but the `Details` argument will be ignored. *** ## <\~> VoidSession Mutations ### Mutated by * <\~>[void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject) * <\~>[void​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionResolve)