Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Klarna Refunds API

The Refunds API from Klarna — 2 operation(s) for refunds.

Klarna Refunds API is one of 21 APIs that Klarna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Refunds. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.0.0, at version 1.1.

Requests are made against a single base URL, https://api.klarna.com.

2 operations 2 paths 7 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.1
Base URL
https://api.klarna.com
License
Klarna Bank AB
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Refunds 2
POST
/ordermanagement/v1/orders/{order_id}/refunds
Klarna Refund an order
refundOrder 2 params body → 201403404
GET
/ordermanagement/v1/orders/{order_id}/refunds/{refund_id}
Klarna Get refund details
get 2 params → 200404

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are order_line (15 properties), Refund (7 properties), ProductIdentifiers (6 properties), RefundObject (4 properties). Each schema is shown below with its type and property counts.

Refund not allowed error message
object
3 properties
ProductIdentifiers
object
productidentifiers
6 properties
Refund
object
7 properties
RefundObject
object
4 properties 1 required
Not found error message
object
3 properties
subscription
object
Subscription information, such as the cadence and product name of the subscription that an order line item belongs to.
3 properties 3 required
order_line
object
List of order lines for the capture shown to the customer.
15 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

klarna-refunds-api-openapi.yml Raw ↑

Other APIs Klarna publishes across the network.

Klarna Payments API
Klarna Checkout API
Klarna Order Management API
Klarna Customer Token API
Klarna Settlements API
Klarna Push Notifications
Klarna Captures API
Klarna Checkout API
Klarna Customer Token API
Klarna Hpp API
Klarna Merchant Urls.address Update API
Klarna Merchant Urls.country Change API