apiConfiguration

fun apiConfiguration(apiConfiguration: ApiConfiguration): PaymentSheet.Configuration.Builder

Sets the API credentials to use for PaymentSheet or FlowController.

When not set, the payment element uses the credentials initialized through com.stripe.android.PaymentConfiguration.