Klarna Partner Management API (v2/r7)

Download OpenAPI specification:Download

The Management API provides comprehensive capabilities for managing partner accounts and their associated data. It enables full control over account resources, allowing for the creation, updating, and deletion of data objects 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 Fully available for general use of Klarna PartnersGeneral Availability
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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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

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:network: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 partner 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 Fully available for general use of Klarna PartnersGeneral Availability
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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 Fully available for general use of Klarna PartnersGeneral Availability
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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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:network: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 Fully available for general use of Klarna PartnersGeneral Availability
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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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:network: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 Fully available for general use of Klarna PartnersGeneral Availability
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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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

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:network: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 partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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:network: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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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:network: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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
revoked_from
required
string <date-time> (ClientCertificateRevokedFrom) >= 0 characters

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

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:network:global:live:credential:client_cert:2C8A1053F979D1E8C96A3A9357AE7D1E",
  • "description": "Live client certificate",
  • "type": "CLIENT_CERT",
  • "environment": "LIVE",
  • "identity": {
    },
  • "config": {
    },
  • "status": "DISABLED"
}

SFTP Credentials

Create SFTP Credentials

Create new credentials for SFTP access


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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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

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/sftp
Request samples
application/json
{
  • "description": "Test SFTP Credentials - Bookkeeping"
}
Response samples
application/json
{
  • "credential_id": "krn:network:global:test:credential:sftp:A45JQZF7-416555d3",
  • "type": "SFTP",
  • "environment": "TEST",
  • "description": "Test SFTP Credentials - Bookkeeping",
  • "secret": {
    },
  • "identity": {
    },
  • "status": "ENABLED"
}

List all SFTP credentials

List all SFTP credentials associated with the current partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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/sftp
Request samples
Response samples
application/json
{
  • "credentials": [
    ]
}

Read an SFTP Credential

Read all details from a SFTP 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 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the SFTP Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

SFTP credential details

400

Bad Request

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/sftp/{credential_id}
Request samples
Response samples
application/json
{
  • "credential_id": "krn:network:global:test:credential:sftp:A45JQZF7-416555d3",
  • "type": "SFTP",
  • "environment": "TEST",
  • "description": "Test SFTP Credentials - Bookkeeping",
  • "identity": {
    },
  • "status": "ENABLED"
}

Disable a SFTP Credential

Disable a SFTP Credential. The credentials cannot be re-enabled.


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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
credential_id
required
string (CredentialIdentifier) [ 5 .. 100 ] characters

Identifier of the SFTP Credential

Example: krn:network:global:live:credential:api:120e5b7e-dee8-43ca-9858-dca726e639b5
validation-info: Opaque string with size constraints
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
204

SFTP 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/sftp/{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"
}

Onboard

The onboard API allows the authenticated Partner Account to create a fully functional partner 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 partner 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
Ratelimit Category: The Ratelimit Category. Operations necessary to onboard a new partner account.Account Onboarding

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
partner_account_reference
required
string (PartnerAccountReference) [ 0 .. 255 ] characters

A unique string reference for the partner account, used by the integrator to identify the partner account without relying on Klarna-generated IDs. This reference should be unique within the partner's system.

validation-info: Alphanumeric string with maximum length and unique within the distribution partner's onboarded partner accounts.
partner_account_name
required
string (PartnerAccountName) >= 0 characters

A human-readable name that represents the current partner, such as the company conglomerate name, a brand, or similar. Not used for customer interactions.

validation-info: Alphanumeric string
required
object

The primary contact for this partner account.

validation-info: Validates that it is not empty and is a valid object.
required
Array of objects (PartnerBusinessEntityData) non-empty

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) non-empty

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) non-empty

List of brands used by the partner account. The brand object represents a brand associated with a partner account. Contains the public-facing name and branding assets that will be visible to customers across platforms.

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

List of store groups to be created for the partner account. Contains references, support contact information, and social media links for the group.

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

Supplementary business information that may be relevant for fraud detection purposes.

validation-info: tbd
Responses
200

Partner account created

400

Bad Request

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": {
    }
}

Partner Accounts

Read Partner Account

Read all details from a given Partner Account which the acting partner account has read access to. 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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"
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Partner 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 Partner Account

Update details for a Partner Account which the acting partner account has write access to. May receive nested objects as part of this request, which will result in an asynchronous operation, moving the status of the partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
partner_account_reference
string (PartnerAccountReference) [ 0 .. 255 ] characters

A unique string reference for the partner account, used by the integrator to identify the partner account without relying on Klarna-generated IDs. This reference should be unique within the partner's system.

validation-info: Alphanumeric string with maximum length and unique within the distribution partner's onboarded partner accounts.
partner_account_name
string (PartnerAccountName) >= 0 characters

A human-readable name that represents the current partner, such as the company conglomerate name, a brand, or similar. Not used for customer interactions.

validation-info: Alphanumeric string
object (PartnerAccountContact)

The primary contact for this partner account.

validation-info: Validates that it is not empty and is a valid object.
Responses
200

Partner 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": "OPERATIONAL",
  • "state_reason": "SETUP_COMPLETE"
}

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.

Create a Partner Business Entity

Create a new 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
partner_business_entity_reference
required
string (PartnerBusinessEntityReference) [ 0 .. 255 ] characters

Unique reference used by the partner to identify the business entity.

validation-info: Validates that the resource exists.
legal_registered_entity_name
required
string >= 0 characters

Official registered name of the legal entity.

validation-info: tbd
legal_registration_country
required
string (Country) ^[A-Za-z]{2}$

Country in ISO 3166-1 alpha-2 format.

validation-info: Country code must be in ISO 3166-1 alpha-2 format.
enabled_merchant_category_codes
required
Array of strings (MerchantCategoryCode) = 1 items

Merchant Category Codes (MCCs) under which the business entity operates.

Items Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
validation-info: Must be one of the elements of the enum
object (SupplementaryBusinessData)

Supplementary business information that may be relevant for fraud detection purposes

validation-info: Properties are validated as described in the model
Responses
200

The partner business entity was 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/accounts/{partner_account_id}/partner-business-entities
Request samples
application/json
{
  • "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": {
    }
}
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": {
    }
}

Get all partner business entities available

Lists all partner business entities available under a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
partner_business_entity_id
required
string (PartnerBusinessEntityIdentifier) non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
partner_business_entity_id
required
string (PartnerBusinessEntityIdentifier) non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
object (SupplementaryBusinessMutableData)

Mutable supplementary business information that may be relevant for fraud detection purposes

validation-info: Properties are validated as described in the model
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 the set of names, logos, and colors that facilitate communication and marketing towards consumers for a given company or merchant.

Create a Brand

Create a new 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
display_name
required
string >= 0 characters

The public-facing name of the business, such as the brand name or "Doing Business As" (DBA) name. This is how customers will recognize the business across platforms. As a fallback, the Legal Entity registration name should be used when a brand is not available.

validation-info: Alphanumeric string
brand_reference
required
string (BrandReference) [ 0 .. 255 ] characters

A unique string reference for the brand, used by the partner to identify the brand without relying on Klarna-generated IDs.

validation-info: Alphanumeric string with maximum length and unique within the partner account the brand belongs to.
object

The collection of branding assets for this brand, such as logos and images used in customer-facing interfaces.

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

The brand was 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/accounts/{partner_account_id}/brands
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": {
    }
}

Get all brands available

Lists all brands available under a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
brand_id
required
string (BrandIdentifier) >= 0 characters

Identifier of the Brand to obtain the data

Example: krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
brand_id
required
string (BrandIdentifier) >= 0 characters

Identifier of the Brand to obtain the data

Example: krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
display_name
string >= 0 characters

The public-facing name of the business, such as the brand name or "Doing Business As" (DBA) name. This is how customers will recognize the business across platforms. As a fallback, the Legal Entity registration name should be used when a brand is not available.

validation-info: Alphanumeric string
brand_reference
string (BrandReference) [ 0 .. 255 ] characters

A unique string reference for the brand, used by the partner to identify the brand without relying on Klarna-generated IDs.

validation-info: Alphanumeric string with maximum length and unique within the partner account the brand belongs to.
object

