customerPaymentMethodRemoteCreditCardCreate mutation

Version unstable

Deprecation warning

Use customerPaymentMethodRemoteCreate instead

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

Required access

write_customers access scope. Also: Requires write_customer_payment_methods scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
customerId ( ID! ) required

The ID of the customer.

stripeCustomerId ( String! ) required

The Stripe Customer ID.

stripePaymentMethodId ( String )

The Stripe Payment Method ID.

Return fields

Version 2021-10 (Release candidate)

Deprecation warning

Use customerPaymentMethodRemoteCreate instead

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

Required access

write_customers access scope. Also: Requires write_customer_payment_methods scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
customerId ( ID! ) required

The ID of the customer.

stripeCustomerId ( String! ) required

The Stripe Customer ID.

stripePaymentMethodId ( String )

The Stripe Payment Method ID.