Skip to main content

UpdateMyPaymentMethodResponse

The response of updateMyPaymentMethod mutation. When the payment method is set successfully, the response will be the PaymentMethod type. When the payment method SEPA_DIRECT_DEBIT is not configured, the response will be the SetupEmandateURL type.

union UpdateMyPaymentMethodResponse = NewPaymentMethod | SetupSepaMandateURL

Possible types

UpdateMyPaymentMethodResponse.NewPaymentMethod object

The NewPaymentMethod type is the return type when the payment method is set successfully.

UpdateMyPaymentMethodResponse.SetupSepaMandateURL object

The SetupEmandateURL type is the return type when the payment method SEPA_DIRECT_DEBIT is not configured.

Returned By

updateMyPaymentMethod mutation