Skip to main content
Accept Klarna payments with Stripe as the payment service provider (PSP). The customer selects Klarna, confirms the purchase on a Klarna page and returns to your site.

Supported workflows

WorkflowSupported
Payrails SDK✔
Payrails API✔
Delayed / Manual Capture✔
Instant Capture✔
Cancel / Void✔
Refund / Reverse✔
Save Instruments✖
Merchant Initiated Transaction (MIT)✖

Before you begin

Complete these steps before you send your first Klarna payment through Stripe:
  1. Set up a Stripe integration in your workspace. Follow the Stripe integration setup guide if you don’t have one yet.
  2. Turn on Klarna in your Stripe Dashboard payment method settings, and check that your Stripe account is eligible for Klarna.
  3. In the Payrails Portal, go to Settings → Integrations, open your Stripe integration, select Klarna under Payment methods, and save.
  4. Add Klarna as a payment option in your workflow.

Request fields for Stripe

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a Klarna payment

Call authorize a payment with klarna as the paymentMethodCode and hpp as the integrationType. The response includes the redirect to Klarna.
Authorize request
After the customer confirms the purchase, Klarna returns them to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How Stripe handles Klarna

  • With delayed capture, Payrails creates the Stripe payment with manual capture, so you capture or cancel it later. With instant capture, Stripe captures the payment when the customer confirms it.
  • Send an amount greater than zero.
  • Each Klarna payment is a new customer-initiated payment.
Last modified on October 19, 2026