EphemeralKeyProvider

fun fun interface EphemeralKeyProvider

Represents an object that can call to a server and create EphemeralKeys.

Functions

createEphemeralKey
Link copied to clipboard
abstract fun createEphemeralKey(@Size(min = 4.toLong()apiVersion: String, keyUpdateListener: EphemeralKeyUpdateListener)
When called, talks to a client server that then communicates with Stripe's servers to create an EphemeralKey.