Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to customerPaymentMethodRemoteCreditCardCreate

customerPaymentMethodRemoteCreditCardCreate

mutationDeprecated

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Create a payment method from a credit card stored by Stripe. Use customerPaymentMethodRemoteCreate instead.

ID!required

The ID of the customer.

String!required

The Stripe Customer ID.

Anchor to stripePaymentMethodIdstripePaymentMethodId

The Stripe Payment Method ID. Starting on 2025, stripe_payment_method_id will become mandatory for all API versions.


Was this section helpful?

Anchor to CustomerPaymentMethodRemoteCreditCardCreatePayload returnsCustomerPaymentMethodRemoteCreditCardCreatePayload returns

Anchor to customerPaymentMethodcustomerPaymentMethod

The customer payment method.

The list of errors that occurred from executing the mutation.


Was this section helpful?