provideSetupIntentClientSecret

abstract suspend fun provideSetupIntentClientSecret(customerId: String): Result<String>

Provides the SetupIntent client secret that is used when attaching a payment method to a customer.

Parameters

customerId

the Stripe identifier of the customer. This will be equivalent to the customer identifier passed through with the CustomerSessionClientSecret.