Klarna Partner Management API (v2/r6)

Download OpenAPI specification:Download

Management API provides comprehensive capabilities for managing partner accounts and their associated data. It allows for full control over data objects within an account, enabling the creation, updating, and deletion of resources as needed.

API Keys

Create an API Key

Create a new API-key credential


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
description
string^[a-zA-Z0-9\-:;., _]{0,100}$

Description provided by the partner when creating a set of credentials

validation-info: Validation against the length
Responses
201

Credential created

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.

post/v2/account/integration/credentials/api-key
Request samples
application/json
{
  • "description": "Production API Credentials"
}
Response samples
application/json
{
  • "credential_id": "krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "description": "Production API Credentials",
  • "type": "API",
  • "environment": "LIVE",
  • "secret": {
    },
  • "status": "ENABLED"
}

List all API Keys

List all credentials associated with the current account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Credentials found

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.

get/v2/account/integration/credentials/api-key
Request samples
Response samples
application/json
{
  • "credentials": [
    ]
}

Read an API Key

Read all details from a Credential


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Credential details

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.

get/v2/account/integration/credentials/api-key/{credential_id}
Request samples
Response samples
application/json
{
  • "credential_id": "krn:partner:global:test:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "status": "ENABLED",
  • "description": "Test API Credentials",
  • "type": "API",
  • "environment": "TEST"
}

Update an API Key

Update details of a Credential.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
description
string^[a-zA-Z0-9\-:;., _]{0,100}$

Description provided by the partner when creating a set of credentials

validation-info: Validation against the length
Responses
200

Credential was updated successfully

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.

patch/v2/account/integration/credentials/api-key/{credential_id}
Request samples
application/json
{
  • "description": "Test API Credentials"
}
Response samples
application/json
{
  • "credential_id": "krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "status": "ENABLED",
  • "description": "Test API Credentials",
  • "type": "API",
  • "environment": "TEST"
}

Disable an API Key

Disable a Credential.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
204

Credential deactivated with success

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.

delete/v2/account/integration/credentials/api-key/{credential_id}
Request samples
Response samples
application/json
{
  • "error_id": "5a3f6b9c-9b3b-4b7e-8f9d-9b9a4b9a4b9a",
  • "error_type": "INPUT_ERROR",
  • "error_code": "INVALID_CONTENT_TYPE",
  • "error_message": "The received input is not valid JSON.\nUnterminated string at 19 [character 20 line 1].\n"
}

Client Identifiers

Create a Client Identifier

Create a new credential


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
description
string^[a-zA-Z0-9\-:;., _]{0,100}$

Description provided by the partner when creating a set of credentials

validation-info: Validation against the length
Responses
201

Credential created

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.

post/v2/account/integration/credentials/client-identifier
Request samples
application/json
{
  • "description": "Production Client Identifier"
}
Response samples
application/json
{
  • "credential_id": "krn:partner:global:live:credential:client:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "identity": {
    },
  • "status": "ENABLED",
  • "description": "Production Client Identifier",
  • "type": "CLIENT",
  • "environment": "LIVE"
}

List all Client Identifiers

List all credentials associated with the current account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Credentials found

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.

get/v2/account/integration/credentials/client-identifier
Request samples
Response samples
application/json
{
  • "credentials": [
    ]
}

Read a Client Identifier

Read all details from a Credential


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Credential details

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.

get/v2/account/integration/credentials/client-identifier/{credential_id}
Request samples
Response samples
application/json
{
  • "credential_id": "krn:partner:global:test:credential:client:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "identity": {
    },
  • "status": "ENABLED",
  • "description": "Test Client ID credential",
  • "type": "CLIENT",
  • "environment": "TEST"
}

Update a Client Identifier

Update details of a Credential.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
description
string^[a-zA-Z0-9\-:;., _]{0,100}$

Description provided by the partner when creating a set of credentials

validation-info: Validation against the length
Responses
200

Credential was updated successfully

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.

patch/v2/account/integration/credentials/client-identifier/{credential_id}
Request samples
application/json
{
  • "description": "Test API Credentials"
}
Response samples
application/json
{
  • "credential_id": "krn:partner:global:test:credential:client:120e5b7e-dee8-43ca-9858-dca726e639b5",
  • "identity": {
    },
  • "status": "ENABLED",
  • "description": "Test Client ID credential",
  • "type": "CLIENT",
  • "environment": "TEST"
}

Disable a Client Identifier

Disable a Credential.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
204

Credential deactivated with success

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.

delete/v2/account/integration/credentials/client-identifier/{credential_id}
Request samples
Response samples
application/json
{
  • "error_id": "5a3f6b9c-9b3b-4b7e-8f9d-9b9a4b9a4b9a",
  • "error_type": "INPUT_ERROR",
  • "error_code": "INVALID_CONTENT_TYPE",
  • "error_message": "The received input is not valid JSON.\nUnterminated string at 19 [character 20 line 1].\n"
}

Client Certificates

Revoke a Client Certificate

Revokes a client certificate


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) ^krn:partner:global:(test|live|dev):credentia...

Identifier of the Credential

Example: krn:partner:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Validation against the pattern
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
revoked_from
required
string <date-time> (ClientCertificateRevokedFrom)

Date when the certificate expires

validation-info: Check that it's a date and time in ISO 8601 format.
Responses
200

Client certificate revoked

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.

post/v2/account/integration/credentials/client-certificate/{credential_id}/revoke
Request samples
application/json
{
  • "revoked_from": "2021-12-31T23:59:59Z"
}
Response samples
application/json
{
  • "credential_id": "krn:partner:global:live:credential:client_cert:2C8A1053F979D1E8C96A3A9357AE7D1E",
  • "description": "Live client certificate",
  • "type": "CLIENT_CERT",
  • "environment": "LIVE",
  • "identity": {
    },
  • "config": {
    },
  • "status": "DISABLED"
}

Payment Profiles

A Payment Profile represents a combination of a price plan and a payment program. It can be used by Acquiring Partners during onboarding of sub-partners to attach the configuration to the payment product.

List all Payment Profiles

Fetches all payments profiles. The payment profiles returned may be used during onboarding to attach configuration to a payment product.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

List of Payment Profiles

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.

get/v2/distribution/products/payment/profiles
Request samples
Response samples
application/json
[
  • {
    }
]

Onboard

The onboard API allows the authenticated Account to create a fully functional account with associated business entity, product, stores etc.

Onboard a merchant

Onboard a new merchant. This request creates all necessary entries to have a fully functional account for the merchant.


SLO Category: The SLO Service Category. Operations that facilitate the onboarding of a new partner account with Klarna.Account Onboarding
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that does not directly impact the core purchasing process in real-time and enables supplemental or secondary featuresTransactions Non-critical Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
partner_account_reference
required
string

Reference for the Distribution Partner in relation to the merchant being onboarded.

validation-info: tbd
partner_account_name
required
string

The name of the account, business name or similar.

validation-info: tbd
required
object

The account owner details

validation-info: Validation that is not null and is a valid object
required
Array of objects (PartnerBusinessEntityData) = 1 items

Information about business entities for this merchant

validation-info: Validates that the items on the array match the expected format
required
Array of objects (PaymentProductRequestData) = 1 items

Information about which products are being configured for this merchant

validation-info: Validates that the items on the array match the expected format
required
Array of objects (BrandData) = 1 items

Branding data

validation-info: Validates that the items on the array match the expected format
required
Array of objects = 1 items

Store groups data

validation-info: Validates that the items on the array match the expected format
object (SupplementaryAccountData)

Supplementary business information that might be relevant for fraud detection purposes

validation-info: tbd
Responses
200

Merchant account created

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.

Callbacks
postWebhook callback
post/v2/distribution/onboard
Request samples
application/json
{
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "John Doe Stakehouse",
  • "partner_account_contact": {
    },
  • "products": [
    ],
  • "brands": [
    ],
  • "store_groups": [
    ],
  • "partner_business_entities": [
    ]
}
Response samples
application/json
{
  • "partner_account_id": "krn:partner:global:account:live:LWT2XJSE",
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "Merchant ABC US",
  • "state": "PARTIALLY_OPERATIONAL",
  • "state_reason": "INITIAL_SETUP"
}
Callback payload samples
POST: Webhook callback
application/json

The webhook is triggered once the distribution partner's account state changes.

{
  • "metadata": {
    },
  • "payload": {
    }
}

Migration

Onboard a legacy merchant

Onboard an existing merchant to Management API. This request overwrites all existing data with the new data provided.


