KlarnaSourceParams
Model representing parameters for creating a Klarna Source.
See Klarna Payments with Sources
Note: The optional fields billingEmail, billingPhone, billingAddress, billingFirstName, billingLastName, and billingDob can be provided to skip Klarna's customer information form.
If this information is missing, Klarna will prompt the customer for these values during checkout. Be careful with this option: If the provided information is invalid, Klarna may reject the transaction without giving the customer a chance to correct it.
Constructors
Types
Required for customers located in the US.
Properties
An Address for the customer. At a minimum, Address.line1, Address.postalCode, Address.city, and Address.country must be provided.
The customer's date of birth. This will be used by Klarna for a credit check in some EU countries.
An email address for the customer.
The customer's first name.
The customer's last name.
A phone number for the customer.
Required for customers located in the US. This determines whether Pay Later and/or Slice It is offered to a US customer.
A list of LineItem. Klarna will present these on the confirmation page. The total amount charged will be a sum of the LineItem.totalAmount of each of these items.
The URL the customer should be redirected to after they have successfully verified the payment.