createRadarSession

suspend fun Stripe.createRadarSession(): RadarSession

Create a Radar Session.

Stripe.advancedFraudSignalsEnabled must be true to use this method.

See the Radar Session docs for more details.

Throws

failure to properly authenticate yourself (check your key)

any other type of problem (for instance, a temporary issue with Stripe's servers)