Klarna Docs - Read the Klarna Payments Session

Read the Klarna Payments Session

You can read the Klarna Payments session at any time after it has been created, to get information about it

If you want to get information about the details of a specific session, you can do this by reading the session. This will return all data that has been collected during the session. Reading a session is done by making a server-side GET call to read session.

NOTE: We will only display consumer details after the session has been authorized.

HTTP
Path: GET /payments/v1/sessions/{session_id}

Headers:
Content-Type: application/json
Empty body request
JSON
Description:
successful operation

Headers:
Status Code: 200
Content-Type: application/json

{
    "billing_address": {
        "attention": "string",
JSON
{
    "correlation_id": "6a9b1cb1-73a3-4936-a030-481ba4bb203b",
    "error_code": "ERROR_CODE",
    "error_messages": [
        "ERROR_MESSAGE"
    ]
}

Best practice: You can use the correlation_id to troubleshoot the call in the logs app in merchant portal.

Error CodeError messageComment
NOT_FOUNDInvalid session idThe session you attempted to update is not valid anymore. Or the ID is incorrectly formatted.