createAlipayReusableParams

fun createAlipayReusableParams(currency: String, name: String? = null, email: String? = null, returnUrl: String): SourceParams

Create reusable Alipay Source params.

Return

a SourceParams that can be used to create an Alipay reusable source

Parameters

currency

The currency of the payment. Must be the default currency for your country. Can be aud, cad, eur, gbp, hkd, jpy, nzd, sgd, or usd. Users in Denmark, Norway, Sweden, or Switzerland must use eur.

name

The name of the account holder (optional).

email

The email address of the account holder (optional).

returnUrl

The URL the customer should be redirected to after the authorization process.

See also