---
title: PaymentTermsCreateUserErrorCode - GraphQL Admin
description: Possible error codes that can be returned by `PaymentTermsCreateUserError`.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/enums/paymenttermscreateusererrorcode
  md: https://shopify.dev/docs/api/admin-graphql/latest/enums/paymenttermscreateusererrorcode.md
---

# PaymentTermsCreateUserErrorCode

enum

Possible error codes that can be returned by `PaymentTermsCreateUserError`.

## Valid values

* PAYMENT\_TERMS\_CREATION\_UNSUCCESSFUL

  An error occurred while creating payment terms.

***

## Fields

* [PaymentTermsCreateUserError.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTermsCreateUserError#field-PaymentTermsCreateUserError.fields.code)

  OBJECT

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

***

## Map

### Fields with this enum

* [PaymentTermsCreateUserError.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTermsCreateUserError#field-PaymentTermsCreateUserError.fields.code)