Skip to main content

Klarna

Features
MethodAsync - GET Redirect
CountriesAustria, Belgium, Denmark, France, Germany, Finland, Italy, Netherlands, Norway, Poland, Portugal, Spain, Sweden, Switzerland, United Kingdom
Processing currenciesCHF, DKK, EUR, GBP, NOK, PLN, SEK
Increments-
Captures-
Partial/Multiple partial captures-
Cancels-
Partial/Multiple partial cancels-
Refunds
Partial/Multiple partial refunds
Recurring-
Installments-
Credits-
Disputes-
Min Amount0.01
Account verification-

Klarna is a Swedish fintech company that provides online financial services. The company provides payment processing services for the e-commerce industry, managing store claims and customer payments. The company is a "buy now, pay later" service provider.

When a consumer shops online using the Klarna payment method, the merchant sends a payment to the PSP.

The merchant redirects to the Klarna page and allows the customer to complete the purchase.

Payment flow

Klarna payment flow

Payment

Request

{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "c5211d6b-0178-49f8-a06b-69df097a712f",
"amount": {
"value": 200,
"currency": "sek"
},
"paymentMethod": {
"type": "klarna",
"klarna": {
"returnUrl": "https://merchant.site/complete-payment",
"consumer": {
"name": "John Doe"
},
"order": {
"taxAmount": {
"value": 3,
"currency": "sek"
},
"items": [
{
"name": "red shoes",
"amount": {
"value": 200,
"currency": "sek"
},
"quantity": 1,
"unitAmount": {
"value": 200,
"currency": "sek"
}
}
]
}
}
}
}

Response

{
"id": "27yiW9MgzBtwiodreuNOXk0rtIw",
"merchantReference": "c5211d6b-0178-49f8-a06b-69df097a712f",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "get",
"url": "https://payment.method/complete"
}
}
}