createBancontactParams

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

Create Bancontact Source params.

Return

a SourceParams object that can be used to create a Bancontact 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). The charge amount must be at least €1 or its equivalent in the given currency.

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).

preferredLanguage

The preferred language of the Bancontact authorization page that the customer is redirected to. Supported values are: en, de, fr, or nl (optional).

See also