SLO Category: The SLO Service Category. Operations that facilitate the onboarding of a new partner account with Klarna.Account Onboarding
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that does not directly impact the core purchasing process in real-time and enables supplemental or secondary featuresTransactions Non-critical Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
partner_account_reference
required
string

Reference for the Distribution Partner in relation to the merchant being onboarded.

validation-info: tbd
partner_account_name
required
string

The name of the account, business name or similar.

validation-info: tbd
required
object

The account owner details

validation-info: Validation that is not null and is a valid object
required
Array of objects (PartnerBusinessEntityData) = 1 items

Information about business entities for this merchant

validation-info: Validates that the items on the array match the expected format
required
Array of objects (PaymentProductMigrationData) = 1 items

Information about which products are being configured for this merchant

validation-info: Validates that the items on the array match the expected format
Array of objects (BrandData) = 1 items

Branding data

validation-info: Validates that the items on the array match the expected format
required
Array of objects (StoreGroupData) = 1 items

Store groups data

validation-info: Validates that the items on the array match the expected format
object (SupplementaryAccountData)

Supplementary business information that might be relevant for fraud detection purposes

validation-info: tbd
Responses
200

Merchant account created

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.

Callbacks
postWebhook callback
post/v2/distribution/migrate
Request samples
application/json
{
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "John Doe Stakehouse",
  • "partner_account_contact": {
    },
  • "products": [
    ],
  • "brands": [],
  • "store_groups": [],
  • "partner_business_entities": [
    ]
}
Response samples
application/json
{
  • "partner_account_id": "krn:partner:global:account:live:LWT2XJSE",
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "Merchant ABC US",
  • "state": "PARTIALLY_OPERATIONAL",
  • "state_reason": "INITIAL_SETUP"
}
Callback payload samples
POST: Webhook callback
application/json

The webhook is triggered once the distribution partner's account state changes.

{
  • "metadata": {
    },
  • "payload": {
    }
}

Accounts

The Accounts API allows the authenticated Partner to create, read, manage the different Accounts it has access to. Partner Accounts represent a specific company that may have access to Klarna's products. It is used to calculate authorization for every operation, and groups all objects created for that company under a single entry-point.

Read Partner Account

Read all details from a given Partner Account which the acting Account has read access on. Optionally, include additional sub-resources in the response by using the expand query parameter. The expand parameter accepts a comma-separated list of supported sub-resource names. Each specified sub-resource will be included in the response if available. Maximum of 10 sub-resources can be expanded per request.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Partner Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
query Parameters
expand
Array of strings <= 10 items

A comma-separated list of sub-resources to include in the response. Maximum of 10 sub-resources can be expanded per request.

Items Enum: "partner_busines_entities" "products" "brands" "store_groups" "store_groups.stores"
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Account details

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.

get/v2/accounts/{partner_account_id}
Request samples
Response samples
application/json
{
  • "partner_account_id": "krn:partner:global:account:live:LWT2XJSE",
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "Merchant ABC US",
  • "partner_account_contact": {
    },
  • "products": [
    ],
  • "state": "OPERATIONAL",
  • "state_reason": "SETUP_COMPLETE",
  • "partner_business_entities": [
    ],
  • "brands": [
    ],
  • "store_groups": []
}

Update Account

Update details from an Partner Account which the acting Account has write access on. May receive nested objects as part of this request, which will result in an asyncronous operation, moving the status of the account to PARTIALLY_OPERATIONAL until all updates are completed.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Partner Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
partner_account_reference
string (PartnerAccountGroupReference)

Reference for the Distribution Partner in relation to the group of merchant being onboarded.

validation-info: tbd
partner_account_name
string

The name of the account, business name or similar.

validation-info: tbd
object (PartnerAccountContact)

The account owner details

validation-info: Validation that is not null and is a valid object
Responses
200

Account details

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.

patch/v2/accounts/{partner_account_id}
Request samples
application/json
{
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "Merchant ABC US",
  • "partner_account_contact": {
    }
}
Response samples
application/json
{
  • "partner_account_id": "krn:partner:global:account:live:LWT2XJSE",
  • "partner_account_reference": "M123786123412",
  • "partner_account_name": "John Doe Stakehouse",
  • "partner_account_contact": {
    },
  • "state": "PARTIALLY_OPERATIONAL",
  • "state_reason": "ACCOUNT_UPDATE"
}

Partner Business Entities

The Partner Business Entities API allows the authenticated Partner to read the Partner Business Entities connected to a Partner Account. A Partner Business Entity represent an specific business that is utilizing Klarna's Products, and it's associated with an specific registered legal entity.

Get all partner business entities available

Lists all partner business entities available under an account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
query Parameters
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

A paginated collection of partner business entities

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.

get/v2/accounts/{partner_account_id}/partner-business-entities
Request samples
Response samples
application/json
{
  • "partner_business_entities": [
    ],
  • "pagination": {}
}

Read a specific partner business entity

Obtain information about a specific Partner Business Entity


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
partner_business_entity_id
required
string (PartnerBusinessEntityIdentifier)

Identifier of the Partner Business Entity to obtain the data

Example: krn:partner:accounts:partner-business-entity:206bbb83-9b6e-46fa-940d-337153c04a58
validation-info: Validates that the resource exists.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The partner business entity with the given ID was found and retrieved

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.

get/v2/accounts/{partner_account_id}/partner-business-entities/{partner_business_entity_id}
Request samples
Response samples
application/json
{
  • "partner_business_entity_id": "krn:partner:accounts:partner-business-entity:206bbb83-9b6e-46fa-940d-337153c04a58",
  • "partner_business_entity_reference": "business_entity_1",
  • "legal_registered_entity_name": "Legal Entity LLC",
  • "legal_registration_country": "US",
  • "enabled_merchant_category_codes": [
    ],
  • "supplementary_business_data": {
    }
}

Update a Partner Business Entity

Update a specific Partner Business Entity


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
partner_business_entity_id
required
string (PartnerBusinessEntityIdentifier)

Identifier of the Partner Business Entity to obtain the data

Example: krn:partner:accounts:partner-business-entity:206bbb83-9b6e-46fa-940d-337153c04a58
validation-info: Validates that the resource exists.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
object (SupplementaryBusinessData)

Supplementary business information that might be relevant for fraud detection purposes

validation-info: tbd
Responses
200

The partner business entity was updated

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.

patch/v2/accounts/{partner_account_id}/partner-business-entities/{partner_business_entity_id}
Request samples
application/json
{
  • "supplementary_business_data": {
    }
}
Response samples
application/json
{
  • "partner_business_entity_id": "krn:partner:accounts:partner-business-entity:206bbb83-9b6e-46fa-940d-337153c04a58",
  • "partner_business_entity_reference": "business_entity_1",
  • "legal_registered_entity_name": "Legal Entity LLC",
  • "legal_registration_country": "US",
  • "enabled_merchant_category_codes": [
    ],
  • "supplementary_business_data": {
    }
}

Brands

A Brand is is the set of names, logos and colors that facilitate communication and marketing towards consumers for a given company or merchant.

Get all brands available

Lists all brands available under an account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
query Parameters
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

A paginated collection of brands

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.

get/v2/accounts/{partner_account_id}/brands
Request samples
Response samples
application/json
{}

Read a specific brand

Obtain information about a specific Brand


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
brand_id
required
string (BrandIdentifier)

Identifier of the Brand to obtain the data

Example: krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The brand with the given ID was found and returned

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.

get/v2/accounts/{partner_account_id}/brands/{brand_id}
Request samples
Response samples
application/json
{
  • "brand_id": "krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613",
  • "display_name": "My Branding DE",
  • "brand_reference": "My_Branding_Ref_DE",
  • "element": {
    }
}

Update a Brand

Update a specific Brand


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
brand_id
required
string (BrandIdentifier)

Identifier of the Brand to obtain the data

Example: krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
display_name
required
string

Brand name

validation-info: The brand name should be present
brand_reference
required
string (BrandReference)

String reference to the brand without needing to keep track of Klarna IDs.

validation-info: There is validation that the resource exists. No validation in the format.
object

The branding assets defined for the collection

validation-info: The brand name should be present
Responses
200

The brand was updated

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.

patch/v2/accounts/{partner_account_id}/brands/{brand_id}
Request samples
application/json
{
  • "display_name": "My Branding DE",
  • "brand_reference": "My_Branding_Ref_DE",
  • "element": {
    }
}
Response samples
application/json
{
  • "brand_id": "krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613",
  • "display_name": "My Branding DE",
  • "brand_reference": "My_Branding_Ref_DE",
  • "element": {
    }
}