The collection of branding assets for this brand, such as logos and images used in customer-facing interfaces.

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.

Create a Store

Create a new 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
type
required
string (StoreType)

The type of store supported by the Management API. Determines the channel through which the merchant interacts with customers.

validation-info: String must be part of the enum list.
store_reference
required
string (StoreReference) [ 0 .. 80 ] characters

The reference assigned by the partner to the store.

validation-info: String must be present and up to 80 characters.
store_group_id
required
string (StoreGroupIdentifier) non-empty

A unique identifier assigned by Klarna to an existing store group. Used to reference the store group in Klarna's systems and APIs.

validation-info: The existence of the resource is validated, but there is no validation for the format.
store_group_reference
string (StoreGroupReference) [ 0 .. 255 ] characters

Unique reference the partner uses to identify the store group.

validation-info: Validates that the resource exists.
url
required
string >= 0 characters

The applicable base domain URL for the website.

Responses
200

The store was 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/accounts/{partner_account_id}/stores
Request samples
application/json
{
  • "type": "WEBSITE",
  • "store_reference": "999888777",
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
  • "store_group_reference": "store_group_1",
}
Response samples
application/json
{
  • "store_id": "krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613",
  • "type": "WEBSITE",
  • "store_reference": "999888777",
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
}

Get all stores available

Lists all stores available under a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
store_id
required
string (StoreIdentifier) non-empty

Identifier of the Store to obtain the data

Example: krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
{
  • "store_id": "krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613",
  • "type": "WEBSITE",
  • "store_reference": "999888777",
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
}

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
store_id
required
string (StoreIdentifier) non-empty

Identifier of the Store to obtain the data

Example: krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
type
required
string

The type of store. Must match the type of the store being changed.

validation-info: Matches the type being changed
store_reference
string (StoreReference) [ 0 .. 80 ] characters

The reference assigned by the partner to the store.

validation-info: String must be present and up to 80 characters.
store_group_id
string (StoreGroupIdentifier) non-empty

A unique identifier assigned by Klarna to an existing store group. Used to reference the store group in Klarna's systems and APIs.

validation-info: The existence of the resource is validated, but there is no validation for the format.
store_group_reference
string (StoreGroupReference) [ 0 .. 255 ] characters

Unique reference the partner uses to identify the store group.

validation-info: Validates that the resource exists.
url
string >= 0 characters

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
{
  • "type": "WEBSITE",
  • "store_reference": "999888777",
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
  • "store_group_reference": "store_group_1",
}
Response samples
application/json
{
  • "store_id": "krn:partner:global:account:stores:88c175c8-b578-4392-8e61-015c1b5df613",
  • "type": "WEBSITE",
  • "store_reference": "999888777",
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
}

Store Groups

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

Create a Store Group

Create a new 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
store_group_reference
required
string (StoreGroupReference) [ 0 .. 255 ] characters

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 points.

validation-info: Validation for the shape of the object, the enum of the provider, and that the URL is 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.
brand_reference
required
string (BrandReference) [ 0 .. 255 ] characters

A unique string reference for the brand, used by the partner to identify the brand without relying on Klarna-generated IDs.

validation-info: Alphanumeric string with maximum length and unique within the partner account the brand belongs to.
required
Array of objects (StoreData) non-empty
validation-info: Object following the specified format
Responses
200

The store group was 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/accounts/{partner_account_id}/store-groups
Request samples
application/json
{}
Response samples
application/json
{
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
  • "brand_id": "krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613",
  • "store_group_reference": "store_group_1",
  • "support_contact": {},
  • "social_media_links": [],
  • "stores": [
    ]
}

Get all store groups available

Lists all store groups available under a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
store_group_id
required
string (StoreGroupIdentifier) non-empty

Identifier of the Store Group to obtain the data

Example: krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
{
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
  • "brand_id": "krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613",
  • "store_group_reference": "store_group_1",
  • "support_contact": {},
  • "social_media_links": [],
  • "stores": [
    ]
}

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
store_group_id
required
string (StoreGroupIdentifier) non-empty

Identifier of the Store Group to obtain the data

Example: krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613
validation-info: The existence of the resource is validated, but there is no validation for the format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
store_group_reference
string (StoreGroupReference) [ 0 .. 255 ] characters

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 points.

validation-info: Validation for the shape of the object, the enum of the provider, and that the URL is 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.
brand_id
string (BrandIdentifier) >= 0 characters

A unique identifier assigned by Klarna to an existing brand. This value is used to reference the brand in Klarna's systems and APIs.

validation-info: The existence of the resource is validated, but there is no validation for the format.
brand_reference
string (BrandReference) [ 0 .. 255 ] characters

A unique string reference for the brand, used by the partner to identify the brand without relying on Klarna-generated IDs.

validation-info: Alphanumeric string with maximum length and unique within the partner account the brand belongs to.
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
{
  • "store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613",
  • "brand_id": "krn:partner:global:account:brand:88c175c8-b578-4392-8e61-015c1b5df613",
  • "store_group_reference": "store_group_1",
  • "support_contact": {},
  • "social_media_links": [],
  • "stores": [
    ]
}

Payment Products

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

List payment products

Obtains a list of all payment products associated with the partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 >= 0 characters

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": {
    }
}

Re-enable a Payment Product

Re-enable a Payment Product on a partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment product enabled

400

Bad Request

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.

Create a Payment Account

Create a new 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
payment_account_reference
required
string (PaymentAccountReference) [ 0 .. 255 ] characters

A unique string reference for the payment account, used by the partner to identify the payment account without relying on Klarna-generated IDs.

validation-info: Alphanumeric string, must be unique for all payment accounts created by the integrator.
payment_acquiring_account_id
required
string (PaymentAcquiringAccountIdentifier) non-empty

Unique account identifier assigned by Klarna to the Acquiring Account.

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.
enabled_merchant_category_codes
Array of strings (MerchantCategoryCode)
Items Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
validation-info: Validates that the MCCs are one of the attached enum values
default_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

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
validation-info: Validation that the value is 4 digit numeric "\\d{4}"'
partner_business_entity_reference
required
string (PartnerBusinessEntityReference) [ 0 .. 255 ] characters

Unique reference used by the partner to identify the business entity.

validation-info: Validates that the resource exists.
default_store_group_reference
required
string (StoreGroupReference) [ 0 .. 255 ] characters

Unique reference the partner uses to identify the store group.

validation-info: Validates that the resource exists.
Responses
200

The payment account was 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/accounts/{partner_account_id}/products/payment/{product_id}/payment-accounts
Request samples
application/json
{
  • "payment_account_reference": "payment_account_ref",
  • "payment_acquiring_account_id": "krn:partner:global:payment-acquiring-account:live:3440b9b7-7ca2-44a3-8f62-776caacdaa0b",
  • "enabled_merchant_category_codes": [
    ],
  • "default_merchant_category_code": "5411",
  • "partner_business_entity_reference": "business_entity_1",
  • "default_store_group_reference": "store_group_1"
}
Response samples
application/json
{
  • "payment_account_id": "krn:partner:global:payment-account:test:3440b9b7-7ca2-44a3-8f62-776caacdaa0b"
}

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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) >= 0 characters

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 for the KRN format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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",
  • "partner_business_entity_id": "krn:partner:accounts:partner-business-entity:206bbb83-9b6e-46fa-940d-337153c04a58",
  • "payment_acquiring_account_id": "krn:partner:global:payment-acquiring-account:live:3440b9b7-7ca2-44a3-8f62-776caacdaa0b",
  • "default_merchant_category_code": "5411",
  • "default_store_group_id": "krn:partner:global:account:store-groups:88c175c8-b578-4392-8e61-015c1b5df613"
}

Update a Payment Account

Update 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

Identifier of the Account the action is done on behalf of

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
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) >= 0 characters

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 for the KRN format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
payment_account_reference
string (PaymentAccountReference) [ 0 .. 255 ] characters

A unique string reference for the payment account, used by the partner to identify the payment account without relying on Klarna-generated IDs.

validation-info: Alphanumeric string, must be unique for all payment accounts created by the integrator.
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

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
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 payment 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
path Parameters
price_plan_id
required
string (PricePlanIdentifier) non-empty

