createWeChatPayParams
fun createWeChatPayParams(@IntRange(from = 0) amount: Long, currency: String, weChatAppId: String, statementDescriptor: String? = null): SourceParams
Create WeChat Pay Source params.
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 of the payment. Must be the default currency for your country. Can be aud, cad, eur, gbp, hkd, jpy, sgd, or usd.
weChatAppId
Your registered WeChat Pay App ID from WeChat Open Platform.
statementDescriptor
(optional) A custom statement descriptor for the payment, maximum 32 characters. By default, your Stripe account’s statement descriptor is used (you can review this in the Dashboard.