Klarna Merchantcard API is one of 21 APIs that Klarna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Merchantcard. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes
7 operations
across 6 paths,
and defines 11 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 operations6 paths11 schemas4 GET3 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 — 4 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.
Merchantcard 7
POST
/merchantcard/v3/promises
Klarna Create a card promise
createPromisebody→ 201400503
GET
/merchantcard/v3/promises/{promise_id}
Klarna Get details of a card promise
readPromise1 param→ 200403404
POST
/merchantcard/v3/settlements
Klarna Create a card settlement
settlePromisebody→ 201400403503
GET
/merchantcard/v3/settlements/{settlement_id}
Klarna Get details of card settlement
readSettlement2 params→ 200403404
GET
/merchantcard/v3/settlements/order/{order_id}
Klarna Get card settlement details for an order
readSettlementByOrderId2 params→ 200403404
POST
/merchantcard/v3/orders/{order_id}/cancel-request
Klarna Request order cancellation
postcancelorder1 param→ 200202400403404503
GET
/merchantcard/v3/orders/{order_id}/cancel-request
Klarna Get order cancellation status
getcancelorder1 param→ 200400403404503
Schemas 11
The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are card (9 properties), settlement_response (6 properties), promise_response (5 properties), cancel_order_request_status (4 properties). Each schema is shown below with its type and property counts.
card_specification
object
4 properties3 required
cancel_order_request_status_no_request_found
object
3 properties3 required
card
object
9 properties
promise_response
object
5 properties
settlement_request
object
3 properties2 required
promise_created_response
object
2 properties
settlement_response
object
6 properties
promise_request
object
2 properties2 required
cancel_order_request_status_pending
object
2 properties2 required
cancel_order_request_status
object
4 properties1 required
cancel_order_request_status_cancelled
object
1 property1 required
Specification
The full machine-readable OpenAPI contract behind this narrative.