Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Klarna

Accept pay later payments through Klarna.

Klarna provides pay later payments through a payment gateway integration. The declared method supports refunds and automatic, manual, or sequential automatic capture, but not mandates. Incoming webhooks are not supported by the connector, so status updates rely on API synchronization.

Status and capabilities

Integration status: live

Category: payment gateway

Webhook flows: None declared in code

Payment method
Type
Mandates
Refunds
Capture methods
Countries
Currencies

pay later

Klarna

not supported

supported

automatic, manual, sequential automatic

22

12

Authentication

Supply an API Username and API Password in the connector configuration. Hyperswitch combines them as <API username>:<API password>, Base64-encodes the result, and sends it as Authorization: Basic <base64(username:password)> on connector requests. See KlarnaAuthType::try_from() and get_auth_header().

Before you start

  1. Register with Klarna at klarna.com/international/business.

  2. Create or sign in to your account in the Hyperswitch control center.

  3. In the Klarna merchant portal, go to Settings → API credentials to find the API Username and API Password.

  4. Enable the same payment methods in Klarna that you plan to select in Hyperswitch.

  5. Have the credentials listed in Authentication ready.

To connect Klarna to your Hyperswitch account, follow Activate a connector on Hyperswitch, then return here for what Klarna supports.

Webhooks

Klarna webhooks are not currently processed by this connector. Do not configure Klarna webhooks as the source of status updates in Hyperswitch. The incoming webhook implementation returns EventNotSupported and WebhooksNotImplemented; see get_webhook_event_type().

Source reference

Klarna connector implementation and Klarna data mappings

Last updated

Was this helpful?