deletePaymentMethod

open fun deletePaymentMethod(context: Context, paymentMethodNonce: PaymentMethodNonce, callback: DeletePaymentMethodNonceCallback)

Deletes a payment method for the user whose ID was used to generate the ClientToken used to instantiate the BraintreeClient.

Parameters

context

an Android Context

paymentMethodNonce

the PaymentMethodNonce that references a vaulted payment method to be deleted.

callback