Skip to main content

PayMethodCreateInput

Input for creating a new payment method.

Contains all necessary information to establish a new payment method including localized names, external system integration codes, and branding elements. Used for setting up new payment options in checkout flows.

input PayMethodCreateInput {
names: [LocalizedStringInput!]!
externalCode: String!
logo: String
}

Fields

PayMethodCreateInput.names ● [LocalizedStringInput!]! non-null input

Localized payment method names for different languages.

Collection of payment method names in various languages for international checkout experiences. Each language must be unique and follow ISO 639-1 format. At least one localized name is required.

PayMethodCreateInput.externalCode ● String! non-null scalar

External system identifier in SCREAMING_SNAKE_CASE format.

Unique code used to identify this payment method in external payment processors and gateways. Must follow SCREAMING_SNAKE_CASE convention and be unique across all payment methods. Maximum 64 characters.

PayMethodCreateInput.logo ● String scalar

Payment method logo URL for checkout display.

Optional URL pointing to the payment method's logo or icon for visual identification in checkout interfaces. Must be a valid URL format with maximum 255 characters.

Member Of

payMethodCreate mutation