Klarna
Klarna is a "Buy Now, Pay Later" payment method allowing you to defer or spread the cost of payments.
Make yourself familiar with our API Principles to ensure a resilient integration.
Product Overview
Why use Klarna
It offers your customers the option to either:
- defer payment by 30 days
- spread the cost over three (four in some markets) equal interest-free instalments
- spread the cost up to 36 months (with financing)
- pay the full ammount immediately with "Pay Now" for card, local domestic or local bank transfer payments
You benefit from reduced cart abandonment, an increase in sales and a reduction in risk.
Brand and marketing guidelines
Follow the link for the latest guidelines from Klarna.
Feature summary
Payment type | Countries | Recurring | Reversals | Partial Reversals | Disputes | Auth only |
---|---|---|---|---|---|---|
Pay Now, Pay in Parts, Pay Later, Financing | AT,BE,FI,DE,NL,NO,ES,SE,CH | ❌ | ✅ |
| Handled directly via Klarna. Worldpay will deduct the funds if the dispute is lost. | ✅ |
Refunds are completed through Klarna to your customer's account within 365 days and you can submit multiple partial refunds for one payment.
Acceptance currencies
Currency | Currency Codes |
---|---|
Czech Koruna | CZK |
Danish Krone | DKK |
Euro | EUR |
Norwegian Krone | NOK |
Polish Złoty | PLN |
Pound Sterling | GBP |
Swedish Krona | SEK |
Swiss Franc | CHF |
Get Started
Get started using our API Reference and set your headers.
Request
POST
https://try.access.worldpay.com/apmPayments
Example request
{ "paymentId": "HZ75WBkfRwmD9YzLSZFnQ--xazN30hqhileEoUF53VKlDSUrxrcX5x_wn93uYUZB26bWaGtSc4n1mbKHCn5p1tAsrh_YcN6kEXom71Xl4C2K6uz6RKmSmP_m7-TgEHezOhzH5eLvBJHPh6ir8ugqJqGjb7dlrQPJ4byuGHVAMZ8", "lastEvent": "pending", "_links": { "self": { "href": "https://try.access.worldpay.com/apmPayments/HZ75WBkfRwmD9YzLSZFnQ--xazN30hqhileEoUF53VKlDSUrxrcX5x_wn93uYUZB26bWaGtSc4n1mbKHCn5p1tAsrh_YcN6kEXom71Xl4C2K6uz6RKmSmP_m7-TgEHezOhzH5eLvBJHPh6ir8ugqJqGjb7dlrQPJ4byuGHVAMZ8" } }, "_actions": {}, "redirect": "https://mock.hpp.worldpay.com/app/hpp/xyz/integration/wpg?Ticket=12345678&OrderKey=blah", "paymentInstrument": { "method": "paypal", "type": "redirect" } }
You must settle the payment, using next action links, when using Klarna with a token.
Parameters
Used to route the request in Access Worldpay, created as part of on-boarding.
Object that contains the payment type and details.
The type of instrument.
The value of the payment.
The amount in the lowest denomination of the currency e.g. pennies for GBP, cents for USD.
The supported ISO 4217 currency codes.
The description shown on your customer's bank statement for the payment.
The type of instruction.
Indicates whether the transaction should be sent for settlement now = true
, or later = false
at a time of your choosing.
We suggest you provide the cancelURL
,failureURL
, pendingURL
and successURL
attribute to redirect your customer to, once you have received the payment result.
Response
Successful response
- an HTTP code 201
- an id which is unique to the payment - we recommend storing the "id" as this can be used to manage the payment later
- a url to redirect your customer to the APM provider to complete the payment
- a link to query the payment status
- an object which will give flow information such as
method
(e.g.klarna
), type (e.g.direct
for the Redirect URL flow)
Example Response
{
"paymentId": "uK9Oh5zz4yKhGuFofhhnC056-K6qn-w8Krt2pRT2oSzwh_KRcHUrrs1qJtQso9gjgJ_wwjT869eMBB_T4PM4D6HdjtgfjDBh7htEkjHxp4Q_KzkRIENkZoejad--FtjVrMslJn1mvz4mwr-TuKlP9ZAhBEzSApkfhL__fXCo-vMkR1a2Zrj_R8rGSgu6m2Wd",
"lastEvent": "pending",
"_links": {
"self": {
"href": "https://try.access.worldpay.com/apmPayments/uK9Oh5zz4yKhGuFofhhnC056-K6qn-w8Krt2pRT2oSzwh_KRcHUrrs1qJtQso9gjgJ_wwjT869eMBB_T4PM4D6HdjtgfjDBh7htEkjHxp4Q_KzkRIENkZoejad--FtjVrMslJn1mvz4mwr-TuKlP9ZAhBEzSApkfhL__fXCo-vMkR1a2Zrj_R8rGSgu6m2Wd"
}
},
"_actions": {},
"redirect": "https://secure-test.worldpay.com/jsp/test/shopper/APMSTSimulator.jsp?customerRef=3417843726&paymentMethod=KLARNA_PAYNOW&country=DE",
"paymentInstrument": {
"method": "klarna",
"type": "direct"
}
}
Errors
Check out our API reference for the full error code schema.
Next Steps