Klarna is a fintech payments platform that lets merchants offer shoppers flexible checkout options — including pay now, pay later, and instalment plans — while handling payment processing, risk, and customer checkout flows to boost conversions.
Supported Transaction Types
Authorisation
Capture
Purchase
Refund
Withdrawal
Integrations Supported
Deposit
Hosted Payment Page
Direct Connect ( server-to-server)
Refunds
Hosted Payment Page
Direct Connect ( server-to-server)
Additional properties required to process Klarna
You must include the following properties, including ForcePayment to force payment routing to occur via Interac.
Description | Hosted Payment Page (Deposits) | Direct Connect (Refunds) |
|---|---|---|
Transaction type | "TransactionType": "PURC" | "TransactionType": "PARTIALREFUND", |
Force Transaction Routing | “Routing”:{ "ForcePayment": "KLARNA” } | “Routing”:{ "ForcePayment": "KLARNA” } |
Client Information | "Client": { "email": "customer+payment-closed@email.de", "clientAccount": "testing", "firstName": "John", "lastName": "Doe", "country": "DEU", "mobileNo": "+491713920102", "street": "12A, 10435 Berlin", "city": "Berlin", "ZIPCode": "10176", "state": "", "dateOfBirth": "1977-12-31", "IPAddress": "127.0.0.1" | N/A |
PaymentDestination Information | N/A | "PspId": "1020167", |
Test Indicator (required in Sandbox Environment only) | "isTest”: true | |
Below is a sample deposit request.
{
"TransactionType": "PURC",
"Amount": "10.00",
"Currency": "EUR",
"Country": "DEU",
"OrderReference": "KlarnaOrder1",
"RedirectionURL": "https:/www.yourURLhere.com/Redirect/",
"FailRedirectionURL": "https://yourURLhere.com/FailRedirect/",
"CallBackURL": "https://www.yourURLhere.com/Listener",
"Routing": {
"ForcePayment": "KLARNA"
},
"IsTest": "True",
"Profile": "showandedit",
"Client": {
"email": "customer+payment-closed@email.de",
"clientAccount": "testing",
"firstName": "John",
"lastName": "Doe",
"country": "DEU",
"mobileNo": "+491713920102",
"street": "12A, 10435 Berlin",
"city": "Berlin",
"ZIPCode": "10176",
"state": "",
"dateOfBirth": "1977-12-31",
"IPAddress": "127.0.0.1"
}
}Below is a sample Refund request.
{
"TransactionType": "PARTIALREFUND",
"PspId": "1020167",
"Amount": "10.00",
"Currency": "EUR",
"OrderReference": "Klarna refund",
"RedirectionURL": "https:/www.yourURLhere.com/Redirect/",
"CallBackURL": "https://www.yourURLhere.com/Listener",
"IsTest": "True"
}