createRadarSession

fun createRadarSession(stripeAccountId: String? = this.stripeAccountId, callback: ApiResultCallback<RadarSession>, activity: AppCompatActivity? = null)

Create a Radar Session asynchronously.

Stripe.advancedFraudSignalsEnabled must be true to use this method.

See the Radar Session docs for more details.

Parameters

stripeAccountId

Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.

callback

a ApiResultCallback to receive the result or error

activity

the owning activity. This will be used to identify fraud via a passive (invisible) hCaptcha