Klarna Partner Product API - Interoperability (v2/r5)

Download OpenAPI specification:Download

Interoperability API

Interoperability refers to the ability of Klarna's full product suite to work seamlessly across multiple integration paths.

Returns interoperability information

Returns interoperability information

Securityklarna_api_key
Request
query Parameters
interoperability_token
string (InteroperabilityToken)

Token signed by Klarna with interoperability information

Example: interoperability_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaG9wcGluZ19zZXNzaW9uX2lkIjoia3JuOnNob3BwaW5nOmV1MTpzZXNzaW9uOjBlOTIyN2MwLTBjNDAtNDdkZi04YzEwLTQwMTRmYzFiZDJiZCIsInN0YXR1cyI6IlBBWU1FTlRfUFJFUEFSRUQiLCJ2ZXJzaW9uIjoxLCJjcmVhdGVkX2F0IjoiMjAyNC0wMS0wMVQxMjowMDowMFoiLCJ1cGRhdGVkX2F0IjoiMjAyNC0wMS0wMVQxMjowMDowMFoifQ.1y87kuEKnETy_UCHbTMXx1p4mViZE816okcVmfHFZoo
country
string (Country) ^[A-Za-z]{2}$

The country code of the payment.

Example: country=US
currency
required
string (Currency) ^[A-Za-z]{3}$

The currency of the payment.

Example: currency=USD
payment_amount
integer <int64> (PaymentAmount) [ 1 .. 2147483647 ]

The amount of the payment.

Example: payment_amount=2000
purchase_reference
string (PurchaseReference) [ 1 .. 255 ] characters

The merchant reference of the payment.

Example: purchase_reference=merchant-order-9876
platform_reference
string (PlatformReference) [ 1 .. 256 ] characters

The platform reference of the payment.

Example: platform_reference=paltform-order-9876
Responses
200

Interoperability information

400

Bad Request, there was an error in the input of the request. The request can not be retried without modifications.

401

Unauthorized, the request was not authorized.

404

Not Found, the requested resource was not found.

429

Too Many Requests, the request was rate limited.

500

Internal Server Error, there was an unexpected error in the API.

503

Service Temporarily Unavailable, the system is temporarily unavailable to process the request.

get/v2/interoperability
Request samples
Response samples
application/json
{
  • "shopping_session_id": "krn:shopping:eu1:live:session:b1de90a1-1069-414c-a119-2b8e68f9e252",
  • "payment_confirmation_token": "krn:payment:eu1:confirmation-token:e15432a5-ebcc-45bc-944c-e61399db597b",
  • "status": "PAYMENT_PENDING_CONFIRMATION"
}