Skip to main content
Log inSign up
Anchor to customerPaymentMethodRemoteCreditCardCreate

customerPaymentMethodRemoteCreditCardCreate

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Deprecated. Use `customerPaymentMethodRemoteCreate` instead.

Create a payment method from a credit card stored by Stripe.

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?