createPaymentToken

fun createPaymentToken(    callback: CreatePaymentTokenCallback,     purchase: PurchaseObject,     settings: PaymentTokenBodySettings? = null,     customParameters: JSONObject? = null)

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.

Sources

Link copied to clipboard