setDefaultPaymentMethod

abstract suspend fun setDefaultPaymentMethod(savedCardId: Int)

Makes a saved card the member's default payment method.

Completes when the change is saved.

Parameters

Throws

if the request fails - an AFException carrying the server's message when the change is refused.