createKlarna

fun createKlarna(returnUrl: String, currency: String, klarnaParams: KlarnaSourceParams): SourceParams

Create params for a Klarna Source

Klarna Payments with Sources

Parameters

returnUrl

The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application.

currency

Three-letter ISO code for the currency associated with the source. This is the currency for which the source will be chargeable once ready.

klarnaParams

Klarna-specific params