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.
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": "krn:partner:us1:live:identity:customer-token:v1:vVQGmYzlfsQ16dko3jcwY5lV8hBgKs9a.96e12495afdc88be3c407087076deabcf50f626242f97c0169779fac4a9acc8f"
}
{- "status": "ACTIVE",
- "scopes": [
- "payment:customer_present",
- "customer:login"
], - "issued_at": 1723791546323,
- "customer_token_id": "krn:partner:us1:live:identity:customer-token-id:vVQGmYzlfsQ16dko3jcwY5lV8hBgKs9a",
- "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.
CustomerToken (string) or PurchaseTokenId (string) |
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.
{- "customer_token": "krn:partner:us1:live:identity:customer-token:v1:vVQGmYzlfsQ16dko3jcwY5lV8hBgKs9a.96e12495afdc88be3c407087076deabcf50f626242f97c0169779fac4a9acc8f"
}
{- "customer_token_id": "krn:partner:us1:live:identity:customer-token-id:vVQGmYzlfsQ16dko3jcwY5lV8hBgKs9a",
- "customer_token_reference": "partner_customer_token_1234"
}