createEphemeralKey

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.

Parameters

apiVersion

the Stripe API Version being used

keyUpdateListener

a callback object to notify about results