--- title: OrderCreateMandatePaymentUserError - GraphQL Admin description: An error that occurs during the execution of `OrderCreateMandatePayment`. api_version: 2025-01 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/ordercreatemandatepaymentusererror md: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/ordercreatemandatepaymentusererror.md --- # Order​Create​Mandate​Payment​User​Error object An error that occurs during the execution of `OrderCreateMandatePayment`. ## Fields * code [Order​Create​Mandate​Payment​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/OrderCreateMandatePaymentUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [order​Create​Mandate​Payment](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/orderCreateMandatePayment) mutation Creates a payment for an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) using a stored [`PaymentMandate`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentMandate). A payment mandate represents the customer's authorization to charge their payment method for deferred payments, such as pre-orders or try-before-you-buy purchases. The mutation processes the payment asynchronously and returns a [`Job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) for tracking the payment status. You can specify the payment amount to collect, and use the [`autoCapture`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-autoCapture) argument to either immediately capture the payment or only authorize it for later capture. Each payment request requires a unique [`idempotencyKey`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCreateMandatePayment#arguments-idempotencyKey) to prevent duplicate charges. Subsequent calls with the same key return the original payment result rather than creating a new payment. Learn more about [deferred payments and payment mandates](https://shopify.dev/docs/apps/build/purchase-options/deferred#charging-the-remaining-balance) and [idempotent requests](https://shopify.dev/docs/api/usage/idempotent-requests). *** ## <\~> OrderCreateMandatePaymentUserError Mutations ### Mutated by * <\~>[order​Create​Mandate​Payment](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/orderCreateMandatePayment) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError) interface *** ## ||-OrderCreateMandatePaymentUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError)