Klarna Partner Product API - Identity (release/3)

Download OpenAPI specification:Download

Authentication

klarna_api_key

Use the Klarna API key as HTTP Basic Authentication credentials

Security Scheme Type API Key
Header parameter name: Authorization

Customer Account Query API

The Customer Account Query API allows you to determine if a customer already has a Klarna account based on the customer's phone number/email address.

Determine whether the customer already has a Klarna account.

Determine whether the customer already has a Klarna account.

Request
Security:
path Parameters
account_id
required
string (AccountIdentifier)

The unique identifier of the account for which the action is performed.

Example: krn:partner:global:account:live:LWT2XJSE
Request Body schema: application/json
Any of:
email
required
string <email> (Email) (?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#...

E-mail address

phone
string (PhoneLocal) <= 99 characters ^(?=.*\d)[+\d\s().-]{1,99}$

Phone number in local format

Responses
200

Successful response

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.

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.

post/v1/accounts/{account_id}/identity/customer-exists
Request samples
application/json

Check if a customer exists using a phone number

{
  • "phone": "+18445527621"
}
Response samples
application/json
{
  • "exists": true
}