Objects
MakePaymentMethodDefaultCommandResponse
Makes a payment method the one used when a customer has none. The method that was the default stops being it. Errors: errorCode is PAYMENT_METHOD_NOT_FOUND (no payment method with this ID); errorCode is PAYMENT_METHOD_NOT_ACTIVE (the payment method is inactive; the default must be active); errorCode is PAYMENT_METHOD_ALREADY_DEFAULT (the payment method already is the default). - Response
object
MakePaymentMethodDefaultCommandResponseFields
affectedPaymentMethodId
ID!
The ID of the payment method that is the default now.
Was this page helpful?