---
title: StoreCreditAccountDebitUserError - GraphQL Admin
description: An error that occurs during the execution of `StoreCreditAccountDebit`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountDebitUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountDebitUserError.md
api_name: admin
api_type: graphql
type: object
---

# Store​Credit​Account​Debit​User​Error

object

An error that occurs during the execution of `StoreCreditAccountDebit`.

## Fields

* code

  [Store​Credit​Account​Debit​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/StoreCreditAccountDebitUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [store​Credit​Account​Debit](https://shopify.dev/docs/api/admin-graphql/latest/mutations/storeCreditAccountDebit)

  mutation

  Creates a debit transaction that decreases the store credit account balance by the given amount.

  * debit​Input

    [Store​Credit​Account​Debit​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/StoreCreditAccountDebitInput)

    required

    ### Arguments

    The input fields for a store credit account debit transaction.

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    The ID of the store credit account or the ID of the account owner.

  ***

***

## StoreCreditAccountDebitUserError Mutations

### Mutated by

* [store​Credit​Account​Debit](https://shopify.dev/docs/api/admin-graphql/latest/mutations/storeCreditAccountDebit)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)

  interface

***

## StoreCreditAccountDebitUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)
