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