Stores

A Store represents where, physically or digital, a Klarna product is used. Although right now only websites are supported, in the future physical addresses and mobile apps may be used.

Get all stores available

Lists all stores available under an account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
query Parameters
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

A paginated collection of stores

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.

get/v2/accounts/{partner_account_id}/stores
Request samples
Response samples
application/json
{}

Read a specific Store

Obtain information about a specific Store


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
store_id
required
string (StoreIdentifier)

Identifier of the Store to obtain the data

Example: krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The store with the given ID was found and returned

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.

get/v2/accounts/{partner_account_id}/stores/{store_id}
Request samples
Response samples
application/json
{}

Update a Store

Update a specific Store


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
store_id
required
string (StoreIdentifier)

Identifier of the Store to obtain the data

Example: krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
type
required
string (StoreType)

List of store types supported by Management API

validation-info: String has to be part of enum list
store_reference
required
string (StoreReference)

The reference assigned by the partner to the store

validation-info: String has to be present and up to 80 characters
url
required
string

The applicable base domain url for the website

Responses
200

The store was updated

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.

patch/v2/accounts/{partner_account_id}/stores/{store_id}
Request samples
application/json
{}
Response samples
application/json
{}

Store Groups

A Store Group allows multiple stores to share configuration information such as support contacts, social media links and brands.

Get all store groups available

Lists all store groups available under an account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
query Parameters
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

A paginated collection of store groups

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.

get/v2/accounts/{partner_account_id}/store-groups
Request samples
Response samples
application/json
{}

Read a specific Store Group

Obtain information about a specific Store Group


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
store_group_id
required
string (StoreGroupIdentifier)

Identifier of the Store Group to obtain the data

Example: krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The store group of the given ID was found and retrieved

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.

get/v2/accounts/{partner_account_id}/store-groups/{store_group_id}
Request samples
Response samples
application/json
{}

Update a Store Group

Update a specific Store Group


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
store_group_id
required
string (StoreGroupIdentifier)

Identifier of the Store Group to obtain the data

Example: krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: There is validation that the resource exists. No validation in the format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
store_group_reference
required
string (StoreGroupReference)

Unique reference the partner uses to identify the store group

validation-info: Validates that the resource exists.
object (SupportContact)

The list of customer support contact point

validation-info: Validation that the object has the right shape and email, phone and contact_form are valid.
Array of objects (SocialMediaLinks)
validation-info: Validation for the shape of the object, the enum of the provider, and that the URL is valid
required
Array of objects (StoreData)
validation-info: tbd
Responses
200

The store group was updated

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.

patch/v2/accounts/{partner_account_id}/store-groups/{store_group_id}
Request samples
application/json
{}
Response samples
application/json
{}

Payment Products

The Accounts API allows the authenticated Partner to create, read, manage the Payment Products on an Account. Payment Products represent the ability of a Klarna account to utilize Klarna's payment offering, and essentially sell goods to consumers.

Get all account payment products

Obtains a list of all payment products associated with the account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Partner Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

List of payment products

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.

get/v2/accounts/{partner_account_id}/products/payment
Request samples
Response samples
application/json
[
  • {
    }
]

Disable a Payment Product

Disables the Payment Product on an account for the given reason.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Partner Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
required
PaymentProductDefault (string) or PaymentProductIdentifier (string)

Identifier of the Payment Product the action is done on behalf of. Use default to apply the action on the unique payment product.

header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
reason
required
string

The reason for disabling the Payment Product

Enum: "FRAUD" "VOLUNTARY"
validation-info: Strict validation against the enum (FRAUD | VOLUNTARY)
reason_details
required
string

Allows the partner to pass additional information regarding the disabling of the product

validation-info: Validation that the field is maximum 500 characters.
Responses
200

Payment product disabled

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.

Callbacks
postWebhook callback
postDeprecated - Webhook callbackDeprecated
post/v2/accounts/{partner_account_id}/products/payment/{product_id}/disable
Request samples
application/json
{
  • "reason": "FRAUD",
  • "reason_details": "Fraudulent activity detected"
}
Response samples
application/json
{
  • "product_id": "krn:partner:global:account:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918",
  • "type": "PAYMENT",
  • "payment_profile_id": "krn:partner:global:account:payment-profile:206bbb83-9b6e-46fa-940d-337153c04a58",
  • "payment_accounts": [
    ],
  • "state": "DISABLED",
  • "state_reason": "FRAUD_BY_PARTNER",
  • "state_context": {
    }
}
Callback payload samples
application/json

The webhook is triggered once the distribution partner's account payment product is disabled.

{
  • "metadata": {
    },
  • "payload": {
    }
}

Enable a Payment Product

Enable a Payment Product on an account.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Partner Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
required
PaymentProductDefault (string) or PaymentProductIdentifier (string)

Identifier of the Payment Product the action is done on behalf of. Use default to apply the action on the unique payment product.

header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Payment product enabled

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.

Callbacks
postWebhook callback
postDeprecated - Webhook callbackDeprecated
post/v2/accounts/{partner_account_id}/products/payment/{product_id}/enable
Request samples
Response samples
application/json
{
  • "product_id": "krn:partner:global:account:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918",
  • "type": "PAYMENT",
  • "payment_profile_id": "krn:partner:global:account:payment-profile:206bbb83-9b6e-46fa-940d-337153c04a58",
  • "payment_accounts": [
    ],
  • "state": "ENABLED",
  • "state_reason": "APPROVED"
}
Callback payload samples
application/json

The webhook is triggered once the distribution partner's account payment product is enabled.

{
  • "metadata": {
    },
  • "payload": {
    }
}

Payment Accounts

The Payment Accounts API allows the authenticated Partner to create, read, manage the Payment Account on a Payment Product. Payment Accounts allows for a client defined identifier to be attached to a combination of payment configuration, partner legal entity, MCC and store, in order to facilitate payment integration later.

Read Payment Accounts

Obtain information about a specific Payment Account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
required
PaymentProductDefault (string) or PaymentProductIdentifier (string)

Identifier of the Payment Product the action is done on behalf of. Use default to apply the action on the unique payment product.

payment_account_id
required
string (PaymentAccountIdentifier)

Identifier of the Payment Account to obtain the data

Example: krn:partner:global:payment-account:test:3440b9b7-7ca2-44a3-8f62-776caacdaa0b
validation-info: Validates that the resource exists. There is no validation about the KRN format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The payment account was found

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.

get/v2/accounts/{partner_account_id}/products/payment/{product_id}/payment-accounts/{payment_account_id}
Request samples
Response samples
application/json
{
  • "payment_account_id": "krn:partner:global:payment-account:test:3440b9b7-7ca2-44a3-8f62-776caacdaa0b",
  • "status": "ENABLED",
  • "payment_account_reference": "payment_account_ref",
  • "default_merchant_category_code": "5411"
}

Update a Payment Account

Update an specific Payment Account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier)

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
required
PaymentProductDefault (string) or PaymentProductIdentifier (string)

Identifier of the Payment Product the action is done on behalf of. Use default to apply the action on the unique payment product.

payment_account_id
required
string (PaymentAccountIdentifier)

Identifier of the Payment Account to obtain the data

Example: krn:partner:global:payment-account:test:3440b9b7-7ca2-44a3-8f62-776caacdaa0b
validation-info: Validates that the resource exists. There is no validation about the KRN format.
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
payment_account_reference
string (PaymentAccountReference)

Unique reference the partner uses to identify the payment account

validation-info: Validates that the resource exists.
default_merchant_category_code
string (MerchantCategoryCode)

