--- title: StoreCreditAccountCreditUserError - GraphQL Admin description: An error that occurs during the execution of `StoreCreditAccountCredit`. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/objects/storecreditaccountcreditusererror md: https://shopify.dev/docs/api/admin-graphql/unstable/objects/storecreditaccountcreditusererror.md --- # Store​Credit​Account​Credit​User​Error object An error that occurs during the execution of `StoreCreditAccountCredit`. ## Fields * code [Store​Credit​Account​Credit​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/unstable/enums/StoreCreditAccountCreditUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [store​Credit​Account​Credit](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/storeCreditAccountCredit) mutation Adds funds to a [`StoreCreditAccount`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccount) by creating a [`StoreCreditAccountCreditTransaction`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction). The mutation accepts either a store credit account ID, a [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer) ID, or a [`CompanyLocation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation) ID. When you provide a customer or company location ID, it automatically creates an account if one doesn't exist for the specified currency. Store credit accounts are currency-specific. A single owner can have multiple accounts, each holding a different currency. Use the most appropriate currency for the given store credit account owner. Credits can optionally include an expiration date. * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The ID of the store credit account or the ID of the account owner. * credit​Input [Store​Credit​Account​Credit​Input!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/StoreCreditAccountCreditInput) required The input fields for a store credit account credit transaction. *** *** ## <\~> StoreCreditAccountCreditUserError Mutations ### Mutated by * <\~>[store​Credit​Account​Credit](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/storeCreditAccountCredit) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError) interface *** ## ||-StoreCreditAccountCreditUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError)