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 Captures API

The Captures API from Klarna — 6 operation(s) for captures.

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

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

This API exposes 7 operations across 6 paths, and defines 16 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.

7 operations 6 paths 16 schemas 3 GET1 PATCH3 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 7

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

Captures 7
POST
/ordermanagement/v1/orders/{order_id}/captures
Klarna Capture an order
captureOrder 2 params body → 201403404
GET
/ordermanagement/v1/orders/{order_id}/captures
Klarna List all order captures
getCaptures 1 param → 200404
GET
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}
Klarna Get capture details
getCapture 2 params → 200404
PATCH
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}/extend-due-date
Klarna Extend payment due date
extendDueDate 3 params body → 204403404
GET
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}/extend-due-date-options
Klarna List options for extension of payment due date
getOptionsForExtendDueDate 2 params → 200404
POST
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}/shipping-info
Klarna Add shipping information
appendShippingInfo 3 params body → 204403404
POST
/ordermanagement/v1/orders/{order_id}/captures/{capture_id}/trigger-send-out
Klarna Send customer communication
triggerSendOut 3 params → 204403404

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are order_line (15 properties), address (13 properties), Capture (11 properties), shipping_info (7 properties). Each schema is shown below with its type and property counts.

No such capture error message
object
3 properties
No such order error message
object
3 properties
ProductIdentifiers
object
productidentifiers
6 properties
shipping_info
object
Shipping information for this capture.
7 properties
Capture
object
11 properties
address
object
Shipping address for the capture.
13 properties
ExtendDueDateRequest
object
1 property 1 required
CaptureObject
object
Capture request data
6 properties 1 required
OptionDto
object
The available options and corresponding fees for extending the due date
2 properties
Not allowed error message
object
3 properties
Capture not allowed error message
object
3 properties
ErrorMessageDto
object
3 properties
order_line
object
List of order lines for the capture shown to the customer.
15 properties 4 required
ExtendDueDateOptions
object
2 properties
UpdateShippingInfo
object
1 property 1 required
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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

klarna-captures-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 Checkout API
Klarna Customer Token API
Klarna Hpp API
Klarna Merchant Urls.address Update API
Klarna Merchant Urls.country Change API
Klarna Merchant Urls.shipping Option Update API