createGiropayParams

fun createGiropayParams(@IntRange(from = 0) amount: Long, name: String, returnUrl: String, statementDescriptor: String? = null): SourceParams

Create Giropay Source params.

Return

a SourceParams object that can be used to create a Giropay 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).

name

The full name of the account holder.

returnUrl

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

statementDescriptor

A custom statement descriptor for the payment (optional).

See also