attachPaymentMethod

abstract suspend fun attachPaymentMethod(paymentMethodId: String): CustomerAdapter.Result<PaymentMethod>

Attaches a payment method to a customer

Return

the modified PaymentMethod.

Parameters

paymentMethodId

, the payment method to attach to a customer