--- title: PaymentTermsCreateUserErrorCode - GraphQL Admin description: Possible error codes that can be returned by `PaymentTermsCreateUserError`. api_version: 2025-01 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/enums/PaymentTermsCreateUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/enums/PaymentTermsCreateUserErrorCode.md --- # Payment​Terms​Create​User​Error​Code enum Possible error codes that can be returned by `PaymentTermsCreateUserError`. ## Valid values * PAYMENT\_​TERMS\_​CREATION\_​UNSUCCESSFUL An error occurred while creating payment terms. *** ## Fields * [Payment​Terms​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/PaymentTermsCreateUserError#field-PaymentTermsCreateUserError.fields.code) OBJECT An error that occurs during the execution of `PaymentTermsCreate`. *** ## Map ### Fields with this enum * <-|[Payment​Terms​Create​User​Error.code](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/PaymentTermsCreateUserError#field-PaymentTermsCreateUserError.fields.code)