createPaymentToken
fun createPaymentToken( callback: CreatePaymentTokenCallback, purchase: PurchaseObject, settings: PaymentTokenBodySettings? = null, customParameters: JSONObject? = null)
Content copied to clipboard
Creates a new payment token.
Parameters
purchase
Object of the PurchaseObject.kt
type.
settings
Custom project settings.
customParameters
Your custom parameters represented as a valid JSON set of key-value pairs.
callback
Status callback.