createThreeDSecureParams
fun createThreeDSecureParams(@IntRange(from = 0) amount: Long, currency: String, returnUrl: String, cardId: String): SourceParams
Create 3D Secure Source params.
Return
a SourceParams object that can be used to create a 3D Secure source
Parameters
amount
A positive integer in the smallest currency unit representing the amount to charge the customer (e.g., 1099 for a €10.99 payment).
currency
The currency the payment is being created in (e.g., eur).
returnUrl
The URL the customer should be redirected to after the verification process.
cardId
The ID of the card source.