Skip to main content
Anchor to CustomerPaymentMethodCreditCardCreatePayload

CustomerPaymentMethodCreditCardCreatePayload

payload

Return type for customerPaymentMethodCreditCardCreate mutation.

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method.

Show fields
•Boolean

If the card verification result is processing. When this is true, customer_payment_method will be null.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Creates a credit card payment method for a customer using a session id. These values are only obtained through card imports happening from a PCI compliant environment. Please use customerPaymentMethodRemoteCreate if you are not managing credit cards directly.

Show payload

Arguments

•MailingAddressInput!
required

The billing address.

Show input fields
•ID!
required

The ID of the customer.

•String!
required

The Cardserver session ID. Obtained by storing card data with Shopify's Cardsink. Exchanging raw card data for a session ID must be done in a PCI complaint environment.



Was this section helpful?