createPaymentIntent
fun createPaymentIntent(params: PaymentIntentParameters, createConfiguration: CreateConfiguration?, callback: PaymentIntentCallback)
Creates a new PaymentIntent with the given parameters.
Note: If the information required to create a PaymentIntent isn't readily available in your app, you can create the PaymentIntent on your server and use the retrievePaymentIntent method to retrieve the PaymentIntent in your app.
See https://stripe.com/docs/terminal/payments#create.
Parameters
params
The PaymentIntentParameters object with info about the intent to create
createConfiguration
The CreateConfiguration containing optional configuration overrides used when creating this PaymentIntent.
callback
The PaymentIntentCallback to be called when creation completes