The Merchant Category Code (MCC) is a four-digit number that is used to classify the type of goods or services offered by a business. [Read more here (https://docs.klarna.com/klarna-network-distribution/manage-partners/merchant-category-code)

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" "1761" "1771" "1799" "2741" "2791" "2842" "3000" "3001" "3002" "3003" "3004" "3005" "3006" "3007" "3008" "3009" "3010" "3011" "3012" "3013" "3014" "3015" "3016" "3017" "3018" "3019" "3020" "3021" "3022" "3023" "3024" "3025" "3026" "3027" "3028" "3029" "3030" "3031" "3032" "3033" "3034" "3035" "3036" "3037" "3038" "3039" "3040" "3041" "3042" "3043" "3044" "3045" "3046" "3047" "3048" "3049" "3050" "3051" "3052" "3053" "3054" "3055" "3056" "3057" "3058" "3059" "3060" "3061" "3062" "3063" "3064" "3065" "3066" "3067" "3068" "3069" "3070" "3071" "3072" "3075" "3076" "3077" "3078" "3079" "3080" "3081" "3082" "3083" "3084" "3085" "3086" "3087" "3088" "3089" "3090" "3094" "3096" "3097" "3098" "3099" "3100" "3102" "3103" "3106" "3110" "3111" "3112" "3115" "3117" "3118" "3125" "3126" "3127" "3129" "3130" "3131" "3132" "3133" "3135" "3136" "3137" "3138" "3143" "3144" "3145" "3146" "3148" "3151" "3154" "3156" "3159" "3161" "3164" "3165" "3167" "3170" "3171" "3172" "3174" "3175" "3176" "3177" "3178" "3180" "3181" "3182" "3183" "3184" "3185" "3186" "3187" "3188" "3190" "3191" "3193" "3196" "3197" "3200" "3203" "3204" "3206" "3211" "3212" "3213" "3215" "3216" "3217" "3218" "3219" "3220" "3221" "3222" "3223" "3226" "3228" "3229" "3231" "3233" "3234" "3235" "3236" "3238" "3239" "3240" "3241" "3242" "3243" "3245" "3246" "3247" "3248" "3251" "3252" "3253" "3254" "3256" "3259" "3260" "3261" "3262" "3263" "3266" "3267" "3280" "3282" "3284" "3285" "3286" "3287" "3292" "3293" "3294" "3295" "3296" "3297" "3298" "3299" "3300" "3301" "3302" "3303" "3308" "3351" "3352" "3353" "3354" "3355" "3357" "3359" "3360" "3361" "3362" "3364" "3366" "3368" "3370" "3374" "3376" "3380" "3381" "3385" "3386" "3387" "3388" "3389" "3390" "3391" "3393" "3394" "3395" "3396" "3398" "3400" "3405" "3409" "3414" "3420" "3421" "3423" "3425" "3427" "3428" "3429" "3430" "3431" "3432" "3433" "3434" "3435" "3436" "3437" "3438" "3439" "3441" "3501" "3502" "3503" "3504" "3505" "3506" "3507" "3508" "3509" "3510" "3511" "3512" "3513" "3514" "3515" "3516" "3517" "3518" "3519" "3520" "3521" "3522" "3523" "3524" "3525" "3526" "3527" "3528" "3529" "3530" "3531" "3532" "3533" "3534" "3535" "3536" "3537" "3538" "3539" "3540" "3541" "3542" "3543" "3544" "3545" "3546" "3547" "3548" "3549" "3550" "3551" "3552" "3553" "3554" "3555" "3556" "3557" "3558" "3559" "3560" "3561" "3562" "3563" "3564" "3565" "3566" "3567" "3568" "3569" "3570" "3571" "3572" "3573" "3574" "3575" "3576" "3577" "3578" "3579" "3580" "3581" "3582" "3583" "3584" "3585" "3586" "3587" "3588" "3589" "3590" "3591" "3592" "3593" "3594" "3595" "3596" "3597" "3598" "3599" "3600" "3601" "3602" "3603" "3604" "3607" "3608" "3609" "3612" "3613" "3614" "3615" "3617" "3618" "3619" "3620" "3621" "3622" "3623" "3624" "3625" "3626" "3627" "3628" "3629" "3630" "3631" "3632" "3633" "3634" "3635" "3636" "3637" "3638" "3639" "3640" "3641" "3642" "3643" "3644" "3645" "3646" "3647" "3648" "3649" "3650" "3651" "3652" "3653" "3654" "3655" "3656" "3657" "3658" "3659" "3660" "3661" "3662" "3663" "3664" "3665" "3666" "3667" "3668" "3669" "3670" "3671" "3672" "3673" "3674" "3675" "3676" "3677" "3678" "3679" "3680" "3681" "3682" "3683" "3684" "3685" "3686" "3687" "3688" "3689" "3690" "3691" "3692" "3693" "3694" "3695" "3696" "3697" "3698" "3699" "3700" "3701" "3702" "3703" "3704" "3705" "3706" "3707" "3708" "3709" "3710" "3711" "3712" "3713" "3714" "3715" "3716" "3717" "3718" "3719" "3720" "3721" "3722" "3723" "3724" "3725" "3726" "3727" "3728" "3729" "3730" "3731" "3732" "3733" "3734" "3735" "3736" "3737" "3738" "3739" "3740" "3741" "3742" "3743" "3744" "3745" "3746" "3747" "3748" "3749" "3750" "3751" "3752" "3753" "3754" "3755" "3756" "3757" "3758" "3759" "3760" "3761" "3762" "3763" "3764" "3765" "3766" "3767" "3768" "3769" "3770" "3771" "3772" "3773" "3774" "3775" "3776" "3777" "3778" "3779" "3780" "3781" "3782" "3783" "3784" "3785" "3786" "3787" "3788" "3789" "3790" "3791" "3792" "3793" "3794" "3795" "3796" "3797" "3798" "3799" "3800" "3801" "3802" "3803" "3804" "3805" "3806" "3807" "3808" "3809" "3810" "3811" "3812" "3813" "3814" "3815" "3816" "3817" "3818" "3819" "3820" "3821" "3822" "3823" "3824" "3825" "3826" "3827" "3828" "3829" "3830" "3831" "3832" "3833" "3834" "3835" "3836" "3837" "3838" "3839" "4011" "4111" "4112" "4119" "4121" "4131" "4214" "4215" "4225" "4411" "4457" "4468" "4511" "4582" "4722" "4723" "4784" "4789" "4812" "4813" "4814" "4815" "4816" "4821" "4829" "4899" "4900" "5013" "5021" "5039" "5044" "5045" "5046" "5047" "5051" "5065" "5072" "5074" "5085" "5094" "5099" "5111" "5122" "5131" "5137" "5139" "5169" "5172" "5192" "5193" "5198" "5199" "5200" "5211" "5231" "5251" "5261" "5262" "5271" "5292" "5293" "5300" "5309" "5310" "5311" "5331" "5399" "5411" "5422" "5441" "5451" "5462" "5499" "5511" "5521" "5531" "5532" "5533" "5541" "5542" "5551" "5552" "5561" "5571" "5592" "5598" "5599" "5611" "5621" "5631" "5641" "5651" "5655" "5661" "5681" "5691" "5697" "5698" "5699" "5712" "5713" "5714" "5715" "5718" "5719" "5722" "5723" "5732" "5733" "5734" "5735" "5811" "5812" "5813" "5814" "5815" "5816" "5817" "5818" "5912" "5921" "5931" "5932" "5933" "5935" "5937" "5940" "5941" "5942" "5943" "5944" "5945" "5946" "5947" "5948" "5949" "5950" "5960" "5962" "5963" "5964" "5965" "5966" "5967" "5968" "5969" "5970" "5971" "5972" "5973" "5975" "5976" "5977" "5978" "5983" "5992" "5993" "5994" "5995" "5996" "5997" "5998" "5999" "6010" "6011" "6012" "6050" "6051" "6211" "6300" "6513" "6520" "6532" "6533" "6536" "6537" "6538" "6540" "7011" "7012" "7032" "7033" "7210" "7211" "7216" "7217" "7221" "7230" "7251" "7261" "7273" "7276" "7277" "7278" "7295" "7296" "7297" "7298" "7299" "7311" "7321" "7322" "7333" "7338" "7339" "7342" "7349" "7361" "7372" "7375" "7379" "7392" "7393" "7394" "7395" "7399" "7512" "7513" "7519" "7523" "7531" "7534" "7535" "7538" "7542" "7549" "7622" "7623" "7629" "7631" "7641" "7692" "7699" "7800" "7801" "7802" "7829" "7832" "7841" "7911" "7922" "7929" "7932" "7933" "7941" "7991" "7992" "7993" "7994" "7995" "7996" "7997" "7998" "7999" "8011" "8021" "8031" "8041" "8042" "8043" "8049" "8050" "8062" "8071" "8099" "8111" "8211" "8220" "8241" "8244" "8249" "8299" "8351" "8398" "8641" "8651" "8661" "8675" "8699" "8734" "8911" "8931" "8999" "9211" "9222" "9223" "9311" "9399" "9402" "9405" "9406"
validation-info: Validation that the value is 4 digit numeric "\\d{4}"'
Responses
200

The payment account was updated

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.

patch/v2/accounts/{partner_account_id}/products/payment/{product_id}/payment-accounts/{payment_account_id}
Request samples
application/json
{
  • "payment_account_reference": "payment_account_ref",
  • "default_merchant_category_code": "5411"
}
Response samples
application/json
{
  • "payment_account_id": "krn:partner:global:payment-account:test:3440b9b7-7ca2-44a3-8f62-776caacdaa0b"
}

Payment Profiles

A Payment Profile represents a combination of a price plan and a payment program. It can be used by Acquiring Partners during onboarding of sub-partners to attach the configuration to the payment product.

List all Payment Profiles

Fetches all payments profiles. The payment profiles returned may be used during onboarding to attach configuration to a payment product.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is not available in the Klarna Test environmentNot available
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is not available in the Klarna Production environmentNot available

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

List of Payment Profiles

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.

get/v2/distribution/products/payment/profiles
Request samples
Response samples
application/json
[
  • {
    }
]

Price Plans

The Partner Management API allows the Partners to retrieve the Price Plans configured for their account. Price Plans defines how a payment transaction is priced towards the Partner.

Fetch all Price Plans

Fetch all Price Plans available for the partner.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available in the Klarna Production environmentAvailable

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Price Plan list

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.

get/v2/distribution/products/payment/price-plans
Request samples
Response samples
application/json
{
  • "price_plan_id": "krn:partner:global:pricing:payment:price-plan:ad71bc48-8a07-4919-a2c1",
  • "name": "price plan",
  • "description": "Default Price Plan",
  • "versions": [
    ]
}

Read a Price Plan

A Price Plan is the definition of how a Payment transaction is priced towards the Partner. merchant_category_code parameter is required.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available in the Klarna Production environmentAvailable

Securityklarna_api_key
Request
path Parameters
price_plan_id
required
string (PricePlanIdentifier)

Identifier of the requested Price Plan

Example: krn:partner:global:payment:price-plan:171080e7-2637-4675-a224-ec032723ebdf
validation-info: There is validation that the resource exists. No validation in the format.
query Parameters
merchant_category_code
required
string (MerchantCategoryCode)

The Merchant Category Code (MCC) is a four-digit number that is used to classify the type of goods or services offered by a business. [Read more here (https://docs.klarna.com/klarna-network-distribution/manage-partners/merchant-category-code)

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" "1761" "1771" "1799" "2741" "2791" "2842" "3000" "3001" "3002" "3003" "3004" "3005" "3006" "3007" "3008" "3009" "3010" "3011" "3012" "3013" "3014" "3015" "3016" "3017" "3018" "3019" "3020" "3021" "3022" "3023" "3024" "3025" "3026" "3027" "3028" "3029" "3030" "3031" "3032" "3033" "3034" "3035" "3036" "3037" "3038" "3039" "3040" "3041" "3042" "3043" "3044" "3045" "3046" "3047" "3048" "3049" "3050" "3051" "3052" "3053" "3054" "3055" "3056" "3057" "3058" "3059" "3060" "3061" "3062" "3063" "3064" "3065" "3066" "3067" "3068" "3069" "3070" "3071" "3072" "3075" "3076" "3077" "3078" "3079" "3080" "3081" "3082" "3083" "3084" "3085" "3086" "3087" "3088" "3089" "3090" "3094" "3096" "3097" "3098" "3099" "3100" "3102" "3103" "3106" "3110" "3111" "3112" "3115" "3117" "3118" "3125" "3126" "3127" "3129" "3130" "3131" "3132" "3133" "3135" "3136" "3137" "3138" "3143" "3144" "3145" "3146" "3148" "3151" "3154" "3156" "3159" "3161" "3164" "3165" "3167" "3170" "3171" "3172" "3174" "3175" "3176" "3177" "3178" "3180" "3181" "3182" "3183" "3184" "3185" "3186" "3187" "3188" "3190" "3191" "3193" "3196" "3197" "3200" "3203" "3204" "3206" "3211" "3212" "3213" "3215" "3216" "3217" "3218" "3219" "3220" "3221" "3222" "3223" "3226" "3228" "3229" "3231" "3233" "3234" "3235" "3236" "3238" "3239" "3240" "3241" "3242" "3243" "3245" "3246" "3247" "3248" "3251" "3252" "3253" "3254" "3256" "3259" "3260" "3261" "3262" "3263" "3266" "3267" "3280" "3282" "3284" "3285" "3286" "3287" "3292" "3293" "3294" "3295" "3296" "3297" "3298" "3299" "3300" "3301" "3302" "3303" "3308" "3351" "3352" "3353" "3354" "3355" "3357" "3359" "3360" "3361" "3362" "3364" "3366" "3368" "3370" "3374" "3376" "3380" "3381" "3385" "3386" "3387" "3388" "3389" "3390" "3391" "3393" "3394" "3395" "3396" "3398" "3400" "3405" "3409" "3414" "3420" "3421" "3423" "3425" "3427" "3428" "3429" "3430" "3431" "3432" "3433" "3434" "3435" "3436" "3437" "3438" "3439" "3441" "3501" "3502" "3503" "3504" "3505" "3506" "3507" "3508" "3509" "3510" "3511" "3512" "3513" "3514" "3515" "3516" "3517" "3518" "3519" "3520" "3521" "3522" "3523" "3524" "3525" "3526" "3527" "3528" "3529" "3530" "3531" "3532" "3533" "3534" "3535" "3536" "3537" "3538" "3539" "3540" "3541" "3542" "3543" "3544" "3545" "3546" "3547" "3548" "3549" "3550" "3551" "3552" "3553" "3554" "3555" "3556" "3557" "3558" "3559" "3560" "3561" "3562" "3563" "3564" "3565" "3566" "3567" "3568" "3569" "3570" "3571" "3572" "3573" "3574" "3575" "3576" "3577" "3578" "3579" "3580" "3581" "3582" "3583" "3584" "3585" "3586" "3587" "3588" "3589" "3590" "3591" "3592" "3593" "3594" "3595" "3596" "3597" "3598" "3599" "3600" "3601" "3602" "3603" "3604" "3607" "3608" "3609" "3612" "3613" "3614" "3615" "3617" "3618" "3619" "3620" "3621" "3622" "3623" "3624" "3625" "3626" "3627" "3628" "3629" "3630" "3631" "3632" "3633" "3634" "3635" "3636" "3637" "3638" "3639" "3640" "3641" "3642" "3643" "3644" "3645" "3646" "3647" "3648" "3649" "3650" "3651" "3652" "3653" "3654" "3655" "3656" "3657" "3658" "3659" "3660" "3661" "3662" "3663" "3664" "3665" "3666" "3667" "3668" "3669" "3670" "3671" "3672" "3673" "3674" "3675" "3676" "3677" "3678" "3679" "3680" "3681" "3682" "3683" "3684" "3685" "3686" "3687" "3688" "3689" "3690" "3691" "3692" "3693" "3694" "3695" "3696" "3697" "3698" "3699" "3700" "3701" "3702" "3703" "3704" "3705" "3706" "3707" "3708" "3709" "3710" "3711" "3712" "3713" "3714" "3715" "3716" "3717" "3718" "3719" "3720" "3721" "3722" "3723" "3724" "3725" "3726" "3727" "3728" "3729" "3730" "3731" "3732" "3733" "3734" "3735" "3736" "3737" "3738" "3739" "3740" "3741" "3742" "3743" "3744" "3745" "3746" "3747" "3748" "3749" "3750" "3751" "3752" "3753" "3754" "3755" "3756" "3757" "3758" "3759" "3760" "3761" "3762" "3763" "3764" "3765" "3766" "3767" "3768" "3769" "3770" "3771" "3772" "3773" "3774" "3775" "3776" "3777" "3778" "3779" "3780" "3781" "3782" "3783" "3784" "3785" "3786" "3787" "3788" "3789" "3790" "3791" "3792" "3793" "3794" "3795" "3796" "3797" "3798" "3799" "3800" "3801" "3802" "3803" "3804" "3805" "3806" "3807" "3808" "3809" "3810" "3811" "3812" "3813" "3814" "3815" "3816" "3817" "3818" "3819" "3820" "3821" "3822" "3823" "3824" "3825" "3826" "3827" "3828" "3829" "3830" "3831" "3832" "3833" "3834" "3835" "3836" "3837" "3838" "3839" "4011" "4111" "4112" "4119" "4121" "4131" "4214" "4215" "4225" "4411" "4457" "4468" "4511" "4582" "4722" "4723" "4784" "4789" "4812" "4813" "4814" "4815" "4816" "4821" "4829" "4899" "4900" "5013" "5021" "5039" "5044" "5045" "5046" "5047" "5051" "5065" "5072" "5074" "5085" "5094" "5099" "5111" "5122" "5131" "5137" "5139" "5169" "5172" "5192" "5193" "5198" "5199" "5200" "5211" "5231" "5251" "5261" "5262" "5271" "5292" "5293" "5300" "5309" "5310" "5311" "5331" "5399" "5411" "5422" "5441" "5451" "5462" "5499" "5511" "5521" "5531" "5532" "5533" "5541" "5542" "5551" "5552" "5561" "5571" "5592" "5598" "5599" "5611" "5621" "5631" "5641" "5651" "5655" "5661" "5681" "5691" "5697" "5698" "5699" "5712" "5713" "5714" "5715" "5718" "5719" "5722" "5723" "5732" "5733" "5734" "5735" "5811" "5812" "5813" "5814" "5815" "5816" "5817" "5818" "5912" "5921" "5931" "5932" "5933" "5935" "5937" "5940" "5941" "5942" "5943" "5944" "5945" "5946" "5947" "5948" "5949" "5950" "5960" "5962" "5963" "5964" "5965" "5966" "5967" "5968" "5969" "5970" "5971" "5972" "5973" "5975" "5976" "5977" "5978" "5983" "5992" "5993" "5994" "5995" "5996" "5997" "5998" "5999" "6010" "6011" "6012" "6050" "6051" "6211" "6300" "6513" "6520" "6532" "6533" "6536" "6537" "6538" "6540" "7011" "7012" "7032" "7033" "7210" "7211" "7216" "7217" "7221" "7230" "7251" "7261" "7273" "7276" "7277" "7278" "7295" "7296" "7297" "7298" "7299" "7311" "7321" "7322" "7333" "7338" "7339" "7342" "7349" "7361" "7372" "7375" "7379" "7392" "7393" "7394" "7395" "7399" "7512" "7513" "7519" "7523" "7531" "7534" "7535" "7538" "7542" "7549" "7622" "7623" "7629" "7631" "7641" "7692" "7699" "7800" "7801" "7802" "7829" "7832" "7841" "7911" "7922" "7929" "7932" "7933" "7941" "7991" "7992" "7993" "7994" "7995" "7996" "7997" "7998" "7999" "8011" "8021" "8031" "8041" "8042" "8043" "8049" "8050" "8062" "8071" "8099" "8111" "8211" "8220" "8241" "8244" "8249" "8299" "8351" "8398" "8641" "8651" "8661" "8675" "8699" "8734" "8911" "8931" "8999" "9211" "9222" "9223" "9311" "9399" "9402" "9405" "9406"
Example: merchant_category_code=5411
validation-info: Validation that the value is 4 digit numeric "\\d{4}"'
date_time
string <date-time> (Timestamp) ^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[...

Retrieves price plan data for specified date time in UTC. If not provided, the current date will be used.

Example: date_time=2024-01-01T12:00:00Z
validation-info: Validates that the timestamp is ISO 8601 - UTC time
version
number (PricePlanVersionNumber)

Version number of Price Plan

currency
string (Currency) ^[A-Za-z]{3}$

Currency in ISO 4217 format.

Example: currency=USD
validation-info: There is validation that the provided value is a valid currency. There is no validation that the we have pricing for the given currency.
partner_country
string (Country) ^[A-Za-z]{2}$

The country where the partner is registered in ISO 3166-1 alpha-2 format.

Example: partner_country=US
customer_country
string (Country) ^[A-Za-z]{2}$

The country where the customer is registered in ISO 3166-1 alpha-2 format.

Example: customer_country=US
pricing_payment_category
string (PricingPaymentCategory)

A categorization of the payment transaction used to calculate the final pricing of that transaction.

Enum: "DIGITAL" "PHYSICAL"
payment_program_id
string (PaymentProgramId)

Applied payment program id

Example: payment_program_id=krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Price Plan was successfully found by provided price plan id, mcc and date

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.

get/v2/distribution/products/payment/price-plans/{price_plan_id}
Request samples
Response samples
application/json
{
  • "price_plan_id": "krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1",
  • "name": "price plan",
  • "description": "Default Price Plan",
  • "rates": [
    ],
  • "version": 1,
  • "effective_from": "2024-01-01T12:00:00Z",
  • "comment": "Active, effective post Jan 1 2024",
  • "pagination": {
    }
}

Payment Programs

The Payment Programs API allows the Partners to list their payment programs and enable an optional payment program.

Settlements

Downloads of Settlement reports for financial reconciliation.

Get settlement details

Get details about a specific settlement.


SLO Category: The SLO Service Category. Operations that provide access to settlement-related functionalities, including retrieval and reconciliation.Settlements
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId)

The unique identifier of a settlement.

Example: krn:partner:eu1:settlement:live:113574395
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Ok

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.

Callbacks
postWebhook: Settlement report created
get/v2/settlements/{settlement_id}
Request samples
Response samples
application/json
{
  • "settlement_id": "krn:partner:eu1:settlement:live:113574395",
  • "payment_acquiring_account_id": "krn:partner:global:payment-acquiring-account:live:3440b9b7-7ca2-44a3-8f62-776caacdaa0b",
  • "payment_acquiring_account_reference": "M123786123412",
  • "created_at": "2024-10-13T00:00:00Z",
  • "period_from": "2024-10-05T00:00:00Z",
  • "period_to": "2024-10-12T00:00:00Z",
  • "settlement_amount": 200,
  • "currency": "USD",
  • "totals": {
    }
}
Callback payload samples
POST: Webhook: Settlement report created
application/json
{}

Get settlement report (CSV)

Get the details of specific settlement in CSV format, also known as the Settlement Report.

The report consist of two sections: The summary section of two lines (heading + one data row) then the transactions section (heading + n lines) starting on the third line.

Formatting details:

  • Delimiter: Comma ,
  • Values may be quoted using double quotes ".
  • Amounts are in minor currency units, $1.00 is represented as 100 unless stated otherwise.
  • Amounts are signed, positive for credits, negative for debits.
  • Percentages are represented as an integers in minor units (e.g., 15.57% is represented as 1557).
    SLO Category: The SLO Service Category. Operations that provide access to settlement-related functionalities, including retrieval and reconciliation.Settlements
    SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
    Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
    Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
    Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only
Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId)

The unique identifier of a settlement.

Example: krn:partner:eu1:settlement:live:113574395
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Ok

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/settlements/{settlement_id}/csv
Request samples
Response samples
text/csv
settlement_id,payment_acquiring_account_id,payment_acquiring_account_reference,created_at,period_from,period_to,settlement_amount,currency,capture_amount,refund_amount,capture_fixed_fee_amount,capture_variable_fee_amount,dispute_fee_amount,fee_correction_amount,chargeback_amount,correction_chargeback_amount,tax_amount,holdback_amount,release_amount,opening_debt_balance,deposit_amount,repay_amount,closing_debt_balance,paid_out_at,payout_bank_account_reference,payment_reference,,,
krn:partner:eu1:settlement:live:15328742,krn:partner:global:account:live:LWT2XJSE,M123786123412,2024-10-13T22:00:00Z,2024-10-05T22:00:00Z,2024-10-12T22:00:00Z,78743,EUR,174500,-17000,-900,-1224,-200,40,-76050,0,-423,0,0,0,0,0,0,2024-10-13T22:00:00Z,PSP US Bank Account,15328742,,,
type,detailed_type,created_at,transaction_amount,transaction_currency,,,,payment_account_id,payment_account_reference,product_id,payment_transaction_id,payment_transaction_created_at,payment_transaction_reference,payment_capture_id,payment_capture_reference,payment_refund_id,payment_refund_reference,payment_dispute_id,payment_chargeback_id,tax_amount,tax_rate,applied_transaction_fee,applied_cross_border_fee,applied_buy_rate_incentives,applied_sell_rate_incentives,price_plan_id,payment_program_id,merchant_category_code
SALE,CAPTURE,2024-09-10T09:53:25.000Z,15300,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0,2024-09-07T15:25:04.000Z,partner-transaction-reference-4567,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0:capture:1,partner-capture-ref-456,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,5912
FEE,CAPTURE_FIXED_FEE,2024-09-10T09:53:26.250Z,-100,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0,2024-09-07T15:25:04.000Z,partner-transaction-reference-4567,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0:capture:1,partner-capture-ref-456,,,,,-19,1900,-100,,0,0,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,5912
FEE,PAYMENT_VARIABLE_FEE,2024-09-10T09:53:26.250Z,-184,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0,2024-09-07T15:25:04.000Z,partner-transaction-reference-4567,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0:capture:1,partner-capture-ref-456,,,,,-35,1900,-184,,0,0,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,5912
REFUND,REFUND,2024-09-10T22:23:11.000Z,-800,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:ad71bc48-8a07-4919-a2c1-103dba3fc918,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0,2024-09-07T15:25:04.000Z,partner-transaction-reference-4567,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0:capture:1,partner-capture-ref-456,krn:payment:eu1:transaction:6debe89e-98c0-486e-b7a5-08a4f6df94b0:refund:1,partner-refund-reference-123,,,,,,,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,5912
SALE,CAPTURE,2024-09-09T09:22:25.000Z,17650,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb,2024-09-08T09:53:25.000Z,partner-transaction-reference-1111,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb:capture:1,partner-capture-ref-888,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,7011
FEE,CAPTURE_FIXED_FEE,2024-09-09T09:22:25.000Z,-100,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb,2024-09-08T09:53:25.000Z,partner-transaction-reference-1111,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb:capture:1,partner-capture-ref-888,,,,,-20,2000,-100,0,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,7011
FEE,DISPUTE_FEE,2024-09-10T18:21:25.000Z,-200,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb,2024-09-08T09:53:25.000Z,partner-transaction-reference-1111,krn:payment:eu1:transaction:72223a37-7875-490f-ab43-78434214e9fb:capture:1,partner-capture-ref-888,,,krn:payment:eu1:dispute:faulty-goods:256947,,,,,,,,,,7011
SALE,CAPTURE,2024-09-09T14:21:05.000Z,17650,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a,2024-09-04T07:03:25.000Z,partner-transaction-reference-4545,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a:capture:1,partner-capture-ref-578,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,7011
FEE,CAPTURE_FIXED_FEE,2024-09-09T14:21:05.000Z,-100,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a,2024-09-04T07:03:25.000Z,partner-transaction-reference-4545,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a:capture:1,partner-capture-ref-578,,,,,-24,2400,-157,0,57,0,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291,7011
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T14:21:05.000Z,-200,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a,2024-09-04T07:03:25.000Z,partner-transaction-reference-4545,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a:capture:1,partner-capture-ref-578,,,,,-48,2400,-269,0,69,0,,,7011
CHARGEBACK,CHARGEBACK,2024-09-10T22:15:25.000Z,-17650,EUR,,,,krn:partner:global:account:live:99d56935-fe56-4c5f-b64e-72e6ef61baec,payment_account_ref 2,krn:partner:product:payment:c1b766ea-2007-4052-9571-8f8ae0012e14,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a,2024-09-04T07:03:25.000Z,partner-transaction-reference-4545,,,,,krn:payment:eu1:dispute:faulty-goods:53633,krn:payment:eu1:transaction:4a2aa077-4629-4efe-a75d-4e12a80ac55a:chargeback:1,,,,,,,,,7011
FEE_CORRECTION,CORRECTION_PAYMENT_VARIABLE_FEE,2024-09-10T09:53:26.250Z,40,EUR,,,,krn:partner:global:account:live:55002546-6bc5-472f-b401-36c271f54464,payment_account_ref 3,krn:partner:product:payment:559f156b-9939-4710-9a4b-2b25896650e3,krn:payment:eu1:transaction:8bdaf94d-91bf-446e-aac1-82e55fed731e,2024-09-10T09:53:25.000Z,partner-transaction-reference-33232,krn:payment:eu1:transaction:8bdaf94d-91bf-446e-aac1-82e55fed731e:capture:1,,,,,,9,2300,,,,,krn:partner:global:pricing:payments:price-plan:ad71bc48-8a07-4919-a2c1,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
SALE,CAPTURE,2024-09-09T12:55:25.000Z,8000,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:1,partner-capture-ref-100,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
FEE,CAPTURE_FIXED_FEE,2024-09-09T12:55:25.000Z,-100,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:1,partner-capture-ref-100,,,,,-19,1900,-170,0,0,70,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T12:55:25.000Z,-96,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:1,partner-capture-ref-100,,,,,-18,1900,-155,0,0,59,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
SALE,CAPTURE,2024-09-09T22:47:36.000Z,4500,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:2,partner-capture-ref-200,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
FEE,CAPTURE_FIXED_FEE,2024-09-09T22:47:36.000Z,-100,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:2,partner-capture-ref-200,,,,,-19,1900,-100,0,0,0,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T22:47:36.000Z,-54,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:18af645c-9945-4a7f-a595-85a71d7c7664,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0,2024-09-01T05:27:57.512Z,partner-transaction-reference-874,krn:payment:eu1:transaction:16a484d1-859b-489f-8969-d92dccc7a3a0:capture:2,partner-capture-ref-200,,,,,-10,1900,-54,0,0,0,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5331
SALE,CAPTURE,2024-09-09T13:51:20.000Z,8000,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:1,partner-capture-ref-999,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
FEE,CAPTURE_FIXED_FEE,2024-09-09T13:51:20.000Z,-100,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:1,partner-capture-ref-999,,,,,-23,2300,-170,0,0,70,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T13:51:20.000Z,-96,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:1,partner-capture-ref-999,,,,,-22,2300,-155,0,0,59,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
SALE,CAPTURE,2024-09-09T17:11:32.000Z,4500,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:2,partner-capture-ref-888,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
FEE,CAPTURE_FIXED_FEE,2024-09-09T17:11:32.000Z,-100,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:2,partner-capture-ref-888,,,,,-23,2300,-100,0,0,0,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T17:11:32.000Z,-54,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:2,partner-capture-ref-888,,,,,-12,2300,-54,0,0,0,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
REFUND,REFUND,2024-09-10T21:20:21.000Z,-8000,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:1,partner-capture-ref-999,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:refund:1,partner-refund-reference-999,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
REFUND,REFUND,2024-09-10T21:20:21.000Z,-4500,EUR,,,,krn:partner:global:account:live:7d7713fc-43a2-40bd-baef-de444d85ac44,payment_account_ref 4,krn:partner:product:payment:2719962e-10ff-443a-a43b-1c6d0e07fbd9,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4,2024-09-05T10:23:23.512Z,partner-transaction-reference-541,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:capture:2,partner-capture-ref-888,krn:payment:eu1:transaction:1d85ff74-39a9-453e-9b6f-9a7808fa28c4:refund:2,partner-refund-reference-888,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,5412
SALE,CAPTURE,2024-09-09T14:51:20.000Z,45000,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:bde34d74-20fa-4171-a1e9-11d2e398734d,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779,2024-09-05T10:24:23.512Z,partner-transaction-reference-pow,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779:capture:1,partner-capture-ref-pow,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
FEE,CAPTURE_FIXED_FEE,2024-09-09T14:51:20.000Z,-100,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:bde34d74-20fa-4171-a1e9-11d2e398734d,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779,2024-09-05T10:24:23.512Z,partner-transaction-reference-pow,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779:capture:1,partner-capture-ref-pow,,,,,-19,1900,-100,0,0,70,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
FEE,PAYMENT_VARIABLE_FEE,2024-09-09T14:51:20.000Z,-540,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:bde34d74-20fa-4171-a1e9-11d2e398734d,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779,2024-09-05T10:24:23.512Z,partner-transaction-reference-pow,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779:capture:1,partner-capture-ref-pow,,,,,-103,1900,-599,0,0,59,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
REFUND,REFUND,2024-09-10T22:20:21.000Z,-3700,EUR,,,,krn:partner:global:account:live:c0342d28-62b7-4d13-a685-840298a90d73,payment_account_ref,krn:partner:product:payment:bde34d74-20fa-4171-a1e9-11d2e398734d,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779,2024-09-05T10:24:23.512Z,partner-transaction-reference-1478,,,krn:payment:eu1:transaction:4be3768f-e4a3-470d-98e1-645749f72779:refund:1,partner-refund-reference-pow,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
SALE,CAPTURE,2024-09-09T13:51:20.000Z,58400,EUR,,,,krn:partner:global:account:live:ba251a3c-314d-4551-a282-c4e1e5d94353,payment_account_ref 5,krn:partner:product:payment:c0981a4c-fadc-4718-96db-f639f9a18cac,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6,2024-09-01T08:03:25.000Z,partner-transaction-reference-4545,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6:capture:1,partner-capture-ref-555,,,,,,,,,,,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
FEE,CAPTURE_FIXED_FEE,2024-09-09T13:51:20.000Z,-100,EUR,,,,krn:partner:global:account:live:ba251a3c-314d-4551-a282-c4e1e5d94353,payment_account_ref 5,krn:partner:product:payment:c0981a4c-fadc-4718-96db-f639f9a18cac,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6,2024-09-01T08:03:25.000Z,partner-transaction-reference-4545,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6:capture:1,partner-capture-ref-555,,,,,-23,2300,-170,0,0,70,krn:partner:global:pricing:payments:price-plan:baff081e-c246-4ba1-ad94-e4f913a77a34,krn:partner:global:pricing:payments:program:6bda01c4-ee39-4aec-a160-f2a7fa3ce90d,7011
CHARGEBACK,CUSTOMER_PAYMENT_DEFAULT,2024-09-09T05:51:21.000Z,-58400,EUR,,,,krn:partner:global:account:live:ba251a3c-314d-4551-a282-c4e1e5d94353,payment_account_ref 5,krn:partner:product:payment:c0981a4c-fadc-4718-96db-f639f9a18cac,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6,2024-09-01T08:03:25.000Z,partner-transaction-reference-4545,,,,,,krn:payment:eu1:transaction:169dafea-394e-48be-8418-363fcb2f06b6::chargeback:1,,,,,,,,,7011

List settlement transactions

Lists all transactions for a specific settlement.


SLO Category: The SLO Service Category. Operations that provide access to settlement-related functionalities, including retrieval and reconciliation.Settlements
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId)

The unique identifier of a settlement.

Example: krn:partner:eu1:settlement:live:113574395
query Parameters
size
integer <int32>

Limits the number of items to be returned. If omitted, the default page size will be used.

Example: size=20
starting_after
string

A cursor used in pagination, referring to a specific item. The last_item returned from a previous call can be used here. The next page will list items after this item. Cannot be used together with ending_before. If both starting_after and ending_before are omitted, the first page will be returned.

Example: starting_after=Zpq6F3mDYtwK8
ending_before
string

A cursor used in pagination, referring to a specific item. The first_item returned from a previous call can be used here. The next page will list items up until, but not including, this item. Cannot be used together with starting_after. If both starting_after and ending_before are omitted, the first page will be returned.

Example: ending_before=Zpq6F3mDYtwK8
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

Ok

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/settlements/{settlement_id}/transactions
Request samples
Response samples
application/json
{
  • "transactions": [
    ],
  • "pagination": {}
}

Get payout status

Gets the status of the settlement payout. If more than one payout attempts have been made, the latest status will be returned.


SLO Category: The SLO Service Category. Operations that provide access to settlement-related functionalities, including retrieval and reconciliation.Settlements
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId)

The unique identifier of a settlement.

Example: krn:partner:eu1:settlement:live:113574395
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The payout status for the latest payout attempt.

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/settlements/{settlement_id}/payouts/status
Request samples
Response samples
application/json
{
  • "payout_id": "krn:partner:eu1:settlement:live:123456789:payouts:1",
  • "paid_out_at": "2024-01-01T12:00:00Z",
  • "payout_amount": 200,
  • "currency": "USD",
  • "status": "PROCESSED",
  • "payout_bank_account_reference": "string",
  • "payment_reference": "113574395"
}

User Access

The User Access API allows the authenticated Account to create, update or delete user access to the Merchant Portal.

Create or update user access

Create or update access to the Portal for a user.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only

Securityklarna_api_key
Request
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Request Body schema: application/json
required
jwt
required
string

The JWT token that contains the subject and roles. The token should be signed with the partner's private key and the signing certificate included in the x5c header. The token should contain the following claims:

  • iss: Account ID of requesting partner, e.g. krn:partner:global:account:live:LWT2XJSE
  • jti: A unique token ID, e.g. a4728c02-9885-41bf-b539-251ffa7f7eaa
  • sub: Email of the user to give access to, e.g. test@partner.com
  • iat: Time the token was issued in UTC, e.g. 1516239022
  • exp: Expiration time of the token in UTC, e.g. 1516239022
  • account_id: Account ID of the partner to give the user access to, e.g. krn:partner:global:account:live:LWT2XJ
  • roles: The roles to be assigned to the user, e.g. [merchant:admin, merchant:developer]
  • expires_at: Optional. The date when the access expires in YYYY-MM-DD format, e.g. 2024-12-31. Must be a future date.
  • inactivity_grace_period: Optional. ISO 8601 duration string specifying how long the access remains valid after user inactivity, e.g. P30D for 30 days. Must be between 1 day and 6 months.
validation-info: Must be a signed JWT
Responses
201

Access successfully created.

204

Access successfully updated.

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.

post/v2/portal/user-access
Request samples
application/json
{
  • "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
Response samples
application/json
{
  • "error_id": "5a3f6b9c-9b3b-4b7e-8f9d-9b9a4b9a4b9a",
  • "error_type": "INPUT_ERROR",
  • "error_code": "INVALID_CONTENT_TYPE",
  • "error_message": "The received input is not valid JSON.\nUnterminated string at 19 [character 20 line 1].\n"
}

Delete user access

Deletes all user access, scoped by account and/or principal.


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available for testing purposes only in the Klarna Production environment and should not be use to process real transactionsTest-only

Securityklarna_api_key
Request
query Parameters
partner_account_id
string (PartnerAccountIdentifier)

The ID of the account to remove access for. This or principal are required.

Example: partner_account_id=krn:partner:global:account:live:LWT2XJSE
validation-info: There is a validation about the presence of the partner_account_id and if it has the right credentials to perform the action
principal
string

The ID or email of the user to remove access from. This or account_id are required.

Examples:
principal=krn:partner:global:portal:user:b0ac4fb5-2975-4417-ae76-f2ac86fb6c6d
principal=example@domain.com
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
204

Access successfully deleted

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.

delete/v2/portal/user-access
Request samples
Response samples
application/json
{
  • "error_id": "5a3f6b9c-9b3b-4b7e-8f9d-9b9a4b9a4b9a",
  • "error_type": "INPUT_ERROR",
  • "error_code": "INVALID_CONTENT_TYPE",
  • "error_message": "The received input is not valid JSON.\nUnterminated string at 19 [character 20 line 1].\n"
}

Decision

The Compliance API allows to get information regarding compliance decisions taken on accounts.

Get all decisions for an account

Get all decisions for an account


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available in the Klarna Production environmentAvailable

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string
Example: krn:partner:account:206bbb83-9b6e-46fa-940d-337153c04a58
query Parameters
size
integer <int32>
Default: 20
starting_after
string
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The decisions are found

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.

Callbacks
postCompliance decision created webhook callback
get/v2/accounts/{partner_account_id}/compliance/decisions
Request samples
Response samples
application/json
{
  • "pagination": {
    },
  • "decisions": [
    ]
}
Callback payload samples
POST: Compliance decision created webhook callback
application/json
{
  • "metadata": {
    },
  • "payload": {
    }
}

Get a decision

Get a decision


SLO Category: The SLO Service Category. Operations that enable the management of an existing partner account, supporting retrieval, updates, and deletion.Account Operations
SLA Service Class: The SLA Service Class this operation is classified at when evaluating SLA compliance. Operations, webhooks and other services that are outside the scope of both Transaction Critical and Transaction Non-critical OperationsAdditional Services
Lifecycle Stage: The Lifecycle Stage tag in operations and attributes defines completeness of the feature for usage Feature under development, may not be fully available and is subject to change as we continue building the service in partnership with early usersEarly Release
Availability in Test environment: Indicates if the feature is available in the Klarna Test environment Feature is available in the Klarna Test environmentAvailable
Availability in Production environment: Indicates if the feature is available in the Klarna Production environment Feature is available in the Klarna Production environmentAvailable

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string
Example: krn:partner:account:206bbb83-9b6e-46fa-940d-337153c04a58
decision_id
required
string
Example: krn:partner:global:compliance:decision:5cd46f7e-573d-4b02-bab8-1f1c0e343291
header Parameters
required
object

Metadata about the integrator and originators of the request in n object, serialized as a valid JSON

Example: object=[object Object]
Responses
200

The decision is found

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.

get/v2/accounts/{partner_account_id}/compliance/decisions/{decision_id}
Request samples
Response samples
application/json
{
  • "decision_id": "string",
  • "decision_type": "NON_COMPLIANT",
  • "partner_account_id": "string",
  • "product_instance_id": "string",
  • "created_at": "2019-08-24T14:15:22Z"
}