Magidoc

addCreditCard
Mutation

Add a new payment method to be used with an Order. Scope: "orders".

Arguments

#

creditCardInfo

Non-null

The credit card info

name

Non-null

Name associated to this credit card

isSavedForLater = true

Whether this credit card should be saved for future payments

account

Non-null

Account to add the credit card to

Response

#

Returns CreditCardWithStripeError !.

Example

#