Identifier of the requested Price Plan

Example: krn:partner:global:payment:price-plan:171080e7-2637-4675-a224-ec032723ebdf
validation-info: The existence of the resource is validated, but there is no validation for 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

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
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
validation-info: Country code must be in ISO 3166-1 alpha-2 format.
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
validation-info: Country code must be in ISO 3166-1 alpha-2 format.
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) non-empty

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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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.

List Payment Program Plans

List payment program plans.


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 not available in the Klarna Production environmentNot available
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment program plans have been successfully 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/distribution/products/payment/payment-program-plans
Request samples
Response samples
application/json
{
  • "payment_program_plans": [
    ]
}

List all Payment Programs for a Payment Program Plan

List all payment programs for a payment program plan identifier.


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 not available in the Klarna Production environmentNot available
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
payment_program_plan_id
required
string (PaymentProgramPlanIdentifier) >= 0 characters

Identifier of the payment program plan.

Example: krn:network:global:all:payment:payment-program-plan:33deb549-aa35-4102-b9ec-56c527386111
validation-info: Validates that the resource exists. There is no validation about the KRN 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

Enum: "0742" "0743" "0744" "0763" "0780" "1520" "1711" "1731" "1740" "1750" … 899 more
Example: merchant_category_code=5411
validation-info: Validation that the value is 4 digit numeric "\\d{4}"'
customer_country
string^[A-Za-z]{2}$

Country in ISO 3166-1 alpha-2 format.

Example: customer_country=US
validation-info: Country code must be in ISO 3166-1 alpha-2 format.
transaction_currency
string^[A-Za-z]{3}$

Currency in ISO 4217 format.

Example: transaction_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.
version
number

The version number of the payment program plan.

enablement_type
string

The enablement type of the payment program.

  • PRESET - Indicates that the program is automatically enabled for the partner, and they cannot disable it themselves.
  • OPTIONAL - Partners can choose to enable or disable this program at their discretion.
  • RESTRICTED - Used for programs that are limited to specific partners, where only eligible partners may enable them.
Enum: "PRESET" "OPTIONAL" "RESTRICTED"
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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment programs list has been successfully 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/distribution/products/payment/payment-program-plans/{payment_program_plan_id}
Request samples
Response samples
application/json
{
  • "payment_program_plan_id": "krn:network:global:all:payment:payment-program-plan:33deb549-aa35-4102-b9ec-56c527386111",
  • "payment_programs": [
    ],
  • "pagination": {
    }
}

Read a Payment Program

Read payment program details for a given payment program identifier.


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 not available in the Klarna Production environmentNot available
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
payment_program_id
required
string (PaymentProgramIdentifier) >= 0 characters

Identifier of the payment program.

Example: krn:network:global:all:payment:payment-program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291
validation-info: Validates that the resource exists. There is no validation about the KRN format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment program has been successfully 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/distribution/products/payment/payment-programs/{payment_program_id}
Request samples
Response samples
application/json
{
  • "name": "Financing 0% APR - 3 months",
  • "description": "Financing with a 0% Annual Percentage Rate (APR) for 3 months.",
  • "payment_funding": {
    }
}

Create a Payment Program Enablement

Creates a payment program enablement on 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 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
payment_program_id
required
string (PaymentProgramIdentifier) >= 0 characters

The identifier of the payment program.

validation-info: Validates that the resource exists. There is no validation about the KRN format.
required
object (EnablementCriteriaRequest)

The enablement criteria of the payment program enablement.

