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