createP24Params
fun createP24Params(@IntRange(from = 0) amount: Long, currency: String, name: String?, email: String, returnUrl: String): SourceParams
Create P24 Source params.
Return
a SourceParams that can be used to create a P24 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
eur
or pln
(P24 payments must be in either Euros or Polish Zloty).
name
The name of the account holder (optional).
email
The email address of the account holder.
returnUrl
The URL the customer should be redirected to after the authorization process.