--- title: DisplayableError - Payments Apps API description: Represents an error in the input of a mutation. api_version: 2025-10 api_name: payments-apps type: interface api_type: graphql source_url: html: >- https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError md: >- https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError.md --- # Displayable​Error interface Represents an error in the input of a mutation. ## Fields * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. *** ## Types implemented in * [Capture​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionRejectUserError) OBJECT An error that occurs during the execution of `CaptureSessionReject`. * code [Capture​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Capture​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/CaptureSessionResolveUserError) OBJECT An error that occurs during the execution of `CaptureSessionResolve`. * code [Capture​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/CaptureSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Payment​Session​Confirm​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionConfirmUserError) OBJECT An error that occurs during the execution of `PaymentSessionConfirm`. * code [Payment​Session​Confirm​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionConfirmUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Payment​Session​Modal​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionModalUserError) OBJECT An error that occurs during the execution of `PaymentSessionModal`. * code [Payment​Session​Modal​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionModalUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Payment​Session​Pending​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionPendingUserError) OBJECT Represents a payment session custom error. * code [Payment​Session​Pending​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionPendingUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Payment​Session​Redirect​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionRedirectUserError) OBJECT An error that occurs during the execution of `PaymentSessionRedirect`. * code [Payment​Session​Redirect​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionRedirectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Refund​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionRejectUserError) OBJECT An error that occurs during the execution of `RefundSessionReject`. * code [Refund​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/RefundSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Refund​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/RefundSessionResolveUserError) OBJECT An error that occurs during the execution of `RefundSessionResolve`. * code [Refund​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/RefundSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/UserError) OBJECT Represents an error in the input of a mutation. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Verification​Session​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/VerificationSessionUserError) OBJECT Represents a verification session custom error. * code [Verification​Session​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/VerificationSessionUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Void​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSessionRejectUserError) OBJECT An error that occurs during the execution of `VoidSessionReject`. * code [Void​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. * [Void​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/latest/objects/VoidSessionResolveUserError) OBJECT An error that occurs during the execution of `VoidSessionResolve`. * code [Void​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. *** ##### Variables ```json { "field": "", "message": "" } ``` ##### Schema ```graphql interface DisplayableError { field: [String!] message: String! } ```