--- title: RefundSessionRejectUserErrorCode - Payments Apps API description: Possible error codes that can be returned by `RefundSessionRejectUserError`. api_version: 2025-04 api_name: payments-apps type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/2025-04/enums/refundsessionrejectusererrorcode md: https://shopify.dev/docs/api/payments-apps/2025-04/enums/refundsessionrejectusererrorcode.md --- # Refund​Session​Reject​User​Error​Code enum Possible error codes that can be returned by `RefundSessionRejectUserError`. ## Valid values * REFUND\_​SESSION\_​INVALID\_​STATE Refund session has already been resolved or has already been rejected with a different reason. * REFUND\_​SESSION\_​NOT\_​FOUND Refund session not found. *** ## Fields * [Refund​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/2025-04/objects/RefundSessionRejectUserError#field-RefundSessionRejectUserError.fields.code) OBJECT An error that occurs during the execution of `RefundSessionReject`. *** ## Map ### Fields with this enum * <-|[Refund​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/2025-04/objects/RefundSessionRejectUserError#field-RefundSessionRejectUserError.fields.code)