Download OpenAPI specification:Download
Determine if a customer already has a Klarna account based on the customer's phone number/email address.
Successful response
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Forbidden, insufficient privileges to perform the requested operation on the resource.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
Service Temporarily Unavailable, the system is temporarily unavailable to process the request.
Check if a customer exists using a phone number
{- "phone": "+18445527621"
}
{- "exists": true
}
Introspect a customer token issued in the account linking flow to obtain more information regarding the token.
Successful response
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized, the request was not authorized.
Unauthorized access to the resource customer token.
Resource customer token does not exist.
Resource customer token has been revoked.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
Service Temporarily Unavailable, the system is temporarily unavailable to process the request.
{- "status": "ACTIVE",
- "scopes": [
- "payment:customer_present",
- "customer:login"
], - "issued_at": 1723791546323,
- "customer_token_reference": "partner_customer_token_1234"
}
Revoke a customer token issued in the account linking flow, so that any subsequent payment requests using the token are rejected.
Successful response
Bad Request, there was an error in the input of the request. The request can not be retried without modifications.
Unauthorized access to the resource customer token.
Resource customer token does not exist.
Resource customer token has been revoked.
Too Many Requests, the request was rate limited.
Internal Server Error, there was an unexpected error in the API.
Service Temporarily Unavailable, the system is temporarily unavailable to process the request.
{- "customer_token_reference": "partner_customer_token_1234"
}