validation-info: tbd
effective_from
required
string <date-time> ^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[...

Timestamp in ISO 8601 with timezone e.g. 2024-01-01T12:00:00Z

validation-info: Validates that the timestamp is ISO 8601 - UTC time
effective_to
string <date-time> (Timestamp) ^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[...

Timestamp in ISO 8601 with timezone e.g. 2024-01-01T12:00:00Z

validation-info: Validates that the timestamp is ISO 8601 - UTC time
Responses
201

Payment program enablement has been successfully 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/accounts/{partner_account_id}/products/payment/payment-programs/payment-program-enablements
Request samples
application/json
{
  • "payment_program_id": "krn:network:global:all:payment:payment-program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291",
  • "enablement_criteria": {
    },
  • "effective_from": "2024-01-01T12:00:00Z",
  • "effective_to": "2024-01-01T12:00:00Z"
}
Response samples
application/json
{
  • "payment_program_enablement_id": "krn:network:global:all:payment:payment-program-enablement:4cfc200a-8f19-4d99-99cc-355bbd915e7b",
  • "payment_program_id": "krn:network:global:all:payment:payment-program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291",
  • "enablement_criteria": {
    },
  • "effective_from": "2024-01-01T12:00:00Z",
  • "effective_to": "2024-01-01T12:00:00Z"
}

List all Payment Program Enablements

List all payment program enablements on 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 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment program enablements list has been successfully 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/payment-programs/payment-program-enablements
Request samples
Response samples
application/json
{
  • "payment_program_enablements": [
    ]
}

Read a Payment Program Enablement

Read a payment program enablement for a given payment program enablement identifier.


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 not available in the Klarna Production environmentNot available
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
payment_program_enablement_id
required
string (PaymentProgramEnablementIdentifier) >= 0 characters

Identifier of the payment program enablement.

Example: krn:partner:global:payment:payment-program-enablement:4b8b6350-6b72-42c5-b946-f088adcdc216
validation-info: Validates that the resource exists. There is no validation about the KRN format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

Payment program enablement has been successfully 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/payment-programs/payment-program-enablements/{payment_program_enablement_id}
Request samples
Response samples
application/json
{
  • "payment_program_enablement_id": "krn:network:global:all:payment:payment-program-enablement:4cfc200a-8f19-4d99-99cc-355bbd915e7b",
  • "payment_program_id": "krn:network:global:all:payment:payment-program:a5cd46f7e-573d-4b02-bab8-1f1c0e343291",
  • "enablement_criteria": {
    },
  • "effective_from": "2024-01-01T12:00:00Z",
  • "effective_to": "2024-12-01T00:00:00Z"
}

Delete a Payment Program Enablement

Delete a payment program enablement for a given payment program enablement identifier.


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 not available in the Klarna Production environmentNot available
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

badges: [{"name":"Preview"}]
Securityklarna_api_key
Request
path Parameters
partner_account_id
required
string (PartnerAccountIdentifier) non-empty

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

Example: krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
payment_program_enablement_id
required
string (PaymentProgramEnablementIdentifier) >= 0 characters

Identifier of the payment program enablement

Example: krn:partner:global:payment:payment-program-enablement:4b8b6350-6b72-42c5-b946-f088adcdc216
validation-info: Validates that the resource exists. There is no validation about the KRN format.
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
204

Payment program enablement has been 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/accounts/{partner_account_id}/products/payment/payment-programs/payment-program-enablements/{payment_program_enablement_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"
}

Settlements

Downloads of Settlement reports for financial reconciliation.

List settlements

Lists settlements in a certain timeframe (maximum 30 days), optionally filtered by currency and payment acquiring account id. If no timeframe is provided, the API will return the settlements for the last 7 days.


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
Ratelimit Category: The Ratelimit Category. Operations needed for processing of settlements.Settlements Processing

Securityklarna_api_key
Request
query Parameters
interval_start
string <date-time> (Timestamp) ^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[...

The start date-time of the payout period in ISO 8601 date time format. If no time is given then it defaults to the start of the current in UTC time zone, for example 2024-01-23T00:00:00Z. For this reason we recommend to use the full date-time like 2024-01-23T00:00:00Z.

Example: interval_start=2024-01-01T12:00:00Z
validation-info: Validates that the timestamp is ISO 8601 - UTC time
interval_end
string <date-time> (Timestamp) ^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]T[...

The end date-time of the payout period in ISO 8601 date time format. If no time is given then it defaults to the start of the current in UTC time zone, for example 2024-01-23T00:00:00Z, which may lead to unwanted effects if also interval_start is omitted. For this reason we recommend to use the full date-time like 2024-01-23T00:00:00Z. The end date should not be more than 30 days after the start date, otherwise it will result in bad request error.

Example: interval_end=2024-01-01T12:00:00Z
validation-info: Validates that the timestamp is ISO 8601 - UTC time
currency
string (Currency) ^[A-Za-z]{3}$

Filter the settlements by currency.

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.
payment_acquiring_account_id
string (PaymentAcquiringAccountIdentifier) non-empty

Filter the settlements by payment acquiring account id.

Example: payment_acquiring_account_id=krn:partner:global:payment-acquiring-account:live:3440b9b7-7ca2-44a3-8f62-776caacdaa0b
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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Responses
200

A list of settlements

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

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
Ratelimit Category: The Ratelimit Category. Operations needed for processing of settlements.Settlements Processing

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId) [ 1 .. 255 ] characters

The unique identifier of a settlement.

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

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
postWebhook: Settlement report CSV uploaded to SFTP
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": 599,
  • "currency": "USD",
  • "totals": {
    }
}
Callback payload samples
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.

The data returned is the same as for the Get settlement details endpoint (for the header) and the List settlement transactions endpoint. In the List settlement transactions endpoint, you can see which columns will be populated for which transaction types. If a column is not populated, it will still be in the CSV file, but with an empty value.

The current columns will not change, but new ones may be added at the end of the file in the future. No assumptions on the number of columns should be made.

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
    Ratelimit Category: The Ratelimit Category. Operations needed for processing of settlements.Settlements Processing
Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId) [ 1 .. 255 ] characters

