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