The unique identifier of a settlement.

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

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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,79838,EUR,179000,-17000,-900,-1224,-3000,40,-76050,0,-1028,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,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,CAPTURE_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,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,0,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,-1500,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,,-300,2000,,,,,,,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,CAPTURE_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,DISPUTE_FEE,2024-09-10T18:21:25.000Z,-1500,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:payment:eu1:dispute:faulty-goods:53633,,-300,2000,,,,,,,7011
FEE_CORRECTION,CORRECTION_CAPTURE_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,CAPTURE_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,CAPTURE_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,CAPTURE_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,CAPTURE_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,CAPTURE_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
Ratelimit Category: The Ratelimit Category. Operations needed for processing of settlements.Settlements Processing

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId) [ 1 .. 255 ] characters

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 non-empty

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 non-empty

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
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. Operations needed for processing of settlements.Settlements Processing

Securityklarna_api_key
Request
path Parameters
settlement_id
required
string (SettlementId) [ 1 .. 255 ] characters

The unique identifier of a settlement.

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

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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:113574395:payouts:1",
  • "paid_out_at": "2024-01-01T12:00:00Z",
  • "payout_amount": 599,
  • "currency": "USD",
  • "status": "PROCESSED",
  • "payment_reference": "113574395"
}

User Access

The User Access API allows the authenticated Partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

Request Body schema: application/json
required
jwt
required
string >= 0 characters

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: Partner 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: Partner 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 partner 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
Ratelimit Category: The Ratelimit Category. Operations used to manage partner accounts and additional partner operations that are not related to onboarding.Partner Management

Securityklarna_api_key
Request
query Parameters
account_id
string (PartnerAccountIdentifier) non-empty

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

Example: account_id=krn:partner:global:account:live:LWT2XJSE
validation-info: The identifier must exist within Klarna's systems and be accessible with the credentials being used.
principal
string >= 0 characters

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

Examples:
principal=krn:network:eu1:live:portal:user:b0ac4fb5-2975-4417-ae76-f2ac86fb6c6d
principal=john.doe@example.com
header Parameters
object

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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 partner accounts.

Get all decisions for a partner account

Get all decisions for a partner 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
Ratelimit Category: The Ratelimit Category. compliance

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

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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
Ratelimit Category: The Ratelimit Category. compliance

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

Metadata about the integrator and originators of the request, serialized as a valid JSON, to improve troubleshooting. Read more here

Example: integration_metadata=[object Object]
Partner-Correlation-Id
string <= 255 characters ^[A-Za-z0-9]+$

An optional alpha numerical String that the partner can use to correlate. This value will be returned in the response